Accepting request 415919 from home:jengelh:branches:Printing

- Avoid invocation of sh for simple ldconfig calls

OBS-URL: https://build.opensuse.org/request/show/415919
OBS-URL: https://build.opensuse.org/package/show/Printing/epson-inkjet-printer-escpr?expand=0&rev=26
This commit is contained in:
Johannes Meixner 2016-08-01 08:02:03 +00:00 committed by Git OBS Bridge
parent 9db6221eb8
commit 4c70bcc1e8
2 changed files with 7 additions and 10 deletions

View File

@ -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

View File

@ -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.