[alex/el6/master] update to f14 package
Jens Petersen
petersen at fedoraproject.org
Thu Oct 7 03:19:08 UTC 2010
commit 488576ff8b7320547b91eed99ee43cc6aa18626a
Author: Jens Petersen <petersen at redhat.com>
Date: Thu Oct 7 13:19:14 2010 +1000
update to f14 package
.gitignore | 2 +-
alex.spec | 43 ++++++++++++++++++++++++++++++++++---------
sources | 2 +-
3 files changed, 36 insertions(+), 11 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index b7ecb13..7db6941 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1 +1 @@
-alex-2.3.1.tar.gz
+alex-2.3.3.tar.gz
diff --git a/alex.spec b/alex.spec
index 1fb91fe..edb9975 100644
--- a/alex.spec
+++ b/alex.spec
@@ -1,20 +1,24 @@
+# link with shared libs
+%bcond_without dynamic
+
# ghc does not emit debug information
%global debug_package %{nil}
Name: alex
-# part of haskell-platform-2009.2.0.2
-Version: 2.3.1
-Release: 6%{?dist}
+# part of haskell-platform-2010.2.0.0
+Version: 2.3.3
+Release: 1%{?dist}
Summary: A lexer generator for Haskell
Group: Development/Tools
License: BSD
-URL: http://hackage.haskell.org/cgi-bin/hackage-scripts/package/alex
+URL: http://hackage.haskell.org/cgi-bin/hackage-scripts/package/%{name}
Source0: 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: ghc
+BuildRequires: ghc-rpm-macros >= 0.7.0
BuildRequires: autoconf docbook-style-xsl libxslt
%description
@@ -28,19 +32,18 @@ expressions. It is similar to the tool lex or flex for C/C++.
%build
-%cabal_configure
-%cabal build
+%ghc_bin_build
cd doc
autoreconf
./configure --prefix=%{_prefix} --libdir=%{_libdir}
make html
-cd -
+cd ..
%install
rm -rf $RPM_BUILD_ROOT
-%cabal_install
+%ghc_bin_install
%clean
@@ -55,6 +58,28 @@ rm -rf $RPM_BUILD_ROOT
%changelog
+* Fri Jul 16 2010 Jens Petersen <petersen at redhat.com> - 2.3.3-1
+- 2.3.3 release for haskell-platform-2010.2.0.0
+
+* Sun Jun 27 2010 Jens Petersen <petersen at redhat.com> - 2.3.2-3
+- sync cabal2spec-0.22.1
+
+* Sat Apr 24 2010 Jens Petersen <petersen at redhat.com> - 2.3.2-2
+- rebuild against ghc-6.12.2
+
+* Wed Mar 24 2010 Jens Petersen <petersen at redhat.com> - 2.3.2-1
+- update to 2.3.2 for haskell-platform-2010.1.0.0
+
+* Mon Jan 11 2010 Jens Petersen <petersen at redhat.com> - 2.3.1-8
+- dynamic bcond is now handled by cabal_configure
+- drop redundant buildroot and its install cleaning
+
+* Tue Dec 22 2009 Jens Petersen <petersen at redhat.com>
+- add bcond for dynamic linking
+
+* Mon Dec 21 2009 Jens Petersen <petersen at redhat.com> - 2.3.1-7
+- build dynamically with ghc-6.12.1
+
* Fri Jul 24 2009 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 2.3.1-6
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
diff --git a/sources b/sources
index 7411b82..15f1d74 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-a8c26af3370388297cee4b8c767d72d9 alex-2.3.1.tar.gz
+bc5d90c932470ee8a64e6cda162ca05e alex-2.3.3.tar.gz
More information about the scm-commits
mailing list