cblrpm refresh

This commit is contained in:
Jens Petersen 2015-01-27 00:04:51 +09:00
parent ec3cb6f4d1
commit 63755334f2

View File

@ -2,18 +2,25 @@
%global pkg_name split
%bcond_without tests
Name: ghc-%{pkg_name}
# part of haskell-platform-2012.4+
Version: 0.2.2
Release: 4%{?dist}
Release: 5%{?dist}
Summary: Combinator library for splitting lists
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
# Begin cabal-rpm deps:
%if %{with tests}
BuildRequires: ghc-QuickCheck-devel
%endif
# End cabal-rpm deps
%description
A collection of various methods for splitting
@ -43,10 +50,11 @@ To get started, see the "Data.List.Split" module.
%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.
@ -64,6 +72,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
@ -77,10 +91,13 @@ This package provides the Haskell %{pkg_name} library development files.
%files devel -f %{name}-devel.files
%doc CHANGES
%doc CHANGES README
%changelog
* Mon Jan 26 2015 Jens Petersen <petersen@fedoraproject.org> - 0.2.2-5
- cblrpm refresh
* Sat Aug 16 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.2.2-4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild