update to 1.2.1.1

This commit is contained in:
Jens Petersen 2014-08-28 18:19:28 +09:00
parent 32b2e8e43e
commit 5d9cbc1fd0
3 changed files with 25 additions and 5 deletions

1
.gitignore vendored
View File

@ -10,3 +10,4 @@
/shakespeare-1.0.4.tar.gz
/shakespeare-1.0.5.tar.gz
/shakespeare-1.0.5.1.tar.gz
/shakespeare-1.2.1.1.tar.gz

View File

@ -2,14 +2,19 @@
%global pkg_name shakespeare
%bcond_with tests
# no useful debuginfo for Haskell packages without C sources
%global debug_package %{nil}
Name: ghc-%{pkg_name}
Version: 1.0.5.1
Release: 3%{?dist}
Version: 1.2.1.1
Release: 1%{?dist}
Summary: Toolkit for compile-time interpolated templates
License: MIT
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
@ -23,6 +28,9 @@ BuildRequires: ghc-template-haskell-devel
BuildRequires: ghc-text-devel
BuildRequires: ghc-time-devel
ExclusiveArch: %{ghc_arches_with_ghci}
%if %{with tests}
BuildRequires: ghc-hspec-devel
%endif
# End cabal-rpm deps
%description
@ -39,10 +47,11 @@ 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 %{pkg_name} library development files.
@ -60,6 +69,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
@ -76,6 +91,10 @@ This package provides the Haskell %{pkg_name} library development files.
%changelog
* Thu Aug 28 2014 Jens Petersen <petersen@redhat.com> - 1.2.1.1-1
- update to 1.2.1.1
- refresh to cblrpm-0.8.11
* Sat Aug 16 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.0.5.1-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild

View File

@ -1 +1 @@
08d02e84e34e1eedc5aa178c3a00973a shakespeare-1.0.5.1.tar.gz
376e7fdadbc844340ee73a28ec387d6b shakespeare-1.2.1.1.tar.gz