From 790f6e707d51063bbbbb660ca7c29ee083d0afad Mon Sep 17 00:00:00 2001 From: Jens Petersen Date: Mon, 3 Jun 2013 15:59:21 +0900 Subject: [PATCH] update to 1.3.13 and new simplified Haskell Packaging Guidelines --- .gitignore | 1 + ghc-xml.spec | 40 +++++++++++++++++++++++++++------------- sources | 2 +- 3 files changed, 29 insertions(+), 14 deletions(-) diff --git a/.gitignore b/.gitignore index 594bed8..cd91a7b 100644 --- a/.gitignore +++ b/.gitignore @@ -3,3 +3,4 @@ /xml-1.3.9.tar.gz /xml-1.3.10.tar.gz /xml-1.3.12.tar.gz +/xml-1.3.13.tar.gz diff --git a/ghc-xml.spec b/ghc-xml.spec index 15fe50d..97d1930 100644 --- a/ghc-xml.spec +++ b/ghc-xml.spec @@ -1,16 +1,11 @@ # https://fedoraproject.org/wiki/Packaging:Haskell -# https://fedoraproject.org/wiki/PackagingDrafts/Haskell %global pkg_name xml -%global common_summary A simple XML library - -%global common_description A simple XML library. - Name: ghc-%{pkg_name} -Version: 1.3.12 -Release: 7%{?dist} -Summary: %{common_summary} +Version: 1.3.13 +Release: 1%{?dist} +Summary: A simple XML library License: BSD URL: http://hackage.haskell.org/package/%{pkg_name} @@ -24,7 +19,18 @@ BuildRequires: ghc-text-devel # End cabal-rpm deps %description -%{common_description} +A simple XML library. + + +%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 xml library development files. %prep @@ -39,18 +45,26 @@ BuildRequires: ghc-text-devel %ghc_lib_install -%ghc_devel_package +%post devel +%ghc_pkg_recache + -%ghc_devel_description +%postun devel +%ghc_pkg_recache -%ghc_devel_post_postun +%files -f %{name}.files +%doc LICENSE -%ghc_files LICENSE +%files devel -f %{name}-devel.files %changelog +* Mon Jun 03 2013 Jens Petersen - 1.3.13-1 +- update to 1.3.13 +- update to new simplified Haskell Packaging Guidelines + * Wed Feb 13 2013 Fedora Release Engineering - 1.3.12-7 - Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild diff --git a/sources b/sources index 983eb9b..e702549 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -e28f0837f10a91dd14a3f573f961a739 xml-1.3.12.tar.gz +17823634f69305e8d4cc99b22934a78c xml-1.3.13.tar.gz