commit 39ce48f1771c2ff2bb90f73b90e8f6962881569e Author: Jens Petersen petersen@redhat.com Date: Fri Jun 7 12:48:52 2013 +0900
update to new simplified Haskell Packaging Guidelines
ghc-lazysmallcheck.spec | 57 +++++++++++++++++++++++++++++----------------- 1 files changed, 36 insertions(+), 21 deletions(-) --- diff --git a/ghc-lazysmallcheck.spec b/ghc-lazysmallcheck.spec index b22e4cf..10cd9d5 100644 --- a/ghc-lazysmallcheck.spec +++ b/ghc-lazysmallcheck.spec @@ -1,23 +1,10 @@ # https://fedoraproject.org/wiki/Packaging:Haskell -# https://fedoraproject.org/wiki/PackagingDrafts/Haskell
%global pkg_name lazysmallcheck
-%global common_summary Haskell %{pkg_name} library - -%global common_description Lazy SmallCheck is a library for exhaustive, demand-driven testing of\ -Haskell programs. It is based on the idea that if a property holds\ -for a partially-defined input then it must also hold for all\ -fully-defined refinements of the that input. Compared to ``eager''\ -input generation as in SmallCheck, Lazy SmallCheck may need\ -significantly fewer test-cases to verify a property for all inputs up\ -to a given depth.\ -\ -\ - Name: ghc-%{pkg_name} Version: 0.6 -Release: 5%{?dist} +Release: 6%{?dist} Summary: A library for demand-driven testing of Haskell programs
License: BSD @@ -26,30 +13,58 @@ Source0: http://hackage.haskell.org/packages/archive/%%7Bpkg_name%7D/%%7Bversio
BuildRequires: ghc-Cabal-devel BuildRequires: ghc-rpm-macros -# Begin cabal-rpm deps: -# End cabal-rpm deps
%description -%{common_description} +Lazy SmallCheck is a library for exhaustive, demand-driven testing of +Haskell programs. It is based on the idea that if a property holds +for a partially-defined input then it must also hold for all +fully-defined refinements of the that input. Compared to ``eager'' +input generation as in SmallCheck, Lazy SmallCheck may require +significantly fewer test-cases to verify a property for all inputs up +to a given depth. + + +%package devel +Summary: Haskell %{pkg_name} library development files +Requires: ghc-compiler = %{ghc_version} +Requires(post): ghc-compiler = %{ghc_version} +Requires(postun): ghc-compiler = %{ghc_version} +Requires: %{name} = %{version}-%{release} + +%description devel +This package provides the Haskell %{pkg_name} library development files. +
%prep %setup -q -n %{pkg_name}-%{version}
+ %build %ghc_lib_build
+ %install %ghc_lib_install
-%ghc_devel_package
-%ghc_devel_description +%post devel +%ghc_pkg_recache + + +%postun devel +%ghc_pkg_recache
-%ghc_devel_post_postun
-%ghc_files LICENSE +%files -f %{name}.files +%doc LICENSE + + +%files devel -f %{name}-devel.files
%changelog +* Fri Jun 07 2013 Jens Petersen petersen@redhat.com - 0.6-6 +- update to new simplified Haskell Packaging Guidelines + * Wed Feb 13 2013 Fedora Release Engineering rel-eng@lists.fedoraproject.org - 0.6-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
scm-commits@lists.fedoraproject.org