From d9b7faaa28fd87c629a874f74087807ef17777d8 Mon Sep 17 00:00:00 2001 From: Jens Petersen Date: Thu, 8 Jul 2021 11:17:58 +0800 Subject: [PATCH] update to 2.6.4.1 --- .gitignore | 1 + ghc-network-uri.spec | 23 ++++++++++++++++++++--- sources | 2 +- 3 files changed, 22 insertions(+), 4 deletions(-) diff --git a/.gitignore b/.gitignore index 5ecbe43..18da4e6 100644 --- a/.gitignore +++ b/.gitignore @@ -2,3 +2,4 @@ /network-uri-2.6.1.0.tar.gz /network-uri-2.6.2.0.tar.gz /network-uri-2.6.3.0.tar.gz +/network-uri-2.6.4.1.tar.gz diff --git a/ghc-network-uri.spec b/ghc-network-uri.spec index cc897db..9063ca2 100644 --- a/ghc-network-uri.spec +++ b/ghc-network-uri.spec @@ -4,11 +4,11 @@ %global pkg_name network-uri %global pkgver %{pkg_name}-%{version} -# testsuite missing deps: test-framework test-framework-hunit test-framework-quickcheck2 +%bcond_without tests Name: ghc-%{pkg_name} -Version: 2.6.3.0 -Release: 5%{?dist} +Version: 2.6.4.1 +Release: 1%{?dist} Summary: URI manipulation License: BSD @@ -24,6 +24,14 @@ BuildRequires: ghc-base-prof BuildRequires: ghc-deepseq-prof BuildRequires: ghc-parsec-prof BuildRequires: ghc-template-haskell-prof +BuildRequires: ghc-th-compat-prof +%if %{with tests} +BuildRequires: ghc-HUnit-devel +BuildRequires: ghc-QuickCheck-devel +BuildRequires: ghc-tasty-devel +BuildRequires: ghc-tasty-hunit-devel +BuildRequires: ghc-tasty-quickcheck-devel +%endif # End cabal-rpm deps %description @@ -83,6 +91,12 @@ This package provides the Haskell %{pkg_name} profiling library. # End cabal-rpm install +%check +%if %{with tests} +%cabal_test +%endif + + %files -f %{name}.files # Begin cabal-rpm files: %license LICENSE @@ -105,6 +119,9 @@ This package provides the Haskell %{pkg_name} profiling library. %changelog +* Thu Aug 5 2021 Jens Petersen - 2.6.4.1-1 +- update to 2.6.4.1 + * Thu Jul 22 2021 Fedora Release Engineering - 2.6.3.0-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild diff --git a/sources b/sources index 188b8b9..d2165c2 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (network-uri-2.6.3.0.tar.gz) = 15091367e4543de1e2af0d81973b8e456e2c5f5295dcd7a91b91f46c2e07a6a655c6ab4c0837ce7566b21b43bca3569c1b27bb7f437572b09d00e678c7b512f0 +SHA512 (network-uri-2.6.4.1.tar.gz) = 8e5b01fd11197ac36de9b804d37256662f904f2b94a997a2e262439bb1706d1c460db368e935bf3971fd1581162abbc07439a0bae391e1e616264bd00fe7104e