Switch to %ldconfig_scriptlets

Signed-off-by: Igor Gnatenko <ignatenkobrain@fedoraproject.org>
This commit is contained in:
Igor Gnatenko 2018-02-03 12:50:32 +01:00
parent e803c15cb2
commit c0c889a167
No known key found for this signature in database
GPG Key ID: 695714BD1BBC5F4C

View File

@ -1,6 +1,6 @@
Name: npth Name: npth
Version: 1.5 Version: 1.5
Release: 3%{?dist} Release: 4%{?dist}
Summary: The New GNU Portable Threads library Summary: The New GNU Portable Threads library
License: LGPLv2+ License: LGPLv2+
URL: http://git.gnupg.org/cgi-bin/gitweb.cgi?p=npth.git URL: http://git.gnupg.org/cgi-bin/gitweb.cgi?p=npth.git
@ -45,8 +45,7 @@ find %{buildroot} -name '*.la' -delete -print
%check %check
make check make check
%post -p /sbin/ldconfig %ldconfig_scriptlets
%postun -p /sbin/ldconfig
%files %files
%license COPYING.LIB %license COPYING.LIB
@ -61,6 +60,9 @@ make check
%{_datadir}/aclocal/%{name}.m4 %{_datadir}/aclocal/%{name}.m4
%changelog %changelog
* Sat Feb 03 2018 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 1.5-4
- Switch to %%ldconfig_scriptlets
* Thu Aug 03 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.5-3 * Thu Aug 03 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.5-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild