update to cabal2spec-0.25.2
This commit is contained in:
parent
94628d732a
commit
47ab563c87
@ -1,3 +1,7 @@
|
||||
# cabal2spec-0.25.2
|
||||
# https://fedoraproject.org/wiki/Packaging:Haskell
|
||||
# https://fedoraproject.org/wiki/PackagingDrafts/Haskell
|
||||
|
||||
%global pkg_name ConfigFile
|
||||
|
||||
%global common_summary Configuration file reading and writing
|
||||
@ -18,7 +22,7 @@ this module, the Unix shell, and make.
|
||||
|
||||
Name: ghc-%{pkg_name}
|
||||
Version: 1.1.1
|
||||
Release: 1%{?dist}
|
||||
Release: 2%{?dist}
|
||||
Summary: %{common_summary}
|
||||
|
||||
Group: System Environment/Libraries
|
||||
@ -28,12 +32,12 @@ URL: http://hackage.haskell.org/package/%{pkg_name}
|
||||
Source0: http://hackage.haskell.org/packages/archive/%{pkg_name}/%{version}/%{pkg_name}-%{version}.tar.gz
|
||||
ExclusiveArch: %{ghc_arches}
|
||||
BuildRequires: ghc-Cabal-devel
|
||||
BuildRequires: ghc-rpm-macros
|
||||
%if %{undefined without_hscolour}
|
||||
BuildRequires: hscolour
|
||||
%endif
|
||||
BuildRequires: ghc-rpm-macros %{!?without_hscolour:hscolour}
|
||||
# END cabal2spec
|
||||
BuildRequires: ghc-MissingH-prof, ghc-haskell98-prof, ghc-mtl-prof, ghc-parsec-prof
|
||||
BuildRequires: ghc-MissingH-prof
|
||||
BuildRequires: ghc-haskell98-prof
|
||||
BuildRequires: ghc-mtl-prof
|
||||
BuildRequires: ghc-parsec-prof
|
||||
|
||||
%description
|
||||
%{common_description}
|
||||
@ -49,15 +53,24 @@ BuildRequires: ghc-MissingH-prof, ghc-haskell98-prof, ghc-mtl-prof, ghc-parsec-
|
||||
|
||||
%install
|
||||
%ghc_lib_install
|
||||
mkdir -p %{buildroot}%{_docdir}/%{name}-%{version}/
|
||||
install -m 644 -p COPY* %{buildroot}%{_docdir}/%{name}-%{version}/
|
||||
install -m 644 -p README %{buildroot}%{_docdir}/%{name}-%{version}/README
|
||||
|
||||
|
||||
%{ghc_lib_package}
|
||||
%ghc_devel_package
|
||||
|
||||
%ghc_devel_description
|
||||
|
||||
|
||||
%ghc_devel_post_postun
|
||||
|
||||
|
||||
%ghc_files COPYING COPYRIGHT
|
||||
%doc README
|
||||
|
||||
|
||||
%changelog
|
||||
* Wed Jan 4 2012 Jens Petersen <petersen@redhat.com> - 1.1.1-2
|
||||
- update to cabal2spec-0.25.2
|
||||
|
||||
* Sat Dec 3 2011 Jens Petersen <petersen@redhat.com> - 1.1.1-1
|
||||
- update to 1.1.1
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user