Update to cabal2spec-0.22.7
This commit is contained in:
parent
41dd9438b9
commit
e6941f4d86
22
ghc-csv.spec
22
ghc-csv.spec
|
@ -1,3 +1,7 @@
|
||||||
|
# For Haskell Packaging Guidelines see:
|
||||||
|
# - https://fedoraproject.org/wiki/Packaging:Haskell
|
||||||
|
# - https://fedoraproject.org/wiki/PackagingDrafts/Haskell
|
||||||
|
|
||||||
%global pkg_name csv
|
%global pkg_name csv
|
||||||
|
|
||||||
%global common_summary CSV loader and dumper
|
%global common_summary CSV loader and dumper
|
||||||
|
@ -10,12 +14,9 @@ and for certain web services.
|
||||||
|
|
||||||
%global ghc_pkg_deps ghc-parsec-devel
|
%global ghc_pkg_deps ghc-parsec-devel
|
||||||
|
|
||||||
# debuginfo is not useful for ghc
|
|
||||||
%global debug_package %{nil}
|
|
||||||
|
|
||||||
Name: ghc-%{pkg_name}
|
Name: ghc-%{pkg_name}
|
||||||
Version: 0.1.2
|
Version: 0.1.2
|
||||||
Release: 8%{?dist}
|
Release: 9%{?dist}
|
||||||
Summary: %{common_summary}
|
Summary: %{common_summary}
|
||||||
|
|
||||||
Group: System Environment/Libraries
|
Group: System Environment/Libraries
|
||||||
|
@ -23,17 +24,15 @@ License: LGPLv2
|
||||||
URL: http://hackage.haskell.org/package/%{pkg_name}
|
URL: http://hackage.haskell.org/package/%{pkg_name}
|
||||||
Source0: http://hackage.haskell.org/packages/archive/%{pkg_name}/%{version}/%{pkg_name}-%{version}.tar.gz
|
Source0: http://hackage.haskell.org/packages/archive/%{pkg_name}/%{version}/%{pkg_name}-%{version}.tar.gz
|
||||||
# fedora ghc archs:
|
# fedora ghc archs:
|
||||||
ExclusiveArch: %{ix86} x86_64 ppc alpha sparcv9
|
ExclusiveArch: %{ix86} x86_64 ppc alpha sparcv9 ppc64
|
||||||
BuildRequires: ghc, ghc-doc, ghc-prof
|
BuildRequires: ghc, ghc-doc, ghc-prof
|
||||||
|
# macros for building haskell packages
|
||||||
BuildRequires: ghc-rpm-macros >= 0.7.3
|
BuildRequires: ghc-rpm-macros >= 0.7.3
|
||||||
BuildRequires: hscolour
|
BuildRequires: hscolour
|
||||||
%{?ghc_pkg_deps:BuildRequires: %{ghc_pkg_deps}, %(echo %{ghc_pkg_deps} | sed -e "s/\(ghc-[^, ]\+\)-devel/\1-doc,\1-prof/g")}
|
%{?ghc_pkg_deps:BuildRequires: %{ghc_pkg_deps}, %(echo %{ghc_pkg_deps} | sed -e "s/\(ghc-[^, ]\+\)-devel/\1-doc,\1-prof/g")}
|
||||||
|
|
||||||
%description
|
%description
|
||||||
%{common_description}
|
%{common_description}
|
||||||
%if %{with shared}
|
|
||||||
This package provides the shared library.
|
|
||||||
%endif
|
|
||||||
|
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
|
@ -48,10 +47,15 @@ This package provides the shared library.
|
||||||
%ghc_lib_install
|
%ghc_lib_install
|
||||||
|
|
||||||
|
|
||||||
%{?ghc_lib_package}
|
# define the devel and prof subpkgs, devel post[un] scripts, and filelists:
|
||||||
|
# ghc-%%pkg_name{,devel,prof}.files
|
||||||
|
%ghc_lib_package
|
||||||
|
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Wed May 11 2011 Ben Boeckel <mathstuf@gmail.com> - 0.1.2-9
|
||||||
|
- Update to cabal2spec-0.22.7
|
||||||
|
|
||||||
* Thu Mar 10 2011 Fabio M. Di Nitto <fdinitto@redhat.com> - 0.1.2-8
|
* Thu Mar 10 2011 Fabio M. Di Nitto <fdinitto@redhat.com> - 0.1.2-8
|
||||||
- Enable build on sparcv9
|
- Enable build on sparcv9
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue