diff --git a/ghc-regex-tdfa.spec b/ghc-regex-tdfa.spec index d443fb2..6beaa97 100644 --- a/ghc-regex-tdfa.spec +++ b/ghc-regex-tdfa.spec @@ -1,16 +1,11 @@ # https://fedoraproject.org/wiki/Packaging:Haskell -# https://fedoraproject.org/wiki/PackagingDrafts/Haskell %global pkg_name regex-tdfa -%global common_summary Haskell regular expression library - -%global common_description A new all Haskell "tagged" DFA regex engine, inspired by libtre. - Name: ghc-%{pkg_name} Version: 1.1.8 -Release: 9%{?dist} -Summary: %{common_summary} +Release: 10%{?dist} +Summary: Haskell tagged DFA regular expression library License: BSD URL: http://hackage.haskell.org/package/%{pkg_name} @@ -28,7 +23,18 @@ BuildRequires: ghc-regex-base-devel # End cabal-rpm deps %description -%{common_description} +A new all Haskell "tagged" DFA regex engine, inspired by libtre. + + +%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 @@ -43,18 +49,25 @@ BuildRequires: ghc-regex-base-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 +* Wed Jun 05 2013 Jens Petersen - 1.1.8-10 +- update to new simplified Haskell Packaging Guidelines + * Wed Feb 13 2013 Fedora Release Engineering - 1.1.8-9 - Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild @@ -117,7 +130,7 @@ Rebuild for ghc-7.0.2 - package updated to 1.1.6 * Sat Sep 18 2010 Lakshmi Narasimhan T V - 1.1.4-1 -- using ghc-rpm-macros 0.8.1 +- using ghc-rpm-macros 0.8.1 - package updated to 1.1.4 * Sat Jul 3 2010 Lakshmi Narasimhan T V - 1.1.3-1