Commit 790f6e update to 1.3.13 and new simplified Haskell Packaging Guidelines

3 files Authored and Committed by petersen 5 years ago
update to 1.3.13 and new simplified Haskell Packaging Guidelines

    
1 @@ -3,3 +3,4 @@
2   /xml-1.3.9.tar.gz
3   /xml-1.3.10.tar.gz
4   /xml-1.3.12.tar.gz
5 + /xml-1.3.13.tar.gz
 1 @@ -1,16 +1,11 @@
 2   # https://fedoraproject.org/wiki/Packaging:Haskell
 3 - # https://fedoraproject.org/wiki/PackagingDrafts/Haskell
 4   
 5   %global pkg_name xml
 6   
 7 - %global common_summary A simple XML library
 8 - 
 9 - %global common_description A simple XML library.
10 - 
11   Name:           ghc-%{pkg_name}
12 - Version:        1.3.12
13 - Release:        7%{?dist}
14 - Summary:        %{common_summary}
15 + Version:        1.3.13
16 + Release:        1%{?dist}
17 + Summary:        A simple XML library
18   
19   License:        BSD
20   URL:            http://hackage.haskell.org/package/%{pkg_name}
21 @@ -24,7 +19,18 @@
22   # End cabal-rpm deps
23   
24   %description
25 - %{common_description}
26 + A simple XML library.
27 + 
28 + 
29 + %package devel
30 + Summary:        Haskell %{pkg_name} library development files
31 + Requires:       ghc-compiler = %{ghc_version}
32 + Requires(post): ghc-compiler = %{ghc_version}
33 + Requires(postun): ghc-compiler = %{ghc_version}
34 + Requires:       %{name} = %{version}-%{release}
35 + 
36 + %description devel
37 + This package provides the Haskell xml library development files.
38   
39   
40   %prep
41 @@ -39,18 +45,26 @@
42   %ghc_lib_install
43   
44   
45 - %ghc_devel_package
46 + %post devel
47 + %ghc_pkg_recache
48 + 
49   
50 - %ghc_devel_description
51 + %postun devel
52 + %ghc_pkg_recache
53   
54   
55 - %ghc_devel_post_postun
56 + %files -f %{name}.files
57 + %doc LICENSE
58   
59   
60 - %ghc_files LICENSE
61 + %files devel -f %{name}-devel.files
62   
63   
64   %changelog
65 + * Mon Jun 03 2013 Jens Petersen <petersen@redhat.com> - 1.3.13-1
66 + - update to 1.3.13
67 + - update to new simplified Haskell Packaging Guidelines
68 + 
69   * Wed Feb 13 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.3.12-7
70   - Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
71   
sources +1 -1
1 @@ -1,1 +1,1 @@
2 - e28f0837f10a91dd14a3f573f961a739  xml-1.3.12.tar.gz
3 + 17823634f69305e8d4cc99b22934a78c  xml-1.3.13.tar.gz