update to cblrpm-0.8.11
This commit is contained in:
parent
d98723477e
commit
4fdd670877
@ -2,14 +2,19 @@
|
|||||||
|
|
||||||
%global pkg_name simple-sendfile
|
%global pkg_name simple-sendfile
|
||||||
|
|
||||||
|
%bcond_with tests
|
||||||
|
|
||||||
|
# no useful debuginfo for Haskell packages without C sources
|
||||||
|
%global debug_package %{nil}
|
||||||
|
|
||||||
Name: ghc-%{pkg_name}
|
Name: ghc-%{pkg_name}
|
||||||
Version: 0.2.11
|
Version: 0.2.11
|
||||||
Release: 4%{?dist}
|
Release: 5%{?dist}
|
||||||
Summary: Cross-platform sendfile system call
|
Summary: Cross-platform sendfile system call
|
||||||
|
|
||||||
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
|
||||||
@ -17,6 +22,14 @@ BuildRequires: ghc-rpm-macros
|
|||||||
BuildRequires: ghc-bytestring-devel
|
BuildRequires: ghc-bytestring-devel
|
||||||
BuildRequires: ghc-network-devel
|
BuildRequires: ghc-network-devel
|
||||||
BuildRequires: ghc-unix-devel
|
BuildRequires: ghc-unix-devel
|
||||||
|
%if %{with tests}
|
||||||
|
BuildRequires: ghc-HUnit-devel
|
||||||
|
BuildRequires: ghc-conduit-devel
|
||||||
|
BuildRequires: ghc-directory-devel
|
||||||
|
BuildRequires: ghc-hspec-devel
|
||||||
|
BuildRequires: ghc-network-conduit-devel
|
||||||
|
BuildRequires: ghc-process-devel
|
||||||
|
%endif
|
||||||
# End cabal-rpm deps
|
# End cabal-rpm deps
|
||||||
|
|
||||||
%description
|
%description
|
||||||
@ -27,13 +40,15 @@ since they are a bottleneck for web servers.
|
|||||||
|
|
||||||
%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
|
||||||
@ -48,6 +63,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
|
||||||
|
|
||||||
@ -64,6 +85,9 @@ This package provides the Haskell %{pkg_name} library development files.
|
|||||||
|
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Tue Jun 10 2014 Jens Petersen <petersen@redhat.com> - 0.2.11-5
|
||||||
|
- update to cblrpm-0.8.11
|
||||||
|
|
||||||
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.2.11-4
|
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.2.11-4
|
||||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user