mock mock.py,1.24,1.25 mock.spec,1.12,1.13

Seth Vidal (skvidal) fedora-extras-commits at redhat.com
Thu Aug 4 07:23:03 UTC 2005


Author: skvidal

Update of /cvs/fedora/mock
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv3794

Modified Files:
	mock.py mock.spec 
Log Message:

mock.spec: url updates
mock.py: fix for rh bug: 163576
         Thanks To Adrian Reber



Index: mock.py
===================================================================
RCS file: /cvs/fedora/mock/mock.py,v
retrieving revision 1.24
retrieving revision 1.25
diff -u -r1.24 -r1.25
--- mock.py	26 Jul 2005 20:36:41 -0000	1.24
+++ mock.py	4 Aug 2005 07:23:01 -0000	1.25
@@ -311,7 +311,7 @@
         srpmfn = os.path.basename(srpm_in)
         # run with --nodeps b/c of the check above we know we have our build
         # deps satisfied.
-        cmd = "%s -c 'rpmbuild --rebuild  --target %s --nodeps %s' %s" % (
+        cmd = "cd /;%s -c 'rpmbuild --rebuild  --target %s --nodeps %s' %s" % (
              self.config['runuser'], self.target_arch, srpm_in, 
              self.config['chrootuser'])
         


Index: mock.spec
===================================================================
RCS file: /cvs/fedora/mock/mock.spec,v
retrieving revision 1.12
retrieving revision 1.13
diff -u -r1.12 -r1.13
--- mock.spec	26 Jul 2005 20:17:29 -0000	1.12
+++ mock.spec	4 Aug 2005 07:23:01 -0000	1.13
@@ -4,8 +4,8 @@
 Release: 1
 License: GPL
 Group: Development/Tools
-Source: http://linux.duke.edu/~skvidal/mock/%{name}-%{version}.tar.gz
-URL: http://linux.duke.edu/~skvidal/mock/
+Source: http://fedoraproject.org/projects/mock/releases/%{name}-%{version}.tar.gz
+URL: http://fedoraproject.org/wiki/Projects/Mock
 BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 Requires: python, yum >= 2.2.1
 Requires(pre): shadow-utils




More information about the scm-commits mailing list