update to 0.4.1
This commit is contained in:
parent
dba879a68c
commit
ed50eeafda
1
.gitignore
vendored
1
.gitignore
vendored
@ -3,3 +3,4 @@
|
||||
/syb-0.3.3.tar.gz
|
||||
/syb-0.3.6.tar.gz
|
||||
/syb-0.4.0.tar.gz
|
||||
/syb-0.4.1.tar.gz
|
||||
|
30
ghc-syb.spec
30
ghc-syb.spec
@ -2,24 +2,35 @@
|
||||
|
||||
%global pkg_name syb
|
||||
|
||||
%bcond_without tests
|
||||
|
||||
# no useful debuginfo for Haskell packages without C sources
|
||||
%global debug_package %{nil}
|
||||
|
||||
Name: ghc-%{pkg_name}
|
||||
# part of haskell-platform
|
||||
Version: 0.4.0
|
||||
Release: 35%{?dist}
|
||||
Version: 0.4.1
|
||||
Release: 1%{?dist}
|
||||
Summary: Scrap Your Boilerplate
|
||||
|
||||
License: BSD
|
||||
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
|
||||
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
|
||||
This package contains the generics system described in the "Scrap Your
|
||||
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
|
||||
a variety of traversals.
|
||||
|
||||
@ -49,6 +60,12 @@ dos2unix LICENSE README
|
||||
%ghc_lib_install
|
||||
|
||||
|
||||
%check
|
||||
%if %{with tests}
|
||||
%cabal test
|
||||
%endif
|
||||
|
||||
|
||||
%post devel
|
||||
%ghc_pkg_recache
|
||||
|
||||
@ -66,6 +83,9 @@ dos2unix LICENSE README
|
||||
|
||||
|
||||
%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
|
||||
- bump over haskell-platform
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user