diff --git a/.gitignore b/.gitignore index 22bd768..888e1db 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1,2 @@ /entropy-0.2.1.tar.gz +/entropy-0.2.2.tar.gz diff --git a/ghc-entropy.spec b/ghc-entropy.spec index 5db5b79..4d5009b 100644 --- a/ghc-entropy.spec +++ b/ghc-entropy.spec @@ -1,19 +1,11 @@ # https://fedoraproject.org/wiki/Packaging:Haskell -# https://fedoraproject.org/wiki/PackagingDrafts/Haskell %global pkg_name entropy -%global common_summary A platform independent entropy source - -%global common_description A platform independent method to obtain cryptographically strong entropy\ -(urandom on Linux, CryptAPI on Windows, patches welcome).\ -Users looking for cryptographically strong (number-theoretically\ -sound) PRNGs should see the 'DRBG' package too!. - Name: ghc-%{pkg_name} -Version: 0.2.1 +Version: 0.2.2 Release: 1%{?dist} -Summary: %{common_summary} +Summary: A platform independent entropy source License: BSD URL: http://hackage.haskell.org/package/%{pkg_name} @@ -26,7 +18,21 @@ BuildRequires: ghc-bytestring-devel # End cabal-rpm deps %description -%{common_description} +A platform independent method to obtain cryptographically strong entropy +(urandom on Linux, CryptAPI on Windows, patches welcome). +Users looking for cryptographically strong (number-theoretically +sound) PRNGs should see the 'DRBG' package too!. + + +%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 entropy library development files. %prep @@ -41,17 +47,25 @@ BuildRequires: ghc-bytestring-devel %ghc_lib_install -%ghc_devel_package - -%ghc_devel_description +%post devel +%ghc_pkg_recache -%ghc_devel_post_postun +%postun devel +%ghc_pkg_recache -%ghc_files LICENSE +%files -f %{name}.files +%doc LICENSE + + +%files devel -f %{name}-devel.files %changelog +* Mon Jun 03 2013 Jens Petersen - 0.2.2-1 +- update to 0.2.2 +- update to new simplified Haskell Packaging Guidelines + * Wed Feb 13 2013 Fedora Haskell SIG - 0.2.1-1 - spec file generated by cabal-rpm-0.7.1 diff --git a/sources b/sources index 3686469..bff2fbd 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -9b18044a0435ff29289b21a36f4594f5 entropy-0.2.1.tar.gz +9c4498dbb38c8b98c9bb2df370ef0342 entropy-0.2.2.tar.gz