update to 1.3.13 and new simplified Haskell Packaging Guidelines
This commit is contained in:
parent
e278dcc639
commit
790f6e707d
1
.gitignore
vendored
1
.gitignore
vendored
@ -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
|
||||
|
42
ghc-xml.spec
42
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
|
||||
|
||||
%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 <petersen@redhat.com> - 1.3.13-1
|
||||
- update to 1.3.13
|
||||
- update to new simplified Haskell Packaging Guidelines
|
||||
|
||||
* Wed Feb 13 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.3.12-7
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user