From 2c62e9f307a0852af0d452cd3fa2a7f9d0f4c349bad603b0be19c9bf46f060ae Mon Sep 17 00:00:00 2001 From: Johannes Meixner Date: Tue, 4 Oct 2011 09:43:44 +0000 Subject: [PATCH] with an "exit 0" line at the end would be more fail safe but using "-p /sbin/ldconfig" is requested to get the package accepted for openSUSE:Factory (a.k.a. openSUSE 12.1). OBS-URL: https://build.opensuse.org/package/show/Printing/epson-inkjet-printer-escpr?expand=0&rev=4 --- epson-inkjet-printer-escpr.changes | 4 +++- epson-inkjet-printer-escpr.spec | 2 -- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/epson-inkjet-printer-escpr.changes b/epson-inkjet-printer-escpr.changes index 38ae0bb..ac22459 100644 --- a/epson-inkjet-printer-escpr.changes +++ b/epson-inkjet-printer-escpr.changes @@ -13,7 +13,9 @@ Tue Oct 4 09:55:34 CEST 2011 - jsmeix@suse.de with an "/sbin/ldconfig: relative path ... used to build cache" which lets package build fail during "removing all built rpms". Therefore traditional bash scriptlets for post/postun - with an "exit 0" line at the end would be more fail safe. + with an "exit 0" line at the end would be more fail safe + but using "-p /sbin/ldconfig" is requested to get the package + accepted for openSUSE:Factory (a.k.a. openSUSE 12.1). ------------------------------------------------------------------- Tue Sep 27 11:32:17 CEST 2011 - jsmeix@suse.de diff --git a/epson-inkjet-printer-escpr.spec b/epson-inkjet-printer-escpr.spec index 70e4089..b760ee4 100644 --- a/epson-inkjet-printer-escpr.spec +++ b/epson-inkjet-printer-escpr.spec @@ -112,10 +112,8 @@ done set -x popd -# The post section: %post -p /sbin/ldconfig -# The postun section: %postun -p /sbin/ldconfig %files