From a8cf709ba6cdaab6536779e43fa2daf14a6858d3 Mon Sep 17 00:00:00 2001 From: Jens Petersen Date: Thu, 23 Oct 2008 03:42:59 +0000 Subject: [PATCH] need to create ghost package.conf.old for ghc-6.10 --- ghc.spec | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/ghc.spec b/ghc.spec index a0207ac..2848b46 100644 --- a/ghc.spec +++ b/ghc.spec @@ -16,7 +16,7 @@ Name: ghc Version: 6.10.0.20081007 -Release: 7%{?dist} +Release: 8%{?dist} Summary: Glasgow Haskell Compilation system # See https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=239713 ExcludeArch: alpha ppc64 @@ -140,6 +140,9 @@ cat rpm-dir.files rpm-lib.files > rpm-base-filelist cat rpm-dir.files rpm-prof.files > rpm-prof-filelist %endif +# create package.conf.old +touch $RPM_BUILD_ROOT%{_libdir}/ghc-%{version}/package.conf.old + # these are handled as alternatives for i in hsc2hs runhaskell; do if [ -x ${RPM_BUILD_ROOT}%{_bindir}/$i-ghc ]; then @@ -218,6 +221,9 @@ fi %changelog +* Thu Oct 23 2008 Jens Petersen - 6.10.0.20081007-8 +- need to create ghost package.conf.old for ghc-6.10 + * Thu Oct 23 2008 Jens Petersen - 6.10.0.20081007-7 - use gen_contents_index to re-index haddock - add %%pkg_docdir to cabal_configure