rpms/gutenprint/F-7 gutenprint-selinux.patch, NONE, 1.1 gutenprint.spec, 1.27, 1.28
Tim Waugh (twaugh)
fedora-extras-commits at redhat.com
Fri Jun 29 11:23:33 UTC 2007
- Previous message (by thread): rpms/xterm/F-7 .cvsignore, 1.20, 1.21 sources, 1.20, 1.21 xterm.spec, 1.57, 1.58
- Next message (by thread): rpms/perl-Test-MockObject/devel .cvsignore, 1.10, 1.11 perl-Test-MockObject.spec, 1.14, 1.15 sources, 1.10, 1.11
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Author: twaugh
Update of /cvs/pkgs/rpms/gutenprint/F-7
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv20937
Modified Files:
gutenprint.spec
Added Files:
gutenprint-selinux.patch
Log Message:
* Fri Jun 29 2007 Tim Waugh <twaugh at redhat.com> 5.0.1-2
- Don't change SELinux file context of installed PPDs (bug #246067).
gutenprint-selinux.patch:
--- NEW FILE gutenprint-selinux.patch ---
--- gutenprint-5.0.1/src/cups/cups-genppdupdate.in.selinux 2007-06-29 11:33:16.000000000 +0100
+++ gutenprint-5.0.1/src/cups/cups-genppdupdate.in 2007-06-29 11:42:38.000000000 +0100
@@ -532,6 +532,11 @@
return 0;
}
+ # Copy SELinux file context from original file (bug #246067).
+ $ENV{'REF'} = $ppd_dest_filename;
+ $ENV{'FILE'} = $tmpnew;
+ system( "chcon --reference=\"\$REF\" \"\$FILE\" || :" );
+
if (! rename $tmpnew, $ppd_dest_filename) {
warn "Can't rename $tmpnew to $ppd_dest_filename: $!\n";
unlink $tmpnew;
Index: gutenprint.spec
===================================================================
RCS file: /cvs/pkgs/rpms/gutenprint/F-7/gutenprint.spec,v
retrieving revision 1.27
retrieving revision 1.28
diff -u -r1.27 -r1.28
--- gutenprint.spec 26 Jun 2007 17:18:40 -0000 1.27
+++ gutenprint.spec 29 Jun 2007 11:22:57 -0000 1.28
@@ -4,13 +4,14 @@
Name: gutenprint
Summary: Printer Drivers Package
Version: 5.0.1
-Release: 1%{?dist}
+Release: 2%{?dist}
Group: System Environment/Base
URL: http://gimp-print.sourceforge.net/
Source0: http://dl.sf.net/gimp-print/gutenprint-%{version}.tar.bz2
Patch0: gutenprint-menu.patch
Patch1: gutenprint-lpstat.patch
Patch2: gutenprint-O6.patch
+Patch3: gutenprint-selinux.patch
License: GPL
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildRequires: cups-libs >= 1.1.22-0.rc1.9.10, cups >= 1.1.22-0.rc1.9.10
@@ -125,6 +126,7 @@
%patch0 -p1 -b .menu
%patch1 -p1 -b .lpstat
%patch2 -p1 -b .O6
+%patch3 -p1 -b .selinux
%build
%ifarch ppc64
@@ -235,6 +237,9 @@
/bin/rm -f /var/cache/foomatic/*
%changelog
+* Fri Jun 29 2007 Tim Waugh <twaugh at redhat.com> 5.0.1-2
+- Don't change SELinux file context of installed PPDs (bug #246067).
+
* Tue Jun 26 2007 Tim Waugh <twaugh at redhat.com> 5.0.1-1
- 5.0.1.
- Previous message (by thread): rpms/xterm/F-7 .cvsignore, 1.20, 1.21 sources, 1.20, 1.21 xterm.spec, 1.57, 1.58
- Next message (by thread): rpms/perl-Test-MockObject/devel .cvsignore, 1.10, 1.11 perl-Test-MockObject.spec, 1.14, 1.15 sources, 1.10, 1.11
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the fedora-extras-commits
mailing list