Switch to %ldconfig_scriptlets

Signed-off-by: Igor Gnatenko <ignatenkobrain@fedoraproject.org>
This commit is contained in:
Igor Gnatenko 2018-02-03 17:53:39 +01:00
parent c5b9b70242
commit 656f95b4e0
No known key found for this signature in database
GPG Key ID: 695714BD1BBC5F4C

View File

@ -1,6 +1,6 @@
Name: libaec
Version: 1.0.2
Release: 1%{?dist}
Release: 2%{?dist}
Summary: Adaptive Entropy Coding library
License: BSD
Url: https://gitlab.dkrz.de/k202009/libaec
@ -48,8 +48,7 @@ popd
#test data missing in tarball for check_szcomp and sampledata.sh
make -C build test ARGS="-E \(check_szcomp\|sampledata.sh\)"
%post -p /sbin/ldconfig
%postun -p /sbin/ldconfig
%ldconfig_scriptlets
%files
%doc README.md README.SZIP CHANGELOG.md
@ -63,6 +62,9 @@ make -C build test ARGS="-E \(check_szcomp\|sampledata.sh\)"
%{_libdir}/lib*.so
%changelog
* Sat Feb 03 2018 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 1.0.2-2
- Switch to %%ldconfig_scriptlets
* Tue Oct 24 2017 Christoph Junghans <junghans@votca.org> - 1.0.2-1
- Version bump to 1.0.2 (#1504372)