summaryrefslogtreecommitdiffstats
path: root/mock.spec.in
diff options
context:
space:
mode:
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