cblrpm refresh

This commit is contained in:
Jens Petersen 2015-01-27 23:51:46 +09:00
parent 83675bfb5a
commit 949fd08371
1 changed files with 25 additions and 5 deletions

View File

@ -2,14 +2,16 @@
%global pkg_name uuid
%bcond_with tests
Name: ghc-%{pkg_name}
Version: 1.2.13
Release: 3%{?dist}
Release: 4%{?dist}
Summary: For creating, comparing, parsing and printing Universally Unique Identifiers
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
@ -20,6 +22,14 @@ BuildRequires: ghc-cryptohash-devel
BuildRequires: ghc-maccatcher-devel
BuildRequires: ghc-random-devel
BuildRequires: ghc-time-devel
%if %{with tests}
BuildRequires: ghc-HUnit-devel
BuildRequires: ghc-QuickCheck-devel
BuildRequires: ghc-containers-devel
BuildRequires: ghc-criterion-devel
BuildRequires: ghc-deepseq-devel
BuildRequires: ghc-mersenne-random-pure64-devel
%endif
# End cabal-rpm deps
%description
@ -30,13 +40,14 @@ general idea.
%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 development files for the Haskell %{pkg_name} library.
This package provides the Haskell %{pkg_name} library development files.
%prep
@ -51,6 +62,12 @@ This package provides the development files for the Haskell %{pkg_name} library.
%ghc_lib_install
%check
%if %{with tests}
%cabal test
%endif
%post devel
%ghc_pkg_recache
@ -67,6 +84,9 @@ This package provides the development files for the Haskell %{pkg_name} library.
%changelog
* Tue Jan 27 2015 Jens Petersen <petersen@fedoraproject.org> - 1.2.13-4
- cblrpm refresh
* Sat Aug 16 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.2.13-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild