Switch to %ldconfig_scriptlets
Signed-off-by: Igor Gnatenko <ignatenkobrain@fedoraproject.org>
This commit is contained in:
parent
c062ce6024
commit
f139ea8f57
14
libwmf.spec
14
libwmf.spec
@ -1,7 +1,7 @@
|
||||
Summary: Windows MetaFile Library
|
||||
Name: libwmf
|
||||
Version: 0.2.9
|
||||
Release: 3%{?dist}
|
||||
Release: 4%{?dist}
|
||||
Group: System Environment/Libraries
|
||||
#libwmf is under the LGPLv2+, however...
|
||||
#1. The tarball contains an old version of the urw-fonts under GPL+.
|
||||
@ -65,13 +65,8 @@ rm -rf $RPM_BUILD_ROOT%{_datadir}/libwmf/fonts/*afm
|
||||
rm -rf $RPM_BUILD_ROOT%{_datadir}/libwmf/fonts/*t1
|
||||
sed -i $RPM_BUILD_ROOT%{_datadir}/libwmf/fonts/fontmap -e 's#libwmf/fonts#fonts/urw-base35#g'
|
||||
|
||||
%post -p /sbin/ldconfig
|
||||
|
||||
%post lite -p /sbin/ldconfig
|
||||
|
||||
%postun -p /sbin/ldconfig
|
||||
|
||||
%postun lite -p /sbin/ldconfig
|
||||
%ldconfig_scriptlets
|
||||
%ldconfig_scriptlets lite
|
||||
|
||||
%files
|
||||
%{_libdir}/libwmf-*.so.*
|
||||
@ -101,6 +96,9 @@ sed -i $RPM_BUILD_ROOT%{_datadir}/libwmf/fonts/fontmap -e 's#libwmf/fonts#fonts/
|
||||
|
||||
|
||||
%changelog
|
||||
* Fri Aug 10 2018 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 0.2.9-4
|
||||
- Switch to %%ldconfig_scriptlets
|
||||
|
||||
* Fri Aug 10 2018 Caolán McNamara <caolanm@redhat.com> - 0.2.9-3
|
||||
- Related: rhbz#1602602 fix more clang warnings
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user