rpms/happy/devel .cvsignore, 1.3, 1.4 happy.spec, 1.6, 1.7 sources, 1.3, 1.4

Jens Petersen petersen at fedoraproject.org
Wed Nov 12 06:36:27 UTC 2008


Author: petersen

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

Modified Files:
	.cvsignore happy.spec sources 
Log Message:
- update to 1.18.2 release from hackage
- update to new packaging macros
- turn off debuginfo




Index: .cvsignore
===================================================================
RCS file: /cvs/extras/rpms/happy/devel/.cvsignore,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -r1.3 -r1.4
--- .cvsignore	4 Jan 2008 08:43:30 -0000	1.3
+++ .cvsignore	12 Nov 2008 06:35:56 -0000	1.4
@@ -1 +1 @@
-happy-1.17.tar.gz
+happy-1.18.2.tar.gz


Index: happy.spec
===================================================================
RCS file: /cvs/extras/rpms/happy/devel/happy.spec,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -r1.6 -r1.7
--- happy.spec	14 Oct 2008 01:05:38 -0000	1.6
+++ happy.spec	12 Nov 2008 06:35:56 -0000	1.7
@@ -1,14 +1,18 @@
+# ghc does not emit debug info
+%define debug_package %{nil}
+
 Name:           happy
-Version:        1.17
-Release:        3%{?dist}
+Version:        1.18.2
+Release:        1%{?dist}
 License:        BSD
 Group:          Development/Tools
 URL:            http://haskell.org/happy/
-Source:         http://haskell.org/happy/dist/%{version}/happy-%{version}.tar.gz
+Source:         http://hackage.haskell.org/packages/archive/%{name}/%{version}/%{name}-%{version}.tar.gz
 BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 BuildRequires:  autoconf, ghc, docbook-dtds, docbook-style-xsl, libxslt, libxml2
 Summary:        The LALR(1) Parser Generator for Haskell
-ExcludeArch:    alpha ppc64
+# ghc has only been bootstrapped on the following archs:
+ExclusiveArch:	i386 x86_64 ppc
 Requires(post): policycoreutils
 
 %description
@@ -28,19 +32,19 @@
 
 
 %build
-runhaskell Setup.lhs configure --prefix=%{_prefix} --libdir=%{_libdir}
-runhaskell Setup.lhs build
+%cabal_configure --ghc
+%cabal_build
 
 pushd doc
 autoreconf
-./configure --prefix=%{_prefix} --libdir=%{_libdir}
+%configure
 make html
 popd
 
 
 %install
 rm -rf ${RPM_BUILD_ROOT}
-runhaskell Setup.lhs copy --destdir=${RPM_BUILD_ROOT}
+%cabal_install
 
 
 %clean
@@ -60,6 +64,11 @@
 
 
 %changelog
+* Wed Nov 12 2008 Jens Petersen <petersen at redhat.com> - 1.18.2-1
+- update to 1.18.2 release from hackage
+- update to new packaging macros
+- turn off debuginfo
+
 * Tue Oct 14 2008 Jens Petersen <petersen at redhat.com> - 1.17-3
 - add selinux unconfined_execmem_exec_t file context
 


Index: sources
===================================================================
RCS file: /cvs/extras/rpms/happy/devel/sources,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -r1.3 -r1.4
--- sources	4 Jan 2008 08:43:30 -0000	1.3
+++ sources	12 Nov 2008 06:35:56 -0000	1.4
@@ -1 +1 @@
-4bc931a8630ecebb751a2a8e60219313  happy-1.17.tar.gz
+adb1679a1fa8cec74a6e621a4a277e98  happy-1.18.2.tar.gz




More information about the scm-commits mailing list