[packages/cups-filters] do not own banners directory (already contained in main cups package)

gotar gotar at pld-linux.org
Mon May 4 02:58:25 CEST 2015


commit 57845ec9bcc66942b07b5614e8bb7754735dcc6d
Author: Tomasz Pala <gotar at pld-linux.org>
Date:   Mon May 4 02:57:34 2015 +0200

    do not own banners directory (already contained in main cups package)

 cups-filters.spec | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/cups-filters.spec b/cups-filters.spec
index 98d3d80..fb23ee5 100644
--- a/cups-filters.spec
+++ b/cups-filters.spec
@@ -295,7 +295,7 @@ rm -rf $RPM_BUILD_ROOT
 %postun	libs -p /sbin/ldconfig
 
 %post -n cups-browsed
-if [ $1 -eq 1 ] ; then
+if [ "$1" = "1" ]; then
 	# We can remove this after few releases, it's just for the introduction of cups-browsed.
 	if [ -f %{_sysconfdir}/cups/cups-browsed.conf ]; then
 		echo -e "\n# NOTE: This file is not part of CUPS. You need to start & enable cups-browsed service." >>%{_sysconfdir}/cups/cups-browsed.conf
@@ -352,7 +352,7 @@ fi
 %attr(755,root,root) %{_cups_serverbin}/filter/texttopdf
 %attr(755,root,root) %{_cups_serverbin}/filter/texttops
 %attr(755,root,root) %{_cups_serverbin}/filter/urftopdf
-%{_datadir}/cups/banners
+%{_datadir}/cups/banners/*
 %{_datadir}/cups/charsets
 %{_datadir}/cups/data/classified.pdf
 %{_datadir}/cups/data/confidential.pdf
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/cups-filters.git/commitdiff/57845ec9bcc66942b07b5614e8bb7754735dcc6d



More information about the pld-cvs-commit mailing list