update to 1.2.1.0
This commit is contained in:
parent
e45cbf1a6f
commit
56dd712b25
1
.gitignore
vendored
1
.gitignore
vendored
@ -2,3 +2,4 @@
|
||||
/hashable-1.1.2.2.tar.gz
|
||||
/hashable-1.1.2.3.tar.gz
|
||||
/hashable-1.1.2.5.tar.gz
|
||||
/hashable-1.2.1.0.tar.gz
|
||||
|
@ -2,37 +2,48 @@
|
||||
|
||||
%global pkg_name hashable
|
||||
|
||||
%bcond_with tests
|
||||
|
||||
Name: ghc-%{pkg_name}
|
||||
# part of haskell-platform-2013.2
|
||||
Version: 1.1.2.5
|
||||
Release: 4%{?dist}
|
||||
# part of haskell-platform
|
||||
Version: 1.2.1.0
|
||||
Release: 1%{?dist}
|
||||
Summary: Class for types convertible to a hash value
|
||||
|
||||
License: BSD
|
||||
URL: http://hackage.haskell.org/package/%{pkg_name}
|
||||
Source0: http://hackage.haskell.org/packages/archive/%{pkg_name}/%{version}/%{pkg_name}-%{version}.tar.gz
|
||||
Source0: http://hackage.haskell.org/package/%{pkg_name}-%{version}/%{pkg_name}-%{version}.tar.gz
|
||||
|
||||
BuildRequires: ghc-Cabal-devel
|
||||
BuildRequires: ghc-rpm-macros
|
||||
# Begin cabal-rpm deps:
|
||||
BuildRequires: ghc-bytestring-devel
|
||||
BuildRequires: ghc-text-devel
|
||||
%if %{with tests}
|
||||
BuildRequires: ghc-HUnit-devel
|
||||
BuildRequires: ghc-QuickCheck-devel
|
||||
BuildRequires: ghc-random-devel
|
||||
BuildRequires: ghc-test-framework-devel
|
||||
BuildRequires: ghc-test-framework-hunit-devel
|
||||
BuildRequires: ghc-test-framework-quickcheck2-devel
|
||||
BuildRequires: ghc-unix-devel
|
||||
%endif
|
||||
# End cabal-rpm deps
|
||||
|
||||
%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.
|
||||
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
|
||||
Provides: %{name}-static = %{version}-%{release}
|
||||
Requires: ghc-compiler = %{ghc_version}
|
||||
Requires(post): ghc-compiler = %{ghc_version}
|
||||
Requires(postun): ghc-compiler = %{ghc_version}
|
||||
Requires: %{name} = %{version}-%{release}
|
||||
Requires: %{name}%{?_isa} = %{version}-%{release}
|
||||
|
||||
%description devel
|
||||
This package provides the Haskell %{pkg_name} library development files.
|
||||
@ -50,6 +61,12 @@ This package provides the Haskell %{pkg_name} library development files.
|
||||
%ghc_lib_install
|
||||
|
||||
|
||||
%check
|
||||
%if %{with tests}
|
||||
%cabal test
|
||||
%endif
|
||||
|
||||
|
||||
%post devel
|
||||
%ghc_pkg_recache
|
||||
|
||||
@ -67,6 +84,9 @@ This package provides the Haskell %{pkg_name} library development files.
|
||||
|
||||
|
||||
%changelog
|
||||
* Tue Jun 03 2014 Jens Petersen <petersen@redhat.com> - 1.2.1.0-1
|
||||
- update to 1.2.1.0 with cblrpm-0.8.11
|
||||
|
||||
* Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.1.2.5-4
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user