Switch to %ldconfig_scriptlets
Signed-off-by: Igor Gnatenko <ignatenkobrain@fedoraproject.org>
This commit is contained in:
parent
c3b249ff3a
commit
061ff879aa
@ -1,6 +1,6 @@
|
|||||||
Name: twolame
|
Name: twolame
|
||||||
Version: 0.3.13
|
Version: 0.3.13
|
||||||
Release: 9%{?dist}
|
Release: 10%{?dist}
|
||||||
Summary: Optimized MPEG Audio Layer 2 encoding library based on tooLAME
|
Summary: Optimized MPEG Audio Layer 2 encoding library based on tooLAME
|
||||||
# build-scripts/install-sh is MIT/X11, build-scripts/{libtool.m4, ltmain.sh} are GPLv2+
|
# build-scripts/install-sh is MIT/X11, build-scripts/{libtool.m4, ltmain.sh} are GPLv2+
|
||||||
License: LGPLv2+
|
License: LGPLv2+
|
||||||
@ -63,9 +63,7 @@ sed -i.rpath 's|^runpath_var=LD_RUN_PATH|runpath_var=DIE_RPATH_DIE|g' libtool
|
|||||||
rm %{buildroot}%{_libdir}/*.la
|
rm %{buildroot}%{_libdir}/*.la
|
||||||
rm -rf %{buildroot}%{_docdir}
|
rm -rf %{buildroot}%{_docdir}
|
||||||
|
|
||||||
%post libs -p /sbin/ldconfig
|
%ldconfig_scriptlets libs
|
||||||
|
|
||||||
%postun libs -p /sbin/ldconfig
|
|
||||||
|
|
||||||
%files
|
%files
|
||||||
%doc AUTHORS ChangeLog README TODO
|
%doc AUTHORS ChangeLog README TODO
|
||||||
@ -83,6 +81,9 @@ rm -rf %{buildroot}%{_docdir}
|
|||||||
%{_includedir}/%{name}.h
|
%{_includedir}/%{name}.h
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Mon Feb 05 2018 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 0.3.13-10
|
||||||
|
- Switch to %%ldconfig_scriptlets
|
||||||
|
|
||||||
* Tue Jan 16 2018 Zamir SUN <sztsian@gmail.com> - 0.3.13-9
|
* Tue Jan 16 2018 Zamir SUN <sztsian@gmail.com> - 0.3.13-9
|
||||||
- Build for Fedora
|
- Build for Fedora
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user