update to 0.3.14
This commit is contained in:
parent
2017129284
commit
b5a29ef71e
1
.gitignore
vendored
1
.gitignore
vendored
@ -2,3 +2,4 @@
|
||||
/safe-0.3.3.tar.gz
|
||||
/safe-0.3.8.tar.gz
|
||||
/safe-0.3.9.tar.gz
|
||||
/safe-0.3.14.tar.gz
|
||||
|
@ -1,18 +1,28 @@
|
||||
# generated by cabal-rpm-0.11.1
|
||||
# https://fedoraproject.org/wiki/Packaging:Haskell
|
||||
|
||||
%global pkg_name safe
|
||||
%global pkgver %{pkg_name}-%{version}
|
||||
|
||||
%bcond_without tests
|
||||
|
||||
Name: ghc-%{pkg_name}
|
||||
Version: 0.3.9
|
||||
Release: 3%{?dist}
|
||||
Version: 0.3.14
|
||||
Release: 1%{?dist}
|
||||
Summary: Library of safe (exception free) functions
|
||||
|
||||
License: BSD
|
||||
Url: https://hackage.haskell.org/package/%{pkg_name}
|
||||
Source0: https://hackage.haskell.org/package/%{pkg_name}-%{version}/%{pkg_name}-%{version}.tar.gz
|
||||
Source0: https://hackage.haskell.org/package/%{pkgver}/%{pkgver}.tar.gz
|
||||
|
||||
BuildRequires: ghc-Cabal-devel
|
||||
BuildRequires: ghc-rpm-macros
|
||||
# Begin cabal-rpm deps:
|
||||
%if %{with tests}
|
||||
BuildRequires: ghc-QuickCheck-devel
|
||||
BuildRequires: ghc-deepseq-devel
|
||||
%endif
|
||||
# End cabal-rpm deps
|
||||
|
||||
%description
|
||||
A library wrapping 'Prelude'/'Data.List' functions that can throw exceptions,
|
||||
@ -55,7 +65,7 @@ This package provides the Haskell %{pkg_name} library development files.
|
||||
|
||||
|
||||
%prep
|
||||
%setup -q -n %{pkg_name}-%{version}
|
||||
%setup -q -n %{pkgver}
|
||||
|
||||
|
||||
%build
|
||||
@ -66,6 +76,10 @@ This package provides the Haskell %{pkg_name} library development files.
|
||||
%ghc_lib_install
|
||||
|
||||
|
||||
%check
|
||||
%cabal_test
|
||||
|
||||
|
||||
%post devel
|
||||
%ghc_pkg_recache
|
||||
|
||||
@ -79,10 +93,13 @@ This package provides the Haskell %{pkg_name} library development files.
|
||||
|
||||
|
||||
%files devel -f %{name}-devel.files
|
||||
%doc README.md
|
||||
%doc CHANGES.txt README.md
|
||||
|
||||
|
||||
%changelog
|
||||
* Thu Feb 23 2017 Jens Petersen <petersen@redhat.com> - 0.3.14-1
|
||||
- update to 0.3.14
|
||||
|
||||
* Fri Feb 10 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.3.9-3
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user