rpms/plague/devel plague-0.4-daemonize.patch, NONE, 1.1 plague.spec, 1.27, 1.28 needs.rebuild, 1.1, NONE

Dennis Gilmore (ausil) fedora-extras-commits at redhat.com
Thu Sep 14 16:13:05 UTC 2006


Author: ausil

Update of /cvs/extras/rpms/plague/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv5887

Modified Files:
	plague.spec 
Added Files:
	plague-0.4-daemonize.patch 
Removed Files:
	needs.rebuild 
Log Message:
add patch for umask issue


plague-0.4-daemonize.patch:

--- NEW FILE plague-0.4-daemonize.patch ---
--- common/daemonize.py.orig	2006-09-14 09:42:31.000000000 -0500
+++ common/daemonize.py	2006-09-14 09:41:34.000000000 -0500
@@ -69,7 +69,7 @@
          # to do this could make a filesystem unmountable.
          os.chdir("/")
          # Give the child complete control over permissions.
-         os.umask(0)
+         os.umask(0002)
       else:
          os._exit(0)      # Exit parent (the first child) of the second child.
    else:


Index: plague.spec
===================================================================
RCS file: /cvs/extras/rpms/plague/devel/plague.spec,v
retrieving revision 1.27
retrieving revision 1.28
diff -u -r1.27 -r1.28
--- plague.spec	13 Mar 2006 15:30:00 -0000	1.27
+++ plague.spec	14 Sep 2006 16:13:05 -0000	1.28
@@ -3,7 +3,7 @@
 Summary: Distributed build system for RPMs
 Name: plague
 Version: 0.4.4.1
-Release: 1%{?dist}
+Release: 2%{?dist}
 License: GPL
 Group: Development/Tools
 Source: http://fedoraproject.org/projects/plague/releases/%{name}-%{version}.tar.bz2
@@ -16,6 +16,7 @@
 Requires(preun): /sbin/chkconfig
 Requires(preun): /sbin/service
 
+Patch0: plague-0.4-daemonize.patch
 %description
 The Plague build system is a client/server distributed build system for
 building RPM packages.  This package provides the plague server.
@@ -65,6 +66,7 @@
 
 %prep
 %setup -q
+%patch0 -p0 -b .umask
 
 %build
 make
@@ -145,6 +147,9 @@
 
 
 %changelog
+* Thu Sep 14 2006 Dennis Gilmore <dennis at ausil.us> 0.4.4.0-2
+- add patch  for bad umask setting
+
 * Mon Mar 13 2006 Dan Williams <dcbw at redhat.com> 0.4.4.1-1
 - Update to 0.4.4.1
 - Fix createrepo dep to >= 0.4.3 (#rh170531)


--- needs.rebuild DELETED ---




More information about the scm-commits mailing list