SHA256
1
0
forked from pool/aws-c-auth

- fix packaging shlib naming

OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/aws-c-auth?expand=0&rev=21
This commit is contained in:
Dirk Mueller 2024-01-27 16:37:51 +00:00 committed by Git OBS Bridge
parent fccfa15bbc
commit 16ed4612a6
3 changed files with 11 additions and 6 deletions

View File

@ -1 +0,0 @@
addFilter('shlib-policy-name-error.*libaws-c-auth.so.1.0.0')

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Sat Jan 27 16:37:26 UTC 2024 - Dirk Müller <dmueller@suse.com>
- fix packaging shlib naming
------------------------------------------------------------------- -------------------------------------------------------------------
Fri Jan 26 11:48:06 UTC 2024 - John Paul Adrian Glaubitz <adrian.glaubitz@suse.com> Fri Jan 26 11:48:06 UTC 2024 - John Paul Adrian Glaubitz <adrian.glaubitz@suse.com>

View File

@ -17,6 +17,7 @@
%define library_version 1.0.0 %define library_version 1.0.0
%define library_pkg 1_0_0
%define library_soversion 1 %define library_soversion 1
Name: aws-c-auth Name: aws-c-auth
Version: 0.7.14 Version: 0.7.14
@ -47,11 +48,11 @@ credentials providers and signing.
From a cryptographic perspective, only functions with the suffix "_constant_time" From a cryptographic perspective, only functions with the suffix "_constant_time"
should be considered 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 Summary: Shared library files for aws-c-auth library
Group: Development/Libraries/C and C++ 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: AWS C99 library implementation of AWS client-side authentication:
standard credentials providers and signing. standard credentials providers and signing.
@ -88,10 +89,10 @@ This package contains the development files.
%cmake_install %cmake_install
ln -s lib%{name}.so.%{library_version} %{buildroot}%{_libdir}/lib%{name}.so.%{library_soversion} ln -s lib%{name}.so.%{library_version} %{buildroot}%{_libdir}/lib%{name}.so.%{library_soversion}
%post -n lib%{name}%{library_soversion} -p /sbin/ldconfig %post -n lib%{name}%{library_pkg} -p /sbin/ldconfig
%postun -n lib%{name}%{library_soversion} -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 %doc README.md
%license LICENSE %license LICENSE
%{_libdir}/*.so.%{library_soversion} %{_libdir}/*.so.%{library_soversion}