summaryrefslogtreecommitdiffstats
path: root/mock.spec.in
diff options
context:
space:
mode:
authorClark Williams <williams@redhat.com>2008-05-16 15:01:27 -0500
committerClark Williams <williams@redhat.com>2008-05-16 15:01:27 -0500
commit7ab8dfe62ad84ba9426a1cbf17a3d967278e23d9 (patch)
tree466aea9d34294255f9a4493fb0a41885991f54bf /mock.spec.in
parent17a92823ceacc320568199fd2d8b4eff2cb1536b (diff)
downloadmock-7ab8dfe62ad84ba9426a1cbf17a3d967278e23d9.tar.gz
mock-7ab8dfe62ad84ba9426a1cbf17a3d967278e23d9.tar.xz
mock-7ab8dfe62ad84ba9426a1cbf17a3d967278e23d9.zip
added fix for building F-8 mock
Diffstat (limited to 'mock.spec.in')
-rw-r--r--mock.spec.in6
1 files changed, 6 insertions, 0 deletions
diff --git a/mock.spec.in b/mock.spec.in
index 8d5a1d0..b522f82 100644
--- a/mock.spec.in
+++ b/mock.spec.in
@@ -27,6 +27,12 @@ Mock takes a srpm and builds it in a chroot
%prep
%setup -q
+%if "%{?dist}" == ".fc8"
+pushd etc/mock
+sed -i -e 's/^#exclude=/exclude=/' -e '/^# The above is not/d' \
+ fedora-9-x86_64.cfg fedora-rawhide-x86_64.cfg
+popd
+%endif
%build
%configure