Hello community,
here is the log from the commit of package epson-inkjet-printer-escpr for
openSUSE:Factory checked in at 2016-08-12 15:43:02
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/epson-inkjet-printer-escpr (Old)
and /work/SRC/openSUSE:Factory/.epson-inkjet-printer-escpr.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "epson-inkjet-printer-escpr"
Changes:
--------
---
/work/SRC/openSUSE:Factory/epson-inkjet-printer-escpr/epson-inkjet-printer-escpr.changes
2016-08-03 11:43:15.000000000 +0200
+++
/work/SRC/openSUSE:Factory/.epson-inkjet-printer-escpr.new/epson-inkjet-printer-escpr.changes
2016-08-12 15:43:04.000000000 +0200
@@ -1,0 +2,5 @@
+Fri Jul 29 15:58:36 UTC 2016 - [email protected]
+
+- Avoid invocation of sh for simple ldconfig calls
+
+-------------------------------------------------------------------
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ epson-inkjet-printer-escpr.spec ++++++
--- /var/tmp/diff_new_pack.mhkLIE/_old 2016-08-12 15:43:06.000000000 +0200
+++ /var/tmp/diff_new_pack.mhkLIE/_new 2016-08-12 15:43:06.000000000 +0200
@@ -53,13 +53,10 @@
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 @@
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.