update to 0.3.4

This commit is contained in:
Jens Petersen 2015-01-23 13:13:20 +09:00
parent 5e2e22d52c
commit 4784925b52
3 changed files with 25 additions and 5 deletions

1
.gitignore vendored
View File

@ -2,3 +2,4 @@
/unix-time-0.1.5.tar.gz
/unix-time-0.1.8.tar.gz
/unix-time-0.2.2.tar.gz
/unix-time-0.3.4.tar.gz

View File

@ -2,20 +2,30 @@
%global pkg_name unix-time
%bcond_with tests
Name: ghc-%{pkg_name}
Version: 0.2.2
Release: 3%{?dist}
Version: 0.3.4
Release: 1%{?dist}
Summary: Unix time parser/formatter and utilities
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
# Begin cabal-rpm deps:
BuildRequires: ghc-binary-devel
BuildRequires: ghc-bytestring-devel
BuildRequires: ghc-old-time-devel
%if %{with tests}
BuildRequires: ghc-QuickCheck-devel
BuildRequires: ghc-doctest-devel
BuildRequires: ghc-hspec-devel
BuildRequires: ghc-old-locale-devel
BuildRequires: ghc-time-devel
%endif
# End cabal-rpm deps
%description
@ -46,6 +56,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
@ -62,6 +78,9 @@ This package provides the Haskell %{pkg_name} library development files.
%changelog
* Fri Jan 23 2015 Jens Petersen <petersen@redhat.com> - 0.3.4-1
- update to 0.3.4
* Sat Aug 16 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.2.2-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild

View File

@ -1 +1 @@
a58e893cc041c4d55d54b83dd07bf7b6 unix-time-0.2.2.tar.gz
0aa95c153e22f305f9b32d0758f47e54 unix-time-0.3.4.tar.gz