cblrpm refresh

epel9
Jens Petersen 10 years ago
parent b226017965
commit 63e00977f2

@ -2,19 +2,29 @@
%global pkg_name base64-bytestring %global pkg_name base64-bytestring
%bcond_with tests
Name: ghc-%{pkg_name} Name: ghc-%{pkg_name}
Version: 1.0.0.1 Version: 1.0.0.1
Release: 5%{?dist} Release: 6%{?dist}
Summary: Fast base64 encoding and decoding for ByteStrings Summary: Fast base64 encoding and decoding for ByteStrings
License: BSD License: BSD
URL: http://hackage.haskell.org/package/%{pkg_name} Url: https://hackage.haskell.org/package/%{pkg_name}
Source0: http://hackage.haskell.org/packages/archive/%{pkg_name}/%{version}/%{pkg_name}-%{version}.tar.gz Source0: https://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
%if %{with tests}
BuildRequires: ghc-HUnit-devel
BuildRequires: ghc-QuickCheck-devel
BuildRequires: ghc-containers-devel
BuildRequires: ghc-test-framework-devel
BuildRequires: ghc-test-framework-hunit-devel
BuildRequires: ghc-test-framework-quickcheck2-devel
%endif
# End cabal-rpm deps # End cabal-rpm deps
%description %description
@ -23,13 +33,15 @@ Fast base64 encoding and decoding for ByteStrings.
%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.
%prep %prep
@ -44,6 +56,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
@ -61,6 +79,9 @@ This package provides the Haskell %{pkg_name} library development files.
%changelog %changelog
* Wed Jan 28 2015 Jens Petersen <petersen@redhat.com> - 1.0.0.1-6
- cblrpm refresh
* Sat Aug 16 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.0.0.1-5 * Sat Aug 16 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.0.0.1-5
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild

Loading…
Cancel
Save