Switch to %ldconfig_scriptlets

Signed-off-by: Igor Gnatenko <ignatenkobrain@fedoraproject.org>
This commit is contained in:
Igor Gnatenko 2018-02-05 13:34:07 +01:00
parent 49ce46c685
commit 9caf8b8517
No known key found for this signature in database
GPG Key ID: 695714BD1BBC5F4C

View File

@ -43,7 +43,7 @@
Name: ghostscript
Summary: Interpreter for PostScript language & PDF
Version: 9.22
Release: 7%{?dist}
Release: 8%{?dist}
License: AGPLv3+
@ -373,11 +373,7 @@ done
# === INSTALLATION INSTRUCTIONS ===============================================
%post -n libgs -p /sbin/ldconfig
%postun -n libgs -p /sbin/ldconfig
%post -n libgs-devel -p /sbin/ldconfig
%postun -n libgs-devel -p /sbin/ldconfig
%ldconfig_scriptlets -n libgs
# === PACKAGING INSTRUCTIONS ==================================================
@ -481,6 +477,9 @@ done
# =============================================================================
%changelog
* Mon Feb 05 2018 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 9.22-8
- Switch to %%ldconfig_scriptlets
* Mon Jan 22 2018 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 9.22-7
- Fix Obsoletes