update to 0.3.4
This commit is contained in:
parent
5e2e22d52c
commit
4784925b52
1
.gitignore
vendored
1
.gitignore
vendored
@ -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
|
||||
|
@ -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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user