summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorjwijenbergh <jeroenwijenbergh@protonmail.com>2022-07-08 16:03:50 +0200
committerjwijenbergh <jeroenwijenbergh@protonmail.com>2022-07-08 16:03:50 +0200
commita6cba736913dd78a8ac6907e0b0572cf90aee866 (patch)
tree71209a03c7fddc268ed412c8d851a64d625bc520 /Makefile
parent65dffc1f09af640417727d5d346e08edc6c2772e (diff)
RPM & Setup: Separate eduVPN and common name with a - or _
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile8
1 files changed, 4 insertions, 4 deletions
diff --git a/Makefile b/Makefile
index cc6afcc..1da08f0 100644
--- a/Makefile
+++ b/Makefile
@@ -35,10 +35,10 @@ srpm:
rm -rf dist/*
# Archive code with vendored dependencies
- git clone . dist/libeduvpncommon-0.1.0
+ git clone . dist/libeduvpn-common-0.1.0
go mod vendor
- cp -r vendor dist/libeduvpncommon-0.1.0/vendor
- tar -zcvf ~/rpmbuild/SOURCES/libeduvpncommon.tar.gz -C dist .
+ cp -r vendor dist/libeduvpn-common-0.1.0/vendor
+ tar -zcvf ~/rpmbuild/SOURCES/libeduvpn-common.tar.gz -C dist .
# Cleanup
rm -rf dist/*
@@ -54,7 +54,7 @@ rpm: srpm
echo "Done building RPM, go to ./dist/ to view them"
rpm-mock: srpm
- mock -r "$(MOCK_TARGET)" --resultdir ./dist rebuild ~/rpmbuild/SRPMS/libeduvpncommon*.src.rpm
+ mock -r "$(MOCK_TARGET)" --resultdir ./dist rebuild ~/rpmbuild/SRPMS/libeduvpn-common*.src.rpm
echo "Done building RPM, go to ./dist/ to view them"
# Enable parallelism if -j is specified, but first execute build