diff options
-rw-r--r-- | mock.py | 2 | ||||
-rw-r--r-- | mock.spec | 4 |
2 files changed, 3 insertions, 3 deletions
@@ -311,7 +311,7 @@ class Root: 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']) @@ -4,8 +4,8 @@ Version: 0.4 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 |