From 6e6214809b4839014b895ef971f675a6e96d9a5e Mon Sep 17 00:00:00 2001 From: Jens Petersen Date: Wed, 24 Jan 2018 15:24:29 +0100 Subject: [PATCH] update to 2.3.4 --- .gitignore | 1 + ghc-colour.spec | 21 +++++++++++++++++++-- sources | 2 +- 3 files changed, 21 insertions(+), 3 deletions(-) diff --git a/.gitignore b/.gitignore index 8a00e2c..c2b8c5d 100644 --- a/.gitignore +++ b/.gitignore @@ -1,3 +1,4 @@ /colour-2.3.1.tar.gz /colour-2.3.2.tar.gz /colour-2.3.3.tar.gz +/colour-2.3.4.tar.gz diff --git a/ghc-colour.spec b/ghc-colour.spec index dedea3c..aec8159 100644 --- a/ghc-colour.spec +++ b/ghc-colour.spec @@ -4,9 +4,11 @@ %global pkg_name colour %global pkgver %{pkg_name}-%{version} +%bcond_with tests + Name: ghc-%{pkg_name} -Version: 2.3.3 -Release: 16%{?dist} +Version: 2.3.4 +Release: 1%{?dist} Summary: A model for human color perception License: MIT @@ -15,6 +17,14 @@ Source0: https://hackage.haskell.org/package/%{pkgver}/%{pkgver}.tar.gz BuildRequires: ghc-Cabal-devel BuildRequires: ghc-rpm-macros +# Begin cabal-rpm deps: +%if %{with tests} +BuildRequires: ghc-QuickCheck-devel +BuildRequires: ghc-random-devel +BuildRequires: ghc-test-framework-devel +BuildRequires: ghc-test-framework-quickcheck2-devel +%endif +# End cabal-rpm deps %description This package provides a data type for colors and transparency. @@ -51,6 +61,10 @@ This package provides the Haskell %{pkg_name} library development files. rm %{buildroot}%{_datadir}/%{pkg_name}-%{version}/{README,CHANGELOG} +%check +%cabal_test + + %post -p /sbin/ldconfig @@ -74,6 +88,9 @@ rm %{buildroot}%{_datadir}/%{pkg_name}-%{version}/{README,CHANGELOG} %changelog +* Wed Jan 24 2018 Jens Petersen - 2.3.4-1 +- update to 2.3.4 + * Wed Aug 02 2017 Fedora Release Engineering - 2.3.3-16 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild diff --git a/sources b/sources index 084f0ec..776f57b 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -6bfdc3f932f581b58b7444381f469777 colour-2.3.3.tar.gz +SHA512 (colour-2.3.4.tar.gz) = c475ed5ced7bcf749facfacf609d2b89a04f496bd6a7301259aa14cbfe6e768d65495f09b046b80f448b27478323a52cc2414954934985259e6f115325d17f9a