update to 0.12.2; update deps (cabal2spec-0.23.2)
This commit is contained in:
parent
66e582822d
commit
6ab64fdc89
1
.gitignore
vendored
1
.gitignore
vendored
@ -1,2 +1,3 @@
|
||||
/tagsoup-0.11.1.tar.gz
|
||||
/tagsoup-0.12.tar.gz
|
||||
/tagsoup-0.12.2.tar.gz
|
||||
|
@ -11,26 +11,20 @@ screen-scraping. \
|
||||
\
|
||||
Users should start from the "Text.HTML.TagSoup" module.
|
||||
|
||||
%global ghc_pkg_deps ghc-mtl-devel, ghc-network-devel
|
||||
|
||||
# debuginfo is not useful for ghc
|
||||
%global debug_package %{nil}
|
||||
|
||||
Name: ghc-%{pkg_name}
|
||||
Version: 0.12
|
||||
Release: 4%{?dist}
|
||||
Version: 0.12.2
|
||||
Release: 1%{?dist}
|
||||
Summary: Haskell %{pkg_name}
|
||||
|
||||
Group: System Environment/Libraries
|
||||
License: BSD
|
||||
URL: http://hackage.haskell.org/package/%{pkg_name}
|
||||
Source0: http://hackage.haskell.org/packages/archive/%{pkg_name}/%{version}/%{pkg_name}-%{version}.tar.gz
|
||||
# fedora ghc archs:
|
||||
ExclusiveArch: %{ix86} x86_64 ppc alpha sparcv9
|
||||
BuildRequires: ghc, ghc-doc, ghc-prof
|
||||
BuildRequires: ghc-rpm-macros >= 0.7.3
|
||||
ExclusiveArch: %{ghc_arches}
|
||||
BuildRequires: ghc-Cabal-devel
|
||||
BuildRequires: ghc-rpm-macros
|
||||
BuildRequires: hscolour
|
||||
%{?ghc_pkg_deps:BuildRequires: %{ghc_pkg_deps}, %(echo %{ghc_pkg_deps} | sed -e "s/\(ghc-[^, ]\+\)-devel/\1-doc,\1-prof/g")}
|
||||
BuildRequires: ghc-containers-prof, ghc-text-prof
|
||||
|
||||
%description
|
||||
%{common_description}
|
||||
@ -50,10 +44,15 @@ mkdir -p %{buildroot}%{_docdir}/%{name}-%{version}/
|
||||
install -m 644 tagsoup.htm -p %{buildroot}%{_docdir}/%{name}-%{version}/tagsoup.htm
|
||||
|
||||
|
||||
%{?ghc_lib_package}
|
||||
%ghc_lib_package
|
||||
|
||||
|
||||
%changelog
|
||||
* Wed Jun 22 2011 Jens Petersen <petersen@redhat.com> - 0.12.2-1
|
||||
- update to 0.12.2
|
||||
- update deps
|
||||
- BR ghc-Cabal-devel instead of ghc-prof and use ghc_arches (cabal2spec-0.23.2)
|
||||
|
||||
* Thu Mar 10 2011 Fabio M. Di Nitto <fdinitto@redhat.com> - 0.12-4
|
||||
- Enable build on sparcv9
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user