From 4d88e55f200776b06a8fd2a01fab567e23f749f5 Mon Sep 17 00:00:00 2001 From: Jens Petersen Date: Wed, 13 May 2009 07:17:04 +0000 Subject: [PATCH] - update to 6.10.3 - macros.ghc moved to ghc-rpm-macros package - fix handling of hscolor files in filelist generation - give up ppc unregisterized build since it failed --- .cvsignore | 4 ++-- ghc.spec | 25 +++++++------------------ sources | 4 ++-- 3 files changed, 11 insertions(+), 22 deletions(-) diff --git a/.cvsignore b/.cvsignore index 757f0ae..8b09f7c 100644 --- a/.cvsignore +++ b/.cvsignore @@ -1,2 +1,2 @@ -ghc-6.10.2-src.tar.bz2 -ghc-6.10.2-src-extralibs.tar.bz2 +ghc-6.10.3-src.tar.bz2 +ghc-6.10.3-src-extralibs.tar.bz2 diff --git a/ghc.spec b/ghc.spec index d0a7b2a..424c751 100644 --- a/ghc.spec +++ b/ghc.spec @@ -21,8 +21,8 @@ %global package_debugging 0 Name: ghc -Version: 6.10.2 -Release: 5%{?dist} +Version: 6.10.3 +Release: 1%{?dist} Summary: Glasgow Haskell Compilation system # fedora ghc has only been bootstrapped on the following archs: ExclusiveArch: %{ix86} x86_64 ppc alpha @@ -30,8 +30,6 @@ License: BSD Group: Development/Languages Source0: http://www.haskell.org/ghc/dist/%{version}/ghc-%{version}-src.tar.bz2 Source1: http://www.haskell.org/ghc/dist/%{version}/ghc-%{version}-src-extralibs.tar.bz2 -# /etc/rpm/macros.ghc -Source2: ghc-rpm-macros.ghc URL: http://haskell.org/ghc/ # libedit-devel > 2.11-2 correctly requires ncurses-devel Requires: gcc, gmp-devel, libedit-devel > 2.11-2 @@ -119,12 +117,6 @@ popd exit 0 %endif -%ifarch ppc -echo "GhcUnregisterised=YES" >> mk/build.mk -echo "GhcWithNativeCodeGen=NO" >> mk/build.mk -echo "SplitObjs=NO" >> mk/build.mk -%endif - %if %{without prof} echo "GhcLibWays=%{?with_shared:dyn}" >> mk/build.mk %endif @@ -161,15 +153,11 @@ mkdir -p ${RPM_BUILD_ROOT}/%{_sysconfdir}/ld.so.conf.d echo %{_libdir}/%{name}-%{version} > ${RPM_BUILD_ROOT}/%{_sysconfdir}/ld.so.conf.d/ghc-%{_arch}.conf %endif -# install rpm macros -mkdir -p ${RPM_BUILD_ROOT}/%{_sysconfdir}/rpm -cp -p %{SOURCE2} ${RPM_BUILD_ROOT}/%{_sysconfdir}/rpm/macros.ghc - SRC_TOP=$PWD rm -f rpm-*.files ( cd $RPM_BUILD_ROOT find .%{_libdir}/%{name}-%{version} \( -type d -fprintf $SRC_TOP/rpm-dir.files "%%%%dir %%p\n" \) -o \( -type f \( -name '*.p_hi' -o -name '*_p.a' \) -fprint $SRC_TOP/rpm-prof.files \) -o \( -not -name 'package.conf*' -fprint $SRC_TOP/rpm-lib.files \) - find .%{_docdir}/%{name}/* -type d ! -name libraries %{?with_hscolour:! -name src} > $SRC_TOP/rpm-doc-dir.files + find .%{_docdir}/%{name}/* -type d ! -name libraries ! -name src > $SRC_TOP/rpm-doc-dir.files ) # make paths absolute (filter "./usr" to "/usr") @@ -249,7 +237,6 @@ fi %if %{with doc} %{_mandir}/man1/ghc.* %endif -%{_sysconfdir}/rpm/macros.ghc %config(noreplace) %{_libdir}/ghc-%{version}/package.conf %files doc -f rpm-doc-dir.files @@ -283,8 +270,10 @@ fi %endif %changelog -* Sat May 2 2009 Jens Petersen - 6.10.2-5 -- try unregisterised ppc to see if that stops the segfaulting with runghc +* Wed May 13 2009 Jens Petersen - 6.10.3-1 +- update to 6.10.3 +- macros.ghc moved to ghc-rpm-macros package +- fix handling of hscolor files in filelist generation * Tue Apr 28 2009 Jens Petersen - 6.10.2-4 - add experimental bcond hscolour diff --git a/sources b/sources index fba01d3..e41535f 100644 --- a/sources +++ b/sources @@ -1,2 +1,2 @@ -243d5857e5aa5f2f86e5e4c4437973fb ghc-6.10.2-src.tar.bz2 -9415604386ca69ebe15f1054653aefaf ghc-6.10.2-src-extralibs.tar.bz2 +3de6a6d434c2b43def10c4cc613b265e ghc-6.10.3-src.tar.bz2 +d0fe09625556ea274df11d601c1b2a15 ghc-6.10.3-src-extralibs.tar.bz2