update to 0.10.1
This commit is contained in:
parent
c051773f6d
commit
284df8a645
|
@ -1 +1,2 @@
|
|||
/SafeSemaphore-0.9.0.tar.gz
|
||||
/SafeSemaphore-0.10.1.tar.gz
|
||||
|
|
|
@ -2,20 +2,28 @@
|
|||
|
||||
%global pkg_name SafeSemaphore
|
||||
|
||||
%bcond_without tests
|
||||
|
||||
# no useful debuginfo for Haskell packages without C sources
|
||||
%global debug_package %{nil}
|
||||
|
||||
Name: ghc-%{pkg_name}
|
||||
Version: 0.9.0
|
||||
Release: 4%{?dist}
|
||||
Version: 0.10.1
|
||||
Release: 1%{?dist}
|
||||
Summary: Much safer replacement for QSemN, QSem, and SampleVar
|
||||
|
||||
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-containers-devel
|
||||
BuildRequires: ghc-stm-devel
|
||||
%if %{with tests}
|
||||
BuildRequires: ghc-HUnit-devel
|
||||
%endif
|
||||
# End cabal-rpm deps
|
||||
|
||||
%description
|
||||
|
@ -26,13 +34,15 @@ See <https://github.com/ChrisKuklewicz/SafeSemaphore> for more details.
|
|||
|
||||
%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 SafeSemaphore library development files.
|
||||
This package provides the Haskell %{pkg_name} library development files.
|
||||
|
||||
|
||||
%prep
|
||||
%setup -q -n %{pkg_name}-%{version}
|
||||
|
@ -46,6 +56,12 @@ This package provides the Haskell SafeSemaphore library development files.
|
|||
%ghc_lib_install
|
||||
|
||||
|
||||
%check
|
||||
%if %{with tests}
|
||||
%cabal test
|
||||
%endif
|
||||
|
||||
|
||||
%post devel
|
||||
%ghc_pkg_recache
|
||||
|
||||
|
@ -62,6 +78,10 @@ This package provides the Haskell SafeSemaphore library development files.
|
|||
|
||||
|
||||
%changelog
|
||||
* Fri Aug 29 2014 Jens Petersen <petersen@redhat.com> - 0.10.1-1
|
||||
- update to 0.10.1
|
||||
- refresh to cblrpm-0.8.11
|
||||
|
||||
* Sat Aug 16 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.9.0-4
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
|
||||
|
||||
|
|
Loading…
Reference in New Issue