update to 0.4.1

This commit is contained in:
Jens Petersen 2014-06-04 16:44:44 +09:00
parent dba879a68c
commit ed50eeafda
3 changed files with 27 additions and 6 deletions

1
.gitignore vendored
View File

@ -3,3 +3,4 @@
/syb-0.3.3.tar.gz /syb-0.3.3.tar.gz
/syb-0.3.6.tar.gz /syb-0.3.6.tar.gz
/syb-0.4.0.tar.gz /syb-0.4.0.tar.gz
/syb-0.4.1.tar.gz

View File

@ -2,24 +2,35 @@
%global pkg_name syb %global pkg_name syb
%bcond_without tests
# no useful debuginfo for Haskell packages without C sources
%global debug_package %{nil}
Name: ghc-%{pkg_name} Name: ghc-%{pkg_name}
# part of haskell-platform # part of haskell-platform
Version: 0.4.0 Version: 0.4.1
Release: 35%{?dist} Release: 1%{?dist}
Summary: Scrap Your Boilerplate Summary: Scrap Your Boilerplate
License: BSD License: BSD
URL: http://hackage.haskell.org/package/%{pkg_name} 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-Cabal-devel
BuildRequires: ghc-rpm-macros BuildRequires: ghc-rpm-macros
BuildRequires: dos2unix # Begin cabal-rpm deps:
%if %{with tests}
BuildRequires: ghc-HUnit-devel
BuildRequires: ghc-containers-devel
BuildRequires: ghc-mtl-devel
%endif
# End cabal-rpm deps
%description %description
This package contains the generics system described in the "Scrap Your This package contains the generics system described in the "Scrap Your
Boilerplate" papers (see <http://www.cs.uu.nl/wiki/GenericProgramming/SYB>). Boilerplate" papers (see <http://www.cs.uu.nl/wiki/GenericProgramming/SYB>).
It defines the Data class of types permitting folding and unfolding of It defines the 'Data' class of types permitting folding and unfolding of
constructor applications, instances of this class for primitive types, and constructor applications, instances of this class for primitive types, and
a variety of traversals. a variety of traversals.
@ -49,6 +60,12 @@ dos2unix LICENSE README
%ghc_lib_install %ghc_lib_install
%check
%if %{with tests}
%cabal test
%endif
%post devel %post devel
%ghc_pkg_recache %ghc_pkg_recache
@ -66,6 +83,9 @@ dos2unix LICENSE README
%changelog %changelog
* Wed Jun 04 2014 Jens Petersen <petersen@redhat.com> - 0.4.1-1
- update to 0.4.1 with cblrpm-0.8.11
* Fri Apr 18 2014 Jens Petersen <petersen@redhat.com> - 0.4.0-35 * Fri Apr 18 2014 Jens Petersen <petersen@redhat.com> - 0.4.0-35
- bump over haskell-platform - bump over haskell-platform

View File

@ -1 +1 @@
ec2719d444a6561b2424dcef10b4fe34 syb-0.4.0.tar.gz 28df3b70cef652fa6c04e6353c580a7a syb-0.4.1.tar.gz