summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--mock.py2
-rw-r--r--mock.spec4
2 files changed, 3 insertions, 3 deletions
diff --git a/mock.py b/mock.py
index 71624a4..269dc96 100644
--- a/mock.py
+++ b/mock.py
@@ -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'])
diff --git a/mock.spec b/mock.spec
index 716bce8..6561861 100644
--- a/mock.spec
+++ b/mock.spec
@@ -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