Accepting request 418285 from Printing

Automatic submission by obs-autosubmit

OBS-URL: https://build.opensuse.org/request/show/418285
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/epson-inkjet-printer-escpr?expand=0&rev=18
This commit is contained in:
Dominique Leuenberger 2016-08-12 13:43:02 +00:00 committed by Git OBS Bridge
commit f67309b9bf
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.