Switch to %ldconfig_scriptlets

Signed-off-by: Igor Gnatenko <ignatenkobrain@fedoraproject.org>
This commit is contained in:
Igor Gnatenko 2018-02-03 18:19:46 +01:00
parent b15f141dc1
commit 3d30122a96
No known key found for this signature in database
GPG Key ID: 695714BD1BBC5F4C

View File

@ -2,7 +2,7 @@
Summary: A garbage collector for C and C++
Name: gc
Version: 7.6.2
Release: 1%{?dist}
Release: 2%{?dist}
License: BSD
Url: http://www.hboehm.info/gc/
@ -79,8 +79,7 @@ rm -fv %{buildroot}%{_libdir}/lib*.la
make check %{?arch_ignore}
%endif
%post -p /sbin/ldconfig
%postun -p /sbin/ldconfig
%ldconfig_scriptlets
%files
%doc doc/README.environment doc/README.linux
@ -101,6 +100,9 @@ make check %{?arch_ignore}
%changelog
* Sat Feb 03 2018 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 7.6.2-2
- Switch to %%ldconfig_scriptlets
* Thu Jan 04 2018 Rex Dieter <rdieter@fedoraproject.org> - 7.6.2-1
- 7.6.2 (#1531008)