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.2.tar.gz
|
||||||
/hashable-1.1.2.3.tar.gz
|
/hashable-1.1.2.3.tar.gz
|
||||||
/hashable-1.1.2.5.tar.gz
|
/hashable-1.1.2.5.tar.gz
|
||||||
|
/hashable-1.2.1.0.tar.gz
|
||||||
|
@ -2,37 +2,48 @@
|
|||||||
|
|
||||||
%global pkg_name hashable
|
%global pkg_name hashable
|
||||||
|
|
||||||
|
%bcond_with tests
|
||||||
|
|
||||||
Name: ghc-%{pkg_name}
|
Name: ghc-%{pkg_name}
|
||||||
# part of haskell-platform-2013.2
|
# part of haskell-platform
|
||||||
Version: 1.1.2.5
|
Version: 1.2.1.0
|
||||||
Release: 4%{?dist}
|
Release: 1%{?dist}
|
||||||
Summary: Class for types convertible to a hash value
|
Summary: Class for types convertible to a hash value
|
||||||
|
|
||||||
License: BSD
|
License: BSD
|
||||||
URL: http://hackage.haskell.org/package/%{pkg_name}
|
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-Cabal-devel
|
||||||
BuildRequires: ghc-rpm-macros
|
BuildRequires: ghc-rpm-macros
|
||||||
# Begin cabal-rpm deps:
|
# Begin cabal-rpm deps:
|
||||||
BuildRequires: ghc-bytestring-devel
|
BuildRequires: ghc-bytestring-devel
|
||||||
BuildRequires: ghc-text-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
|
# End cabal-rpm deps
|
||||||
|
|
||||||
%description
|
%description
|
||||||
This package defines a class, 'Hashable', for types that
|
This package defines a class, 'Hashable', for types that can be converted to a
|
||||||
can be converted to a hash value. This class
|
hash value. This class exists for the benefit of hashing-based data structures.
|
||||||
exists for the benefit of hashing-based data
|
The package provides instances for basic types and a way to combine hash
|
||||||
structures. The package provides instances for
|
values.
|
||||||
basic types and a way to combine hash values.
|
|
||||||
|
|
||||||
|
|
||||||
%package devel
|
%package devel
|
||||||
Summary: Haskell %{pkg_name} library development files
|
Summary: Haskell %{pkg_name} library development files
|
||||||
|
Provides: %{name}-static = %{version}-%{release}
|
||||||
Requires: ghc-compiler = %{ghc_version}
|
Requires: ghc-compiler = %{ghc_version}
|
||||||
Requires(post): ghc-compiler = %{ghc_version}
|
Requires(post): ghc-compiler = %{ghc_version}
|
||||||
Requires(postun): ghc-compiler = %{ghc_version}
|
Requires(postun): ghc-compiler = %{ghc_version}
|
||||||
Requires: %{name} = %{version}-%{release}
|
Requires: %{name}%{?_isa} = %{version}-%{release}
|
||||||
|
|
||||||
%description devel
|
%description devel
|
||||||
This package provides the Haskell %{pkg_name} library development files.
|
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
|
%ghc_lib_install
|
||||||
|
|
||||||
|
|
||||||
|
%check
|
||||||
|
%if %{with tests}
|
||||||
|
%cabal test
|
||||||
|
%endif
|
||||||
|
|
||||||
|
|
||||||
%post devel
|
%post devel
|
||||||
%ghc_pkg_recache
|
%ghc_pkg_recache
|
||||||
|
|
||||||
@ -67,6 +84,9 @@ This package provides the Haskell %{pkg_name} library development files.
|
|||||||
|
|
||||||
|
|
||||||
%changelog
|
%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
|
* 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
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user