From aa6e14997dee8de5ad1ec80269f95c5e6da9c299 Mon Sep 17 00:00:00 2001 From: Tim Waugh Date: Jan 15 2010 11:18:58 +0000 Subject: Add the 0755 patch. --- diff --git a/cups-0755.patch b/cups-0755.patch new file mode 100644 index 0000000..d81993e --- /dev/null +++ b/cups-0755.patch @@ -0,0 +1,20 @@ +diff -up cups-1.4.2/Makedefs.in.0755 cups-1.4.2/Makedefs.in +--- cups-1.4.2/Makedefs.in.0755 2010-01-13 17:06:48.507913044 +0000 ++++ cups-1.4.2/Makedefs.in 2010-01-13 17:07:10.049912905 +0000 +@@ -41,13 +41,13 @@ SHELL = /bin/sh + # Installation programs... + # + +-INSTALL_BIN = $(LIBTOOL) $(INSTALL) -c -m 555 @INSTALL_STRIP@ ++INSTALL_BIN = $(LIBTOOL) $(INSTALL) -c -m 755 @INSTALL_STRIP@ + INSTALL_CONFIG = $(INSTALL) -c -m @CUPS_CONFIG_FILE_PERM@ + INSTALL_DATA = $(INSTALL) -c -m 444 + INSTALL_DIR = $(INSTALL) -d +-INSTALL_LIB = $(LIBTOOL) $(INSTALL) -c -m 555 @INSTALL_STRIP@ ++INSTALL_LIB = $(LIBTOOL) $(INSTALL) -c -m 755 @INSTALL_STRIP@ + INSTALL_MAN = $(INSTALL) -c -m 444 +-INSTALL_SCRIPT = $(INSTALL) -c -m 555 ++INSTALL_SCRIPT = $(INSTALL) -c -m 755 + + # + # Default user, group, and system groups for the scheduler... diff --git a/cups.spec b/cups.spec index 3f4078c..5514c63 100644 --- a/cups.spec +++ b/cups.spec @@ -8,7 +8,7 @@ Summary: Common Unix Printing System Name: cups Version: 1.4.2 -Release: 22%{?dist} +Release: 23%{?dist} License: GPLv2 Group: System Environment/Daemons Source: http://ftp.easysw.com/pub/cups/%{version}/cups-%{version}-source.tar.bz2 @@ -556,7 +556,7 @@ rm -rf $RPM_BUILD_ROOT %{php_extdir}/phpcups.so %changelog -* Fri Jan 15 2010 Tim Waugh - 1:1.4.2-22 +* Fri Jan 15 2010 Tim Waugh - 1:1.4.2-23 - Don't mark initscript as config file. - Use %%{_initddir}, %%{_sysconfdir} and SMP make flags. - Use mode 0755 for binaries and libraries where appropriate.