summaryrefslogtreecommitdiff
path: root/eduvpncommon.spec
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 /eduvpncommon.spec
parent65dffc1f09af640417727d5d346e08edc6c2772e (diff)
RPM & Setup: Separate eduVPN and common name with a - or _
Diffstat (limited to 'eduvpncommon.spec')
-rw-r--r--eduvpncommon.spec11
1 files changed, 6 insertions, 5 deletions
diff --git a/eduvpncommon.spec b/eduvpncommon.spec
index 26c5535..064c587 100644
--- a/eduvpncommon.spec
+++ b/eduvpncommon.spec
@@ -1,7 +1,8 @@
-%global modname eduvpncommon
+%global name eduvpn-common
+%global modname eduvpn_common
%global sum eduVPN common Go library
-Name: lib%{modname}
+Name: lib%{name}
Version: 0.1.0
Release: 1%{?dist}
Summary: %{sum}
@@ -38,14 +39,14 @@ popd
%prep
%autosetup -n %{name}-%{version}
-%package -n python3-%{modname}
+%package -n python3-%{name}
BuildArch: noarch
Requires: %{name}
Summary: Python3 eduvpncommon wrapper
-%description -n python3-%{modname}
+%description -n python3-%{name}
The python wrapper for the eduVPN common Go shared library
-%files -n python3-%{modname}
+%files -n python3-%{name}
%{python3_sitelib}/%{modname}/
%{python3_sitelib}/%{modname}-%{version}*