From ef6ff25c36b21ab292ed7d928ee79e8cbc34fe61 Mon Sep 17 00:00:00 2001 From: Bryan O'Sullivan Date: Wed, 1 Oct 2008 22:26:01 +0000 Subject: [PATCH] Don't remove hsc2hs, rename it --- ghc.spec | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/ghc.spec b/ghc.spec index 2947881..f0fa7a8 100644 --- a/ghc.spec +++ b/ghc.spec @@ -16,7 +16,7 @@ Name: ghc Version: 6.8.3 -Release: 5%{?dist} +Release: 6%{?dist} Summary: Glasgow Haskell Compilation system # See https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=239713 ExcludeArch: alpha ppc64 @@ -146,7 +146,8 @@ cat rpm-dir.files rpm-prof.files > rpm-prof-filelist touch $RPM_BUILD_ROOT%{_libdir}/ghc-%{version}/package.conf.old # these are handled as alternatives -rm ${RPM_BUILD_ROOT}%{_bindir}/{hsc2hs,runhaskell} +mv ${RPM_BUILD_ROOT}%{_bindir}/hsc2hs ${RPM_BUILD_ROOT}%{_bindir}/hsc2hs-ghc +rm ${RPM_BUILD_ROOT}%{_bindir}/runhaskell %clean rm -rf $RPM_BUILD_ROOT @@ -200,6 +201,9 @@ fi %changelog +* Wed Oct 1 2008 Bryan O'Sullivan 6.8.3-6.fc10 +* Rename hsc2hs to hsc2hs-ghc so the alternatives symlink to it will work + * Wed Sep 24 2008 Jens Petersen - 6.8.3-5.fc10 - bring back including haddock-generated lib docs, now under docdir/ghc - fix macros.ghc filepath (#460304)