cblrpm refresh
This commit is contained in:
parent
17302df74f
commit
da0727afda
|
@ -2,14 +2,16 @@
|
|||
|
||||
%global pkg_name cryptohash
|
||||
|
||||
%bcond_with tests
|
||||
|
||||
Name: ghc-%{pkg_name}
|
||||
Version: 0.9.0
|
||||
Release: 5%{?dist}
|
||||
Summary: Crypto hashes, fast, pure and practical
|
||||
Release: 6%{?dist}
|
||||
Summary: Collection of crypto hashes, fast, pure and practical
|
||||
|
||||
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
|
||||
Url: https://hackage.haskell.org/package/%{pkg_name}
|
||||
Source0: https://hackage.haskell.org/package/%{pkg_name}-%{version}/%{pkg_name}-%{version}.tar.gz
|
||||
|
||||
BuildRequires: ghc-Cabal-devel
|
||||
BuildRequires: ghc-rpm-macros
|
||||
|
@ -18,6 +20,13 @@ BuildRequires: ghc-bytestring-devel
|
|||
BuildRequires: ghc-cereal-devel
|
||||
BuildRequires: ghc-crypto-api-devel
|
||||
BuildRequires: ghc-tagged-devel
|
||||
%if %{with tests}
|
||||
BuildRequires: ghc-HUnit-devel
|
||||
BuildRequires: ghc-QuickCheck-devel
|
||||
BuildRequires: ghc-test-framework-devel
|
||||
BuildRequires: ghc-test-framework-hunit-devel
|
||||
BuildRequires: ghc-test-framework-quickcheck2-devel
|
||||
%endif
|
||||
# End cabal-rpm deps
|
||||
|
||||
%description
|
||||
|
@ -29,10 +38,11 @@ a Haskell FFI wrapper that hide the C implementation.
|
|||
|
||||
%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.
|
||||
|
@ -52,6 +62,12 @@ This package provides the Haskell %{pkg_name} library development files.
|
|||
rm %{buildroot}%{_datadir}/%{pkg_name}-%{version}/README.md
|
||||
|
||||
|
||||
%check
|
||||
%if %{with tests}
|
||||
%cabal test
|
||||
%endif
|
||||
|
||||
|
||||
%post devel
|
||||
%ghc_pkg_recache
|
||||
|
||||
|
@ -69,6 +85,9 @@ rm %{buildroot}%{_datadir}/%{pkg_name}-%{version}/README.md
|
|||
|
||||
|
||||
%changelog
|
||||
* Tue Jan 27 2015 Jens Petersen <petersen@fedoraproject.org> - 0.9.0-6
|
||||
- cblrpm refresh
|
||||
|
||||
* Sat Aug 16 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.9.0-5
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
|
||||
|
||||
|
|
Loading…
Reference in New Issue