Update scriptlets and buildroot macro

el8
leigh123linux 6 years ago
parent 11664d1954
commit d0e14198b5

@ -118,9 +118,9 @@ done
%install %install
%make_install %make_install
rm -f $RPM_BUILD_ROOT{%{_infodir}/dir,%{_libdir}/lib*.la} rm -f %buildroot{%{_infodir}/dir,%{_libdir}/lib*.la}
# too broken/outdated to be useful in 1.[89].0 (and would come with dep chain) # too broken/outdated to be useful in 1.[89].0 (and would come with dep chain)
rm $RPM_BUILD_ROOT%{_bindir}/mpegtranscode rm %buildroot%{_bindir}/mpegtranscode
%post %post
@ -130,13 +130,9 @@ rm $RPM_BUILD_ROOT%{_bindir}/mpegtranscode
[ $1 -eq 0 ] && \ [ $1 -eq 0 ] && \
/sbin/install-info --delete %{_infodir}/mjpeg-howto.info %{_infodir}/dir || : /sbin/install-info --delete %{_infodir}/mjpeg-howto.info %{_infodir}/dir || :
%post libs -p /sbin/ldconfig %ldconfig_scriptlets libs
%postun libs -p /sbin/ldconfig %ldconfig_scriptlets lav
%post lav -p /sbin/ldconfig
%postun lav -p /sbin/ldconfig
%files %files

Loading…
Cancel
Save