rpms/happy/devel happy.spec,1.15,1.16

Jens Petersen petersen at fedoraproject.org
Mon Jan 11 09:48:27 UTC 2010


Author: petersen

Update of /cvs/extras/rpms/happy/devel
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv12212

Modified Files:
	happy.spec 
Log Message:
- rebuild with ghc-6.12.1
- link dynamically
- buildrequires ghc-mtl-devel
- drop redundant buildroot and its install cleaning




Index: happy.spec
===================================================================
RCS file: /cvs/extras/rpms/happy/devel/happy.spec,v
retrieving revision 1.15
retrieving revision 1.16
diff -u -p -r1.15 -r1.16
--- happy.spec	1 Oct 2009 09:20:31 -0000	1.15
+++ happy.spec	11 Jan 2010 09:48:27 -0000	1.16
@@ -1,21 +1,23 @@
-# ghc does not emit debug info
-%define debug_package %{nil}
+# link with shared libs
+%bcond_without dynamic
+
+# ghc does not emit debug information
+%global debug_package %{nil}
 
 Name:           happy
 # part of haskell-platform-2009.2.0.2
 Version:        1.18.4
-Release:        4%{?dist}
+Release:        5%{?dist}
+Summary:        LALR(1) Parser Generator for Haskell
 License:        BSD
 Group:          Development/Tools
 URL:            http://haskell.org/happy/
 Source:         http://hackage.haskell.org/packages/archive/%{name}/%{version}/%{name}-%{version}.tar.gz
-BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
+# fedora ghc archs:
+ExclusiveArch:  %{ix86} x86_64 ppc alpha
 BuildRequires:  ghc, ghc-rpm-macros
 BuildRequires:  autoconf, docbook-dtds, docbook-style-xsl, libxslt, libxml2
-Summary:        LALR(1) Parser Generator for Haskell
-# fedora ghc archs:
-ExclusiveArch:	%{ix86} x86_64 ppc alpha
-Requires(post): policycoreutils
+BuildRequires:  ghc-mtl-devel
 
 %description
 Happy is a parser generator system for Haskell, similar to the tool
@@ -34,18 +36,17 @@ hand-written or generated by another pro
 
 
 %build
-%cabal_configure --ghc
+%cabal_configure
 %cabal build
 
-pushd doc
+cd doc
 autoreconf
 %configure
 make html
-popd
+cd ..
 
 
 %install
-rm -rf $RPM_BUILD_ROOT
 %cabal_install
 
 
@@ -61,6 +62,12 @@ rm -rf $RPM_BUILD_ROOT
 
 
 %changelog
+* Mon Jan 11 2010 Jens Petersen <petersen at redhat.com> - 1.18.4-5
+- rebuild with ghc-6.12.1
+- link dynamically
+- buildrequires ghc-mtl-devel
+- drop redundant buildroot and its install cleaning
+
 * Thu Oct  1 2009 Jens Petersen <petersen at redhat.com> - 1.18.4-4
 - selinux fcontext no longer needed in post script
 



More information about the scm-commits mailing list