diff --git a/epson-inkjet-printer-escpr.changes b/epson-inkjet-printer-escpr.changes index 8816726..7d446cf 100644 --- a/epson-inkjet-printer-escpr.changes +++ b/epson-inkjet-printer-escpr.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Fri Jul 29 15:58:36 UTC 2016 - jengelh@inai.de + +- Avoid invocation of sh for simple ldconfig calls + ------------------------------------------------------------------- Tue Jul 19 13:38:46 CEST 2016 - jsmeix@suse.de diff --git a/epson-inkjet-printer-escpr.spec b/epson-inkjet-printer-escpr.spec index 2751cb4..eb4c8cb 100644 --- a/epson-inkjet-printer-escpr.spec +++ b/epson-inkjet-printer-escpr.spec @@ -53,13 +53,10 @@ Group: Hardware/Printing Source0: epson-inkjet-printer-escpr-%{version}-1lsb3.2.tar.gz # This software is a filter program used with CUPS: Requires: cups -# Prerequire /sbin/ldconfig which is used in the traditional bash scriptlets for post/postun: -PreReq: /sbin/ldconfig # Install into this non-root directory (required when norootforbuild is used): BuildRoot: %{_tmppath}/%{name}-%{version}-build %description - The ESC/P-R driver works as a filter program used with CUPS. @@ -128,13 +125,8 @@ done set -x popd -%post -/sbin/ldconfig -exit 0 - -%postun -/sbin/ldconfig -exit 0 +%post -p /sbin/ldconfig +%postun -p /sbin/ldconfig %files # The files sections list all mandatory files explicitly one by one.