Switch to %ldconfig_scriptlets

Signed-off-by: Igor Gnatenko <ignatenkobrain@fedoraproject.org>
This commit is contained in:
Igor Gnatenko 2018-02-03 16:26:16 +01:00
parent e8ba2d4aa1
commit 2a9d12b453
No known key found for this signature in database
GPG Key ID: 695714BD1BBC5F4C

View File

@ -75,7 +75,7 @@ Summary: GNU Image Manipulation Program
Name: gimp
Epoch: 2
Version: 2.8.22
Release: %{?prerelprefix}4%{dotprerel}%{dotgitrev}%{?dist}
Release: %{?prerelprefix}4%{dotprerel}%{dotgitrev}%{?dist}.1
# Compute some version related macros.
# Ugly, need to get quoting percent signs straight.
@ -508,8 +508,7 @@ popd
%endif
make check
%post libs -p /sbin/ldconfig
%postun libs -p /sbin/ldconfig
%ldconfig_scriptlets libs
%files -f gimp.files
%license COPYING
@ -635,6 +634,9 @@ make check
%endif
%changelog
* Sat Feb 03 2018 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 2:2.8.22-4.1
- Switch to %%ldconfig_scriptlets
* Tue Jan 16 2018 Josef Ridky <jridky@redhat.com> - 2:2.8.22-4
- Fix dependencies for F28+ (ghostscript-devel => libgs-devel) #1534656
- Update spec file for F28+/RHEL purposes