cblrpm refresh

This commit is contained in:
Jens Petersen 2015-01-27 22:51:43 +09:00
parent b0d4521172
commit 5904d370a1
1 changed files with 19 additions and 4 deletions

View File

@ -2,14 +2,16 @@
%global pkg_name fsnotify
%bcond_with tests
Name: ghc-%{pkg_name}
Version: 0.0.11
Release: 3%{?dist}
Release: 4%{?dist}
Summary: Cross platform library for file change notification
License: BSD
URL: http://hackage.haskell.org/package/%{pkg_name}
Source0: http://hackage.haskell.org/package/%{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
@ -20,6 +22,14 @@ BuildRequires: ghc-system-fileio-devel
BuildRequires: ghc-system-filepath-devel
BuildRequires: ghc-text-devel
BuildRequires: ghc-time-devel
%if %{with tests}
BuildRequires: ghc-Glob-devel
BuildRequires: ghc-QuickCheck-devel
BuildRequires: ghc-bytestring-devel
BuildRequires: ghc-hspec-devel
BuildRequires: ghc-random-devel
BuildRequires: ghc-uniqueid-devel
%endif
# End cabal-rpm deps
%description
@ -53,7 +63,9 @@ This package provides the Haskell %{pkg_name} library development files.
%check
# requires hspec, Glob, uniqueid
%if %{with tests}
%cabal test
%endif
%post devel
@ -72,6 +84,9 @@ This package provides the Haskell %{pkg_name} library development files.
%changelog
* Tue Jan 27 2015 Jens Petersen <petersen@fedoraproject.org> - 0.0.11-4
- cblrpm refresh
* Sat Aug 16 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.0.11-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild