Switch to %ldconfig_scriptlets

Signed-off-by: Igor Gnatenko <ignatenkobrain@fedoraproject.org>
This commit is contained in:
Igor Gnatenko 2018-02-03 12:46:10 +01:00
parent 3600750a8f
commit df78d98032
No known key found for this signature in database
GPG Key ID: 695714BD1BBC5F4C
1 changed files with 5 additions and 4 deletions

View File

@ -9,7 +9,7 @@
Name: tinyxml2
Version: 6.0.0
Release: 1%{?dist}
Release: 2%{?dist}
Summary: Simple, small and efficient C++ XML parser
Group: Development/Libraries
@ -84,9 +84,7 @@ make install DESTDIR=%{buildroot}
%clean
rm -rf %{buildroot}
%post -p /sbin/ldconfig
%postun -p /sbin/ldconfig
%ldconfig_scriptlets
%files
%doc readme.md
@ -103,6 +101,9 @@ rm -rf %{buildroot}
%changelog
* Sat Feb 03 2018 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 6.0.0-2
- Switch to %%ldconfig_scriptlets
* Mon Jan 22 2018 François Cami <fcami@fedoraproject.org> - 6.0.0-1
- Update to latest upstream (rhbz#1357711)