update to 0.7.1
This commit is contained in:
parent
b3ac49fca5
commit
7995ac3a9a
|
@ -1 +1,2 @@
|
|||
/dlist-0.5.tar.gz
|
||||
/dlist-0.7.1.tar.gz
|
||||
|
|
|
@ -2,20 +2,29 @@
|
|||
|
||||
%global pkg_name dlist
|
||||
|
||||
# no useful debuginfo for Haskell packages without C sources
|
||||
%global debug_package %{nil}
|
||||
|
||||
Name: ghc-%{pkg_name}
|
||||
Version: 0.5
|
||||
Release: 13%{?dist}
|
||||
Summary: Haskell differences lists
|
||||
Version: 0.7.1
|
||||
Release: 1%{?dist}
|
||||
Summary: Difference 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
|
||||
Source0: http://hackage.haskell.org/package/%{pkg_name}-%{version}/%{pkg_name}-%{version}.tar.gz
|
||||
|
||||
BuildRequires: ghc-Cabal-devel
|
||||
BuildRequires: ghc-rpm-macros
|
||||
# Begin cabal-rpm deps:
|
||||
BuildRequires: ghc-deepseq-devel
|
||||
%if %{with tests}
|
||||
BuildRequires: ghc-QuickCheck-devel
|
||||
%endif
|
||||
# End cabal-rpm deps
|
||||
|
||||
%description
|
||||
Differences lists: a list-like type supporting O(1) append.
|
||||
Difference lists: a list-like type supporting O(1) append.
|
||||
This is particularly useful for efficient logging and pretty
|
||||
printing, (e.g. with the Writer monad), where list append
|
||||
quickly becomes too expensive.
|
||||
|
@ -23,10 +32,11 @@ quickly becomes too expensive.
|
|||
|
||||
%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.
|
||||
|
@ -44,6 +54,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
|
||||
|
||||
|
@ -60,6 +76,10 @@ This package provides the Haskell %{pkg_name} library development files.
|
|||
|
||||
|
||||
%changelog
|
||||
* Wed Oct 29 2014 Jens Petersen <petersen@redhat.com> - 0.7.1-1
|
||||
- update to 0.7.1
|
||||
- refresh to cblrpm-0.8.11
|
||||
|
||||
* Sat Aug 16 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.5-13
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
|
||||
|
||||
|
|
Loading…
Reference in New Issue