/[smecontribs]/rpms/plague/contribs7/plague-0.4.4.1-srpm-umask.patch
ViewVC logotype

Contents of /rpms/plague/contribs7/plague-0.4.4.1-srpm-umask.patch

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph


Revision 1.2 - (show annotations) (download)
Mon Sep 8 14:04:49 2008 UTC (16 years, 2 months ago) by slords
Branch: MAIN
CVS Tags: HEAD
Changes since 1.1: +0 -0 lines
FILE REMOVED
Import of plague-0.4.5.4-1.el4.sme.1.src.rpm

1 diff -Nur plague-0.4.4.1-orig/server/PackageJob.py plague-0.4.4.1/server/PackageJob.py
2 --- plague-0.4.4.1-orig/server/PackageJob.py 2006-03-13 05:10:49.000000000 +0100
3 +++ plague-0.4.4.1/server/PackageJob.py 2007-11-13 17:54:19.000000000 +0100
4 @@ -299,7 +299,7 @@
5 env_args = "%s CVS_RSH='%s'" % (env_args, cvs_rsh)
6
7 # Checkout the module
8 - cmd = 'cd %s; %s %s co -r %s %s' % (self.checkout_tmpdir, env_args, CVS_CMD,
9 + cmd = 'umask 0022; cd %s; %s %s co -r %s %s' % (self.checkout_tmpdir, env_args, CVS_CMD,
10 self._source, self.package)
11 debugprint("%d: Running %s" % (self.uid, cmd))
12 s, o = commands.getstatusoutput(cmd)
13 @@ -340,7 +340,7 @@
14 msg = "Error: could not find checkout directory %s for %s. Sources probably don't exist for this target." % (srpm_dir, self._source)
15 raise PrepError(msg)
16
17 - cmd = 'cd %s; %s srpm' % (srpm_dir, MAKE_CMD)
18 + cmd = 'umask 0022; cd %s; %s srpm' % (srpm_dir, MAKE_CMD)
19 debugprint("%d: Running %s in %s" % (self.uid, cmd, srpm_dir))
20 s, o = commands.getstatusoutput(cmd)
21 if s != 0:

admin@koozali.org
ViewVC Help
Powered by ViewVC 1.2.1 RSS 2.0 feed