diff --git a/aws-c-auth-rpmlintrc b/aws-c-auth-rpmlintrc deleted file mode 100644 index f9e25e5..0000000 --- a/aws-c-auth-rpmlintrc +++ /dev/null @@ -1 +0,0 @@ -addFilter('shlib-policy-name-error.*libaws-c-auth.so.1.0.0') diff --git a/aws-c-auth.changes b/aws-c-auth.changes index 22e4abe..902442d 100644 --- a/aws-c-auth.changes +++ b/aws-c-auth.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Sat Jan 27 16:37:26 UTC 2024 - Dirk Müller + +- fix packaging shlib naming + ------------------------------------------------------------------- Fri Jan 26 11:48:06 UTC 2024 - John Paul Adrian Glaubitz diff --git a/aws-c-auth.spec b/aws-c-auth.spec index 31eedbf..64804b3 100644 --- a/aws-c-auth.spec +++ b/aws-c-auth.spec @@ -17,6 +17,7 @@ %define library_version 1.0.0 +%define library_pkg 1_0_0 %define library_soversion 1 Name: aws-c-auth Version: 0.7.14 @@ -47,11 +48,11 @@ credentials providers and signing. From a cryptographic perspective, only functions with the suffix "_constant_time" should be considered constant time. -%package -n lib%{name}%{library_soversion} +%package -n lib%{name}%{library_pkg} Summary: Shared library files for aws-c-auth library Group: Development/Libraries/C and C++ -%description -n lib%{name}%{library_soversion} +%description -n lib%{name}%{library_pkg} AWS C99 library implementation of AWS client-side authentication: standard credentials providers and signing. @@ -88,10 +89,10 @@ This package contains the development files. %cmake_install ln -s lib%{name}.so.%{library_version} %{buildroot}%{_libdir}/lib%{name}.so.%{library_soversion} -%post -n lib%{name}%{library_soversion} -p /sbin/ldconfig -%postun -n lib%{name}%{library_soversion} -p /sbin/ldconfig +%post -n lib%{name}%{library_pkg} -p /sbin/ldconfig +%postun -n lib%{name}%{library_pkg} -p /sbin/ldconfig -%files -n lib%{name}%{library_soversion} +%files -n lib%{name}%{library_pkg} %doc README.md %license LICENSE %{_libdir}/*.so.%{library_soversion}