From c5e85ba79d4d091af9873f1fb0e7415c3b17b9f8 Mon Sep 17 00:00:00 2001 From: jwijenbergh Date: Fri, 12 Aug 2022 16:25:33 +0200 Subject: Spec: Fix library names Using name variable would result in using libeduvpn-common postfix instead of eduvpn-common --- eduvpncommon.spec | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'eduvpncommon.spec') 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}* -- cgit v1.2.3