diff options
| author | jwijenbergh <jeroenwijenbergh@protonmail.com> | 2022-08-12 16:25:33 +0200 |
|---|---|---|
| committer | jwijenbergh <jeroenwijenbergh@protonmail.com> | 2022-08-12 16:25:33 +0200 |
| commit | c5e85ba79d4d091af9873f1fb0e7415c3b17b9f8 (patch) | |
| tree | 722c4dd947894b8bb0583b29d4443e8c77bf8577 | |
| parent | c97d919628f2fe0f166bad8c4b44d24462e25b96 (diff) | |
Spec: Fix library names
Using name variable would result in using libeduvpn-common postfix
instead of eduvpn-common
| -rw-r--r-- | eduvpncommon.spec | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/eduvpncommon.spec b/eduvpncommon.spec index 064c587..40296cf 100644 --- a/eduvpncommon.spec +++ b/eduvpncommon.spec @@ -1,8 +1,8 @@ -%global name eduvpn-common +%global libname eduvpn-common %global modname eduvpn_common %global sum eduVPN common Go library -Name: lib%{name} +Name: lib%{libname} Version: 0.1.0 Release: 1%{?dist} Summary: %{sum} @@ -39,14 +39,14 @@ popd %prep %autosetup -n %{name}-%{version} -%package -n python3-%{name} +%package -n python3-%{libname} BuildArch: noarch Requires: %{name} Summary: Python3 eduvpncommon wrapper -%description -n python3-%{name} +%description -n python3-%{libname} The python wrapper for the eduVPN common Go shared library -%files -n python3-%{name} +%files -n python3-%{libname} %{python3_sitelib}/%{modname}/ %{python3_sitelib}/%{modname}-%{version}* |
