- update to 1.18.2 release from hackage

- update to new packaging macros
- turn off debuginfo
This commit is contained in:
Jens Petersen 2008-11-12 06:35:56 +00:00
parent 1a613dc611
commit 4b4f92c16d
3 changed files with 19 additions and 10 deletions

View File

@ -1 +1 @@
happy-1.17.tar.gz
happy-1.18.2.tar.gz

View File

@ -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 @@ hand-written or generated by another program).
%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 @@ restorecon %{_bindir}/%{name}
%changelog
* Wed Nov 12 2008 Jens Petersen <petersen@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@redhat.com> - 1.17-3
- add selinux unconfined_execmem_exec_t file context

View File

@ -1 +1 @@
4bc931a8630ecebb751a2a8e60219313 happy-1.17.tar.gz
adb1679a1fa8cec74a6e621a4a277e98 happy-1.18.2.tar.gz