update to cabal-rpm-0.8.0
now part of Haskell Platform 2013.2
This commit is contained in:
parent
d327bc5234
commit
c8fe550627
@ -1,19 +1,12 @@
|
||||
# https://fedoraproject.org/wiki/Packaging:Haskell
|
||||
# https://fedoraproject.org/wiki/PackagingDrafts/Haskell
|
||||
|
||||
%global pkg_name hashable
|
||||
|
||||
%global common_summary Class for types convertable to a hash value
|
||||
|
||||
%global common_description This package defines a class, Hashable, for types that can be\
|
||||
converted to a hash value. This class exists for the benefit of\
|
||||
hashing-based data structures. The package provides instances for\
|
||||
basic types and a way to combine hash values.
|
||||
|
||||
Name: ghc-%{pkg_name}
|
||||
# part of haskell-platform-2013.2
|
||||
Version: 1.1.2.5
|
||||
Release: 2%{?dist}
|
||||
Summary: %{common_summary}
|
||||
Release: 3%{?dist}
|
||||
Summary: Class for types convertable to a hash value
|
||||
|
||||
License: BSD
|
||||
URL: http://hackage.haskell.org/package/%{pkg_name}
|
||||
@ -27,9 +20,23 @@ BuildRequires: ghc-text-devel
|
||||
# End cabal-rpm deps
|
||||
|
||||
%description
|
||||
%{common_description}
|
||||
This package defines a class, 'Hashable', for types that
|
||||
can be converted to a hash value. This class
|
||||
exists for the benefit of hashing-based data
|
||||
structures. The package provides instances for
|
||||
basic types and a way to combine hash values.
|
||||
|
||||
|
||||
%package devel
|
||||
Summary: Haskell %{pkg_name} library development files
|
||||
Requires: %{ghc_compiler}
|
||||
Requires(post): %{ghc_compiler}
|
||||
Requires(postun): %{ghc_compiler}
|
||||
Requires: %{name} = %{version}-%{release}
|
||||
|
||||
%description devel
|
||||
This package provides the Haskell hashable library development files.
|
||||
|
||||
%prep
|
||||
%setup -q -n %{pkg_name}-%{version}
|
||||
|
||||
@ -42,19 +49,27 @@ 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
|
||||
%doc README.md
|
||||
|
||||
|
||||
%changelog
|
||||
* Sat May 4 2013 Jens Petersen <petersen@redhat.com> - 1.1.2.5-3
|
||||
- part of haskell-platform-2013.2
|
||||
- update to cabal-rpm-0.8.0
|
||||
|
||||
* Wed Feb 13 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.1.2.5-2
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user