update with cabal-rpm
This commit is contained in:
parent
746a533d83
commit
b37c4fd10f
@ -1,4 +1,3 @@
|
||||
# cabal2spec-0.25
|
||||
# https://fedoraproject.org/wiki/Packaging:Haskell
|
||||
# https://fedoraproject.org/wiki/PackagingDrafts/Haskell
|
||||
|
||||
@ -6,25 +5,23 @@
|
||||
|
||||
%global common_summary A testing library to verify properties of test cases
|
||||
|
||||
%global common_description SmallCheck is a testing library to verify\
|
||||
properties for all test cases up to some depth. The test cases are\
|
||||
generated automatically by SmallCheck.
|
||||
%global common_description
|
||||
SmallCheck is a testing library that allows to verify properties for\
|
||||
all test cases up to some depth. The test cases are generated automatically.
|
||||
|
||||
Name: ghc-%{pkg_name}
|
||||
Version: 0.6.1
|
||||
Release: 2%{?dist}
|
||||
Release: 3%{?dist}
|
||||
Summary: %{common_summary}
|
||||
|
||||
Group: System Environment/Libraries
|
||||
License: BSD
|
||||
# BEGIN cabal2spec
|
||||
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 %{!?without_hscolour:hscolour}
|
||||
# END cabal2spec
|
||||
|
||||
BuildRequires: ghc-Cabal-devel
|
||||
BuildRequires: ghc-rpm-macros
|
||||
# Begin cabal-rpm deps:
|
||||
# End cabal-rpm deps
|
||||
BuildRequires: ghc-dlist-devel
|
||||
|
||||
%description
|
||||
@ -40,16 +37,19 @@ chmod -x examples/run-examples.sh
|
||||
%install
|
||||
%ghc_lib_install
|
||||
|
||||
# devel subpackage
|
||||
%ghc_devel_package
|
||||
|
||||
%ghc_devel_description
|
||||
|
||||
%ghc_devel_post_postun
|
||||
|
||||
%ghc_files LICENSE examples Test
|
||||
%ghc_files LICENSE
|
||||
%doc examples README.md
|
||||
|
||||
%changelog
|
||||
* Sat Nov 17 2012 Jens Petersen <petersen@redhat.com> - 0.6.1-3
|
||||
- update with cabal-rpm
|
||||
|
||||
* Thu Jul 19 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.6.1-2
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user