From f74dc0583499820530993e415e90bce96e461219 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jason=20=E3=83=86=E3=82=A3=E3=83=93=E3=83=84?= Date: Wed, 27 Jan 2010 05:22:58 +0000 Subject: [PATCH 01/77] Setup of module ghc-QuickCheck --- .cvsignore | 0 Makefile | 21 +++++++++++++++++++++ sources | 0 3 files changed, 21 insertions(+) create mode 100644 .cvsignore create mode 100644 Makefile create mode 100644 sources diff --git a/.cvsignore b/.cvsignore new file mode 100644 index 0000000..e69de29 diff --git a/Makefile b/Makefile new file mode 100644 index 0000000..59aebf4 --- /dev/null +++ b/Makefile @@ -0,0 +1,21 @@ +# Makefile for source rpm: ghc-QuickCheck +# $Id$ +NAME := ghc-QuickCheck +SPECFILE = $(firstword $(wildcard *.spec)) + +define find-makefile-common +for d in common ../common ../../common ; do if [ -f $$d/Makefile.common ] ; then if [ -f $$d/CVS/Root -a -w $$d/Makefile.common ] ; then cd $$d ; cvs -Q update ; fi ; echo "$$d/Makefile.common" ; break ; fi ; done +endef + +MAKEFILE_COMMON := $(shell $(find-makefile-common)) + +ifeq ($(MAKEFILE_COMMON),) +# attept a checkout +define checkout-makefile-common +test -f CVS/Root && { cvs -Q -d $$(cat CVS/Root) checkout common && echo "common/Makefile.common" ; } || { echo "ERROR: I can't figure out how to checkout the 'common' module." ; exit -1 ; } >&2 +endef + +MAKEFILE_COMMON := $(shell $(checkout-makefile-common)) +endif + +include $(MAKEFILE_COMMON) diff --git a/sources b/sources new file mode 100644 index 0000000..e69de29 From f9c336cdfc61334c1611a217d28a81dccfcabdb4 Mon Sep 17 00:00:00 2001 From: Jens Petersen Date: Wed, 27 Jan 2010 07:20:15 +0000 Subject: [PATCH 02/77] initial import (#557391) --- .cvsignore | 1 + ghc-QuickCheck.spec | 79 +++++++++++++++++++++++++++++++++++++++++++++ import.log | 1 + sources | 1 + 4 files changed, 82 insertions(+) create mode 100644 ghc-QuickCheck.spec create mode 100644 import.log diff --git a/.cvsignore b/.cvsignore index e69de29..d07ca1e 100644 --- a/.cvsignore +++ b/.cvsignore @@ -0,0 +1 @@ +QuickCheck-2.1.0.2.tar.gz diff --git a/ghc-QuickCheck.spec b/ghc-QuickCheck.spec new file mode 100644 index 0000000..d3ee90d --- /dev/null +++ b/ghc-QuickCheck.spec @@ -0,0 +1,79 @@ +%global pkg_name QuickCheck + +%global common_summary Automatic testing of Haskell programs + +%global common_description QuickCheck80 is a library for random testing of program properties.\ +\ +The programmer provides a specification of the program, in the form of\ +properties which functions should satisfy, and QuickCheck then tests that\ +the properties hold in a large number of randomly generated cases.\ +\ +Specifications are expressed in Haskell, using combinators defined in\ +the QuickCheck library. QuickCheck provides combinators to define properties,\ +observe the distribution of test data, and define test data generators. + +# Haskell library dependencies: +%global ghc_pkg_deps ghc-mtl-devel + +%bcond_without shared + +# debuginfo is not useful for ghc +%global debug_package %{nil} + +Name: ghc-%{pkg_name} +# part of haskell-platform-2009.3.1 +Version: 2.1.0.2 +Release: 2%{?dist} +Summary: %{common_summary} + +Group: System Environment/Libraries +License: BSD +URL: http://hackage.haskell.org/cgi-bin/hackage-scripts/package/%{pkg_name} +Source0: http://hackage.haskell.org/packages/archive/%{pkg_name}/%{version}/%{pkg_name}-%{version}.tar.gz +# fedora ghc archs: +ExclusiveArch: %{ix86} x86_64 ppc alpha +BuildRequires: ghc, ghc-rpm-macros >= 0.5.1 +BuildRequires: ghc-doc +BuildRequires: ghc-prof +%{?ghc_pkg_deps:BuildRequires: %{ghc_pkg_deps}, %(echo %{ghc_pkg_deps} | sed -e "s/\(ghc-[^, ]\+\)-devel/\1-doc,\1-prof/g")} +%{?ghc_pkg_c_deps:BuildRequires: %{ghc_pkg_c_deps}} + +%description +%{common_description} +%if %{with shared} +This package provides the shared library. +%endif + + +%ghc_lib_package + + +%prep +%setup -q -n %{pkg_name}-%{version} + + +%build +%cabal_configure --ghc -p +%cabal build +%cabal haddock + + +%install +%cabal_install +%cabal_pkg_conf + +%ghc_gen_filelists + + +%clean +rm -rf $RPM_BUILD_ROOT + + +%changelog +* Thu Jan 21 2010 Jens Petersen - 2.1.0.2-2 +- BSD license +- summary and description +- comment part of haskell-platform-2009.3.1 + +* Thu Jan 21 2010 Fedora Haskell SIG - 2.1.0.2-1 +- initial packaging for Fedora automatically generated by cabal2spec-0.21.1 diff --git a/import.log b/import.log new file mode 100644 index 0000000..adbda04 --- /dev/null +++ b/import.log @@ -0,0 +1 @@ +ghc-QuickCheck-2_1_0_2-2_fc12:HEAD:ghc-QuickCheck-2.1.0.2-2.fc12.src.rpm:1264576772 diff --git a/sources b/sources index e69de29..d800678 100644 --- a/sources +++ b/sources @@ -0,0 +1 @@ +a31dab3b27d633b67fa02ad6c345cee1 QuickCheck-2.1.0.2.tar.gz From 884c0a12015ed67e3c78b29bf551d44a0ac48098 Mon Sep 17 00:00:00 2001 From: Jens Petersen Date: Tue, 23 Mar 2010 00:55:18 +0000 Subject: [PATCH 03/77] update to 2.1.0.3 for haskell-platform-2010.1.0.0 --- .cvsignore | 1 + ghc-QuickCheck.spec | 11 +++++++---- sources | 1 + 3 files changed, 9 insertions(+), 4 deletions(-) diff --git a/.cvsignore b/.cvsignore index d07ca1e..eff4e5e 100644 --- a/.cvsignore +++ b/.cvsignore @@ -1 +1,2 @@ QuickCheck-2.1.0.2.tar.gz +QuickCheck-2.1.0.3.tar.gz diff --git a/ghc-QuickCheck.spec b/ghc-QuickCheck.spec index d3ee90d..1ee0720 100644 --- a/ghc-QuickCheck.spec +++ b/ghc-QuickCheck.spec @@ -21,9 +21,9 @@ observe the distribution of test data, and define test data generators. %global debug_package %{nil} Name: ghc-%{pkg_name} -# part of haskell-platform-2009.3.1 -Version: 2.1.0.2 -Release: 2%{?dist} +# part of haskell-platform-2010.1.0.0 +Version: 2.1.0.3 +Release: 1%{?dist} Summary: %{common_summary} Group: System Environment/Libraries @@ -45,7 +45,7 @@ This package provides the shared library. %endif -%ghc_lib_package +%{?ghc_lib_package} %prep @@ -70,6 +70,9 @@ rm -rf $RPM_BUILD_ROOT %changelog +* Tue Mar 23 2010 Jens Petersen - 2.1.0.3-1 +- update to 2.1.0.3 for haskell-platform-2010.1.0.0 + * Thu Jan 21 2010 Jens Petersen - 2.1.0.2-2 - BSD license - summary and description diff --git a/sources b/sources index d800678..90f2469 100644 --- a/sources +++ b/sources @@ -1 +1,2 @@ a31dab3b27d633b67fa02ad6c345cee1 QuickCheck-2.1.0.2.tar.gz +c983f18ac12c942271e4a3beb6a5a50c QuickCheck-2.1.0.3.tar.gz From d3a180fc07fb278473a8e192a395f565ddf0231a Mon Sep 17 00:00:00 2001 From: Jens Petersen Date: Tue, 23 Mar 2010 01:08:19 +0000 Subject: [PATCH 04/77] now BR ghc-ghc --- ghc-QuickCheck.spec | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/ghc-QuickCheck.spec b/ghc-QuickCheck.spec index 1ee0720..440835f 100644 --- a/ghc-QuickCheck.spec +++ b/ghc-QuickCheck.spec @@ -13,7 +13,7 @@ the QuickCheck library. QuickCheck provides combinators to define properties,\ observe the distribution of test data, and define test data generators. # Haskell library dependencies: -%global ghc_pkg_deps ghc-mtl-devel +%global ghc_pkg_deps ghc-ghc-devel, ghc-mtl-devel %bcond_without shared @@ -72,6 +72,7 @@ rm -rf $RPM_BUILD_ROOT %changelog * Tue Mar 23 2010 Jens Petersen - 2.1.0.3-1 - update to 2.1.0.3 for haskell-platform-2010.1.0.0 +- BR ghc-ghc * Thu Jan 21 2010 Jens Petersen - 2.1.0.2-2 - BSD license From 074da9464c4ce3232ace18ab69fce74407ca15bf Mon Sep 17 00:00:00 2001 From: Jens Petersen Date: Wed, 24 Mar 2010 07:56:47 +0000 Subject: [PATCH 05/77] clean away old sources --- .cvsignore | 1 - sources | 1 - 2 files changed, 2 deletions(-) diff --git a/.cvsignore b/.cvsignore index eff4e5e..3205892 100644 --- a/.cvsignore +++ b/.cvsignore @@ -1,2 +1 @@ -QuickCheck-2.1.0.2.tar.gz QuickCheck-2.1.0.3.tar.gz diff --git a/sources b/sources index 90f2469..b0b28fd 100644 --- a/sources +++ b/sources @@ -1,2 +1 @@ -a31dab3b27d633b67fa02ad6c345cee1 QuickCheck-2.1.0.2.tar.gz c983f18ac12c942271e4a3beb6a5a50c QuickCheck-2.1.0.3.tar.gz From 04ede378434c0724f6e26dca09ccfb2125dd7ddf Mon Sep 17 00:00:00 2001 From: Jens Petersen Date: Tue, 27 Apr 2010 02:54:59 +0000 Subject: [PATCH 06/77] rebuild against ghc-6.12.2 --- ghc-QuickCheck.spec | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/ghc-QuickCheck.spec b/ghc-QuickCheck.spec index 440835f..62c4ec2 100644 --- a/ghc-QuickCheck.spec +++ b/ghc-QuickCheck.spec @@ -23,7 +23,7 @@ observe the distribution of test data, and define test data generators. Name: ghc-%{pkg_name} # part of haskell-platform-2010.1.0.0 Version: 2.1.0.3 -Release: 1%{?dist} +Release: 2%{?dist} Summary: %{common_summary} Group: System Environment/Libraries @@ -36,7 +36,6 @@ BuildRequires: ghc, ghc-rpm-macros >= 0.5.1 BuildRequires: ghc-doc BuildRequires: ghc-prof %{?ghc_pkg_deps:BuildRequires: %{ghc_pkg_deps}, %(echo %{ghc_pkg_deps} | sed -e "s/\(ghc-[^, ]\+\)-devel/\1-doc,\1-prof/g")} -%{?ghc_pkg_c_deps:BuildRequires: %{ghc_pkg_c_deps}} %description %{common_description} @@ -70,6 +69,9 @@ rm -rf $RPM_BUILD_ROOT %changelog +* Tue Apr 27 2010 Jens Petersen - 2.1.0.3-2 +- rebuild against ghc-6.12.2 + * Tue Mar 23 2010 Jens Petersen - 2.1.0.3-1 - update to 2.1.0.3 for haskell-platform-2010.1.0.0 - BR ghc-ghc From 7880b176439d51d0714e67790b70c1634fa485a2 Mon Sep 17 00:00:00 2001 From: Jens Petersen Date: Sun, 27 Jun 2010 07:31:25 +0000 Subject: [PATCH 07/77] sync cabal2spec-0.22.1 --- ghc-QuickCheck.spec | 21 ++++++++++----------- 1 file changed, 10 insertions(+), 11 deletions(-) diff --git a/ghc-QuickCheck.spec b/ghc-QuickCheck.spec index 62c4ec2..873da9a 100644 --- a/ghc-QuickCheck.spec +++ b/ghc-QuickCheck.spec @@ -23,18 +23,18 @@ observe the distribution of test data, and define test data generators. Name: ghc-%{pkg_name} # part of haskell-platform-2010.1.0.0 Version: 2.1.0.3 -Release: 2%{?dist} +Release: 3%{?dist} Summary: %{common_summary} Group: System Environment/Libraries License: BSD URL: http://hackage.haskell.org/cgi-bin/hackage-scripts/package/%{pkg_name} Source0: http://hackage.haskell.org/packages/archive/%{pkg_name}/%{version}/%{pkg_name}-%{version}.tar.gz +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) # fedora ghc archs: ExclusiveArch: %{ix86} x86_64 ppc alpha -BuildRequires: ghc, ghc-rpm-macros >= 0.5.1 -BuildRequires: ghc-doc -BuildRequires: ghc-prof +BuildRequires: ghc, ghc-doc, ghc-prof +BuildRequires: ghc-rpm-macros >= 0.7.0 %{?ghc_pkg_deps:BuildRequires: %{ghc_pkg_deps}, %(echo %{ghc_pkg_deps} | sed -e "s/\(ghc-[^, ]\+\)-devel/\1-doc,\1-prof/g")} %description @@ -52,16 +52,12 @@ This package provides the shared library. %build -%cabal_configure --ghc -p -%cabal build -%cabal haddock +%ghc_lib_build %install -%cabal_install -%cabal_pkg_conf - -%ghc_gen_filelists +rm -rf $RPM_BUILD_ROOT +%ghc_lib_install %clean @@ -69,6 +65,9 @@ rm -rf $RPM_BUILD_ROOT %changelog +* Sun Jun 27 2010 Jens Petersen - 2.1.0.3-3 +- sync cabal2spec-0.22.1 + * Tue Apr 27 2010 Jens Petersen - 2.1.0.3-2 - rebuild against ghc-6.12.2 From 0710ad275fdca5573aac4e96fb1d3d3cece87276 Mon Sep 17 00:00:00 2001 From: Jens Petersen Date: Fri, 16 Jul 2010 05:23:09 +0000 Subject: [PATCH 08/77] - update to 2.1.1.1 for haskell-platform-2010.2.0.0 - obsolete doc subpackage (ghc-rpm-macros-0.8.0) --- .cvsignore | 2 +- ghc-QuickCheck.spec | 18 +++++++++++------- sources | 2 +- 3 files changed, 13 insertions(+), 9 deletions(-) diff --git a/.cvsignore b/.cvsignore index 3205892..22d1ca1 100644 --- a/.cvsignore +++ b/.cvsignore @@ -1 +1 @@ -QuickCheck-2.1.0.3.tar.gz +QuickCheck-2.1.1.1.tar.gz diff --git a/ghc-QuickCheck.spec b/ghc-QuickCheck.spec index 873da9a..3e6975b 100644 --- a/ghc-QuickCheck.spec +++ b/ghc-QuickCheck.spec @@ -21,9 +21,9 @@ observe the distribution of test data, and define test data generators. %global debug_package %{nil} Name: ghc-%{pkg_name} -# part of haskell-platform-2010.1.0.0 -Version: 2.1.0.3 -Release: 3%{?dist} +# part of haskell-platform-2010.2.0.0 +Version: 2.1.1.1 +Release: 1%{?dist} Summary: %{common_summary} Group: System Environment/Libraries @@ -34,7 +34,7 @@ BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) # fedora ghc archs: ExclusiveArch: %{ix86} x86_64 ppc alpha BuildRequires: ghc, ghc-doc, ghc-prof -BuildRequires: ghc-rpm-macros >= 0.7.0 +BuildRequires: ghc-rpm-macros >= 0.8.0 %{?ghc_pkg_deps:BuildRequires: %{ghc_pkg_deps}, %(echo %{ghc_pkg_deps} | sed -e "s/\(ghc-[^, ]\+\)-devel/\1-doc,\1-prof/g")} %description @@ -44,9 +44,6 @@ This package provides the shared library. %endif -%{?ghc_lib_package} - - %prep %setup -q -n %{pkg_name}-%{version} @@ -64,7 +61,14 @@ rm -rf $RPM_BUILD_ROOT rm -rf $RPM_BUILD_ROOT +%ghc_lib_package -o 2.1.1.1-1 + + %changelog +* Fri Jul 16 2010 Jens Petersen - 2.1.1.1-1 +- update to 2.1.1.1 for haskell-platform-2010.2.0.0 +- obsolete doc subpackage (ghc-rpm-macros-0.8.0) + * Sun Jun 27 2010 Jens Petersen - 2.1.0.3-3 - sync cabal2spec-0.22.1 diff --git a/sources b/sources index b0b28fd..d1f61c2 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -c983f18ac12c942271e4a3beb6a5a50c QuickCheck-2.1.0.3.tar.gz +a9e9170599223dc21c21a0190aadb195 QuickCheck-2.1.1.1.tar.gz From 6a2f24342f9b0b90a4975337a6ebcd39f8be84ca Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Wed, 28 Jul 2010 15:34:08 +0000 Subject: [PATCH 09/77] dist-git conversion --- .cvsignore => .gitignore | 0 Makefile | 21 --------------------- import.log | 1 - 3 files changed, 22 deletions(-) rename .cvsignore => .gitignore (100%) delete mode 100644 Makefile delete mode 100644 import.log diff --git a/.cvsignore b/.gitignore similarity index 100% rename from .cvsignore rename to .gitignore diff --git a/Makefile b/Makefile deleted file mode 100644 index 59aebf4..0000000 --- a/Makefile +++ /dev/null @@ -1,21 +0,0 @@ -# Makefile for source rpm: ghc-QuickCheck -# $Id$ -NAME := ghc-QuickCheck -SPECFILE = $(firstword $(wildcard *.spec)) - -define find-makefile-common -for d in common ../common ../../common ; do if [ -f $$d/Makefile.common ] ; then if [ -f $$d/CVS/Root -a -w $$d/Makefile.common ] ; then cd $$d ; cvs -Q update ; fi ; echo "$$d/Makefile.common" ; break ; fi ; done -endef - -MAKEFILE_COMMON := $(shell $(find-makefile-common)) - -ifeq ($(MAKEFILE_COMMON),) -# attept a checkout -define checkout-makefile-common -test -f CVS/Root && { cvs -Q -d $$(cat CVS/Root) checkout common && echo "common/Makefile.common" ; } || { echo "ERROR: I can't figure out how to checkout the 'common' module." ; exit -1 ; } >&2 -endef - -MAKEFILE_COMMON := $(shell $(checkout-makefile-common)) -endif - -include $(MAKEFILE_COMMON) diff --git a/import.log b/import.log deleted file mode 100644 index adbda04..0000000 --- a/import.log +++ /dev/null @@ -1 +0,0 @@ -ghc-QuickCheck-2_1_0_2-2_fc12:HEAD:ghc-QuickCheck-2.1.0.2-2.fc12.src.rpm:1264576772 From 3439b157a087e7c344de9ea3fde8721ed6284864 Mon Sep 17 00:00:00 2001 From: Jens Petersen Date: Thu, 25 Nov 2010 19:08:08 +1000 Subject: [PATCH 10/77] update to 2.4.0.1, add hscolour, update url --- .gitignore | 1 + ghc-QuickCheck.spec | 19 ++++++++++++++----- sources | 2 +- 3 files changed, 16 insertions(+), 6 deletions(-) diff --git a/.gitignore b/.gitignore index 22d1ca1..009b114 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1,2 @@ QuickCheck-2.1.1.1.tar.gz +/QuickCheck-2.4.0.1.tar.gz diff --git a/ghc-QuickCheck.spec b/ghc-QuickCheck.spec index 3e6975b..6e07928 100644 --- a/ghc-QuickCheck.spec +++ b/ghc-QuickCheck.spec @@ -16,25 +16,29 @@ observe the distribution of test data, and define test data generators. %global ghc_pkg_deps ghc-ghc-devel, ghc-mtl-devel %bcond_without shared +%bcond_without hscolour # debuginfo is not useful for ghc %global debug_package %{nil} Name: ghc-%{pkg_name} -# part of haskell-platform-2010.2.0.0 -Version: 2.1.1.1 +# break of haskell-platform-2010.2.0.0 +Version: 2.4.0.1 Release: 1%{?dist} Summary: %{common_summary} Group: System Environment/Libraries License: BSD -URL: http://hackage.haskell.org/cgi-bin/hackage-scripts/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 BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) # fedora ghc archs: ExclusiveArch: %{ix86} x86_64 ppc alpha BuildRequires: ghc, ghc-doc, ghc-prof -BuildRequires: ghc-rpm-macros >= 0.8.0 +BuildRequires: ghc-rpm-macros >= 0.8.1 +%if %{with hscolour} +BuildRequires: hscolour +%endif %{?ghc_pkg_deps:BuildRequires: %{ghc_pkg_deps}, %(echo %{ghc_pkg_deps} | sed -e "s/\(ghc-[^, ]\+\)-devel/\1-doc,\1-prof/g")} %description @@ -61,10 +65,15 @@ rm -rf $RPM_BUILD_ROOT rm -rf $RPM_BUILD_ROOT -%ghc_lib_package -o 2.1.1.1-1 +%ghc_lib_package %changelog +* Thu Nov 25 2010 Jens Petersen - 2.4.0.1-1 +- update to 2.4.0.1 +- add hscolour +- update url and drop -o obsoletes + * Fri Jul 16 2010 Jens Petersen - 2.1.1.1-1 - update to 2.1.1.1 for haskell-platform-2010.2.0.0 - obsolete doc subpackage (ghc-rpm-macros-0.8.0) diff --git a/sources b/sources index d1f61c2..c92228a 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -a9e9170599223dc21c21a0190aadb195 QuickCheck-2.1.1.1.tar.gz +e8c86e95fd1fa4c58fc8e53e2853db5e QuickCheck-2.4.0.1.tar.gz From 86580205913121fd246f6d463ff9ac41743b3930 Mon Sep 17 00:00:00 2001 From: Jens Petersen Date: Tue, 18 Jan 2011 18:34:50 +1000 Subject: [PATCH 11/77] update to cabal2spec-0.22.4 --- ghc-QuickCheck.spec | 18 +++++------------- 1 file changed, 5 insertions(+), 13 deletions(-) diff --git a/ghc-QuickCheck.spec b/ghc-QuickCheck.spec index 6e07928..1a75b6e 100644 --- a/ghc-QuickCheck.spec +++ b/ghc-QuickCheck.spec @@ -15,30 +15,24 @@ observe the distribution of test data, and define test data generators. # Haskell library dependencies: %global ghc_pkg_deps ghc-ghc-devel, ghc-mtl-devel -%bcond_without shared -%bcond_without hscolour - # debuginfo is not useful for ghc %global debug_package %{nil} Name: ghc-%{pkg_name} # break of haskell-platform-2010.2.0.0 Version: 2.4.0.1 -Release: 1%{?dist} +Release: 2%{?dist} Summary: %{common_summary} Group: System Environment/Libraries 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 -BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) # fedora ghc archs: ExclusiveArch: %{ix86} x86_64 ppc alpha BuildRequires: ghc, ghc-doc, ghc-prof -BuildRequires: ghc-rpm-macros >= 0.8.1 -%if %{with hscolour} +BuildRequires: ghc-rpm-macros >= 0.7.3 BuildRequires: hscolour -%endif %{?ghc_pkg_deps:BuildRequires: %{ghc_pkg_deps}, %(echo %{ghc_pkg_deps} | sed -e "s/\(ghc-[^, ]\+\)-devel/\1-doc,\1-prof/g")} %description @@ -57,18 +51,16 @@ This package provides the shared library. %install -rm -rf $RPM_BUILD_ROOT %ghc_lib_install -%clean -rm -rf $RPM_BUILD_ROOT - - %ghc_lib_package %changelog +* Tue Jan 18 2011 Jens Petersen - 2.4.0.1-2 +- update to cabal2spec-0.22.4 + * Thu Nov 25 2010 Jens Petersen - 2.4.0.1-1 - update to 2.4.0.1 - add hscolour From a4902b7cd8b4016929990f757c0d7bc2eb184a8c Mon Sep 17 00:00:00 2001 From: Jens Petersen Date: Sun, 23 Jan 2011 00:13:45 +1000 Subject: [PATCH 12/77] bump for rebuild --- ghc-QuickCheck.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/ghc-QuickCheck.spec b/ghc-QuickCheck.spec index 1a75b6e..3f47d3e 100644 --- a/ghc-QuickCheck.spec +++ b/ghc-QuickCheck.spec @@ -21,7 +21,7 @@ observe the distribution of test data, and define test data generators. Name: ghc-%{pkg_name} # break of haskell-platform-2010.2.0.0 Version: 2.4.0.1 -Release: 2%{?dist} +Release: 3%{?dist} Summary: %{common_summary} Group: System Environment/Libraries @@ -58,6 +58,9 @@ This package provides the shared library. %changelog +* Sun Jan 23 2011 Jens Petersen - 2.4.0.1-3 +- rebuild + * Tue Jan 18 2011 Jens Petersen - 2.4.0.1-2 - update to cabal2spec-0.22.4 From 59a01fa8491662f5881d5bfe08553062f78eaceb Mon Sep 17 00:00:00 2001 From: Dennis Gilmore Date: Tue, 8 Feb 2011 18:57:54 -0600 Subject: [PATCH 13/77] - Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild --- ghc-QuickCheck.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/ghc-QuickCheck.spec b/ghc-QuickCheck.spec index 3f47d3e..d7f53a4 100644 --- a/ghc-QuickCheck.spec +++ b/ghc-QuickCheck.spec @@ -21,7 +21,7 @@ observe the distribution of test data, and define test data generators. Name: ghc-%{pkg_name} # break of haskell-platform-2010.2.0.0 Version: 2.4.0.1 -Release: 3%{?dist} +Release: 4%{?dist} Summary: %{common_summary} Group: System Environment/Libraries @@ -58,6 +58,9 @@ This package provides the shared library. %changelog +* Tue Feb 08 2011 Fedora Release Engineering - 2.4.0.1-4 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild + * Sun Jan 23 2011 Jens Petersen - 2.4.0.1-3 - rebuild From 314b57e5f2da10619122cb9f3374ea908736117f Mon Sep 17 00:00:00 2001 From: "Fabio M. Di Nitto" Date: Thu, 10 Mar 2011 09:15:38 +0100 Subject: [PATCH 14/77] Enable build on sparcv9 Signed-off-by: Fabio M. Di Nitto --- ghc-QuickCheck.spec | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/ghc-QuickCheck.spec b/ghc-QuickCheck.spec index d7f53a4..a324416 100644 --- a/ghc-QuickCheck.spec +++ b/ghc-QuickCheck.spec @@ -21,7 +21,7 @@ observe the distribution of test data, and define test data generators. Name: ghc-%{pkg_name} # break of haskell-platform-2010.2.0.0 Version: 2.4.0.1 -Release: 4%{?dist} +Release: 5%{?dist} Summary: %{common_summary} Group: System Environment/Libraries @@ -29,7 +29,7 @@ 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 # fedora ghc archs: -ExclusiveArch: %{ix86} x86_64 ppc alpha +ExclusiveArch: %{ix86} x86_64 ppc alpha sparcv9 BuildRequires: ghc, ghc-doc, ghc-prof BuildRequires: ghc-rpm-macros >= 0.7.3 BuildRequires: hscolour @@ -58,6 +58,9 @@ This package provides the shared library. %changelog +* Thu Mar 10 2011 Fabio M. Di Nitto - 2.4.0.1-5 +- Enable build on sparcv9 + * Tue Feb 08 2011 Fedora Release Engineering - 2.4.0.1-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild From c79a033f5df9f3b1a7e37627ab08e77917935f2d Mon Sep 17 00:00:00 2001 From: Jens Petersen Date: Fri, 27 May 2011 18:07:42 +0900 Subject: [PATCH 15/77] update to cabal2spec-0.23: add ppc64 --- ghc-QuickCheck.spec | 21 +++++++++------------ 1 file changed, 9 insertions(+), 12 deletions(-) diff --git a/ghc-QuickCheck.spec b/ghc-QuickCheck.spec index a324416..81f0ce2 100644 --- a/ghc-QuickCheck.spec +++ b/ghc-QuickCheck.spec @@ -15,13 +15,10 @@ observe the distribution of test data, and define test data generators. # Haskell library dependencies: %global ghc_pkg_deps ghc-ghc-devel, ghc-mtl-devel -# debuginfo is not useful for ghc -%global debug_package %{nil} - Name: ghc-%{pkg_name} -# break of haskell-platform-2010.2.0.0 +# part of haskell-platform-2011.2.0.0 Version: 2.4.0.1 -Release: 5%{?dist} +Release: 6%{?dist} Summary: %{common_summary} Group: System Environment/Libraries @@ -29,17 +26,14 @@ 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 # fedora ghc archs: -ExclusiveArch: %{ix86} x86_64 ppc alpha sparcv9 -BuildRequires: ghc, ghc-doc, ghc-prof -BuildRequires: ghc-rpm-macros >= 0.7.3 +ExclusiveArch: %{ix86} x86_64 ppc alpha sparcv9 ppc64 +BuildRequires: ghc-prof +BuildRequires: ghc-rpm-macros BuildRequires: hscolour -%{?ghc_pkg_deps:BuildRequires: %{ghc_pkg_deps}, %(echo %{ghc_pkg_deps} | sed -e "s/\(ghc-[^, ]\+\)-devel/\1-doc,\1-prof/g")} +BuildRequires: ghc-ghc-prof, ghc-mtl-prof %description %{common_description} -%if %{with shared} -This package provides the shared library. -%endif %prep @@ -58,6 +52,9 @@ This package provides the shared library. %changelog +* Fri May 27 2011 Jens Petersen - 2.4.0.1-6 +- update to cabal2spec-0.23: add ppc64 + * Thu Mar 10 2011 Fabio M. Di Nitto - 2.4.0.1-5 - Enable build on sparcv9 From c0d1efa2f8a23b5a4c50d9e420b07ae4a14b7cdb Mon Sep 17 00:00:00 2001 From: Jens Petersen Date: Mon, 20 Jun 2011 10:56:47 +0900 Subject: [PATCH 16/77] BR ghc-Cabal-devel and use ghc_excluded_archs --- ghc-QuickCheck.spec | 15 +++++++++------ 1 file changed, 9 insertions(+), 6 deletions(-) diff --git a/ghc-QuickCheck.spec b/ghc-QuickCheck.spec index 81f0ce2..2ce78a7 100644 --- a/ghc-QuickCheck.spec +++ b/ghc-QuickCheck.spec @@ -16,21 +16,21 @@ observe the distribution of test data, and define test data generators. %global ghc_pkg_deps ghc-ghc-devel, ghc-mtl-devel Name: ghc-%{pkg_name} -# part of haskell-platform-2011.2.0.0 +# part of haskell-platform-2011.2.0.1 Version: 2.4.0.1 -Release: 6%{?dist} +Release: 7%{?dist} Summary: %{common_summary} Group: System Environment/Libraries 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 -# fedora ghc archs: -ExclusiveArch: %{ix86} x86_64 ppc alpha sparcv9 ppc64 -BuildRequires: ghc-prof +# no ghci on ppc64 +ExcludeArch: %{ghc_excluded_archs} ppc64 +BuildRequires: ghc-Cabal-devel BuildRequires: ghc-rpm-macros BuildRequires: hscolour -BuildRequires: ghc-ghc-prof, ghc-mtl-prof +BuildRequires: ghc-mtl-prof, ghc-random-prof %description %{common_description} @@ -52,6 +52,9 @@ BuildRequires: ghc-ghc-prof, ghc-mtl-prof %changelog +* Mon Jun 20 2011 Jens Petersen - 2.4.0.1-7 +- BR ghc-Cabal-devel and use ghc_excluded_archs + * Fri May 27 2011 Jens Petersen - 2.4.0.1-6 - update to cabal2spec-0.23: add ppc64 From 96261787e39356d90d303e6e6d66f2fbdc214d6a Mon Sep 17 00:00:00 2001 From: Jens Petersen Date: Mon, 20 Jun 2011 13:18:00 +0900 Subject: [PATCH 17/77] also BR extensible-exceptions and template-haskell --- ghc-QuickCheck.spec | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ghc-QuickCheck.spec b/ghc-QuickCheck.spec index 2ce78a7..55ee0ec 100644 --- a/ghc-QuickCheck.spec +++ b/ghc-QuickCheck.spec @@ -30,7 +30,7 @@ ExcludeArch: %{ghc_excluded_archs} ppc64 BuildRequires: ghc-Cabal-devel BuildRequires: ghc-rpm-macros BuildRequires: hscolour -BuildRequires: ghc-mtl-prof, ghc-random-prof +BuildRequires: ghc-mtl-prof, ghc-extensible-exceptions-prof, ghc-random-prof, ghc-template-haskell-prof %description %{common_description} From 565395420cc75f95a761780aa81daaae5ff9fbc2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marcela=20Ma=C5=A1l=C3=A1=C5=88ov=C3=A1?= Date: Tue, 11 Oct 2011 18:29:26 +0200 Subject: [PATCH 18/77] rebuild with new gmp --- ghc-QuickCheck.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/ghc-QuickCheck.spec b/ghc-QuickCheck.spec index 55ee0ec..3dd15cc 100644 --- a/ghc-QuickCheck.spec +++ b/ghc-QuickCheck.spec @@ -18,7 +18,7 @@ observe the distribution of test data, and define test data generators. Name: ghc-%{pkg_name} # part of haskell-platform-2011.2.0.1 Version: 2.4.0.1 -Release: 7%{?dist} +Release: 7%{?dist}.1 Summary: %{common_summary} Group: System Environment/Libraries @@ -52,6 +52,9 @@ BuildRequires: ghc-mtl-prof, ghc-extensible-exceptions-prof, ghc-random-prof, g %changelog +* Tue Oct 11 2011 Peter Schiffer - 2.4.0.1-7.1 +- rebuild with new gmp + * Mon Jun 20 2011 Jens Petersen - 2.4.0.1-7 - BR ghc-Cabal-devel and use ghc_excluded_archs From 80f9c9125e5d1e0f95cbe8136b88b25d53781e99 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marcela=20Ma=C5=A1l=C3=A1=C5=88ov=C3=A1?= Date: Fri, 21 Oct 2011 03:25:26 +0200 Subject: [PATCH 19/77] rebuild with new gmp without compat lib --- ghc-QuickCheck.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/ghc-QuickCheck.spec b/ghc-QuickCheck.spec index 3dd15cc..2c4e2c5 100644 --- a/ghc-QuickCheck.spec +++ b/ghc-QuickCheck.spec @@ -18,7 +18,7 @@ observe the distribution of test data, and define test data generators. Name: ghc-%{pkg_name} # part of haskell-platform-2011.2.0.1 Version: 2.4.0.1 -Release: 7%{?dist}.1 +Release: 7%{?dist}.2 Summary: %{common_summary} Group: System Environment/Libraries @@ -52,6 +52,9 @@ BuildRequires: ghc-mtl-prof, ghc-extensible-exceptions-prof, ghc-random-prof, g %changelog +* Fri Oct 21 2011 Marcela Mašláňová - 2.4.0.1-7.2 +- rebuild with new gmp without compat lib + * Tue Oct 11 2011 Peter Schiffer - 2.4.0.1-7.1 - rebuild with new gmp From bc01a36b37bf6227032aa313341bb65b5aa27bf6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marcela=20Ma=C5=A1l=C3=A1=C5=88ov=C3=A1?= Date: Mon, 24 Oct 2011 13:09:01 +0200 Subject: [PATCH 20/77] rebuild with new gmp without compat lib --- ghc-QuickCheck.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/ghc-QuickCheck.spec b/ghc-QuickCheck.spec index 2c4e2c5..d78120d 100644 --- a/ghc-QuickCheck.spec +++ b/ghc-QuickCheck.spec @@ -18,7 +18,7 @@ observe the distribution of test data, and define test data generators. Name: ghc-%{pkg_name} # part of haskell-platform-2011.2.0.1 Version: 2.4.0.1 -Release: 7%{?dist}.2 +Release: 7%{?dist}.3 Summary: %{common_summary} Group: System Environment/Libraries @@ -52,6 +52,9 @@ BuildRequires: ghc-mtl-prof, ghc-extensible-exceptions-prof, ghc-random-prof, g %changelog +* Mon Oct 24 2011 Marcela Mašláňová - 2.4.0.1-7.3 +- rebuild with new gmp without compat lib + * Fri Oct 21 2011 Marcela Mašláňová - 2.4.0.1-7.2 - rebuild with new gmp without compat lib From 5046fe33bc08d504d95cc053a413b5c1f1ab736c Mon Sep 17 00:00:00 2001 From: Jens Petersen Date: Tue, 27 Dec 2011 21:43:15 +0900 Subject: [PATCH 21/77] update to 2.4.1.1 for haskell-platform-2011.4.0.0 - no longer depends on mtl nor ghci - update to cabal2spec-0.24.1 - build on archs without ghci without template-haskell --- .gitignore | 1 + ghc-QuickCheck.spec | 33 ++++++++++++++++++++++----------- sources | 2 +- 3 files changed, 24 insertions(+), 12 deletions(-) diff --git a/.gitignore b/.gitignore index 009b114..840d6f8 100644 --- a/.gitignore +++ b/.gitignore @@ -1,2 +1,3 @@ QuickCheck-2.1.1.1.tar.gz /QuickCheck-2.4.0.1.tar.gz +/QuickCheck-2.4.1.1.tar.gz diff --git a/ghc-QuickCheck.spec b/ghc-QuickCheck.spec index d78120d..753543c 100644 --- a/ghc-QuickCheck.spec +++ b/ghc-QuickCheck.spec @@ -12,25 +12,27 @@ Specifications are expressed in Haskell, using combinators defined in\ the QuickCheck library. QuickCheck provides combinators to define properties,\ observe the distribution of test data, and define test data generators. -# Haskell library dependencies: -%global ghc_pkg_deps ghc-ghc-devel, ghc-mtl-devel - Name: ghc-%{pkg_name} -# part of haskell-platform-2011.2.0.1 -Version: 2.4.0.1 -Release: 7%{?dist}.3 +# part of haskell-platform-2011.4.0.0 +Version: 2.4.1.1 +Release: 1%{?dist} Summary: %{common_summary} Group: System Environment/Libraries License: BSD +# BEGIN cabal2spec URL: http://hackage.haskell.org/package/%{pkg_name} Source0: http://hackage.haskell.org/packages/archive/%{pkg_name}/%{version}/%{pkg_name}-%{version}.tar.gz -# no ghci on ppc64 -ExcludeArch: %{ghc_excluded_archs} ppc64 +ExclusiveArch: %{ghc_arches} BuildRequires: ghc-Cabal-devel -BuildRequires: ghc-rpm-macros -BuildRequires: hscolour -BuildRequires: ghc-mtl-prof, ghc-extensible-exceptions-prof, ghc-random-prof, ghc-template-haskell-prof +BuildRequires: ghc-rpm-macros %{!?without_hscolour:hscolour} +# END cabal2spec +BuildRequires: ghc-extensible-exceptions-prof +BuildRequires: ghc-random-prof +# no ghci on ppc64 +%ifarch %{ghc_arches_with_ghci} +BuildRequires: ghc-template-haskell-prof +%endif %description %{common_description} @@ -41,6 +43,9 @@ BuildRequires: ghc-mtl-prof, ghc-extensible-exceptions-prof, ghc-random-prof, g %build +%ifnarch %{ghc_arches_with_ghci} +%define cabal_configure_options -f "-templateHaskell" +%endif %ghc_lib_build @@ -52,6 +57,12 @@ BuildRequires: ghc-mtl-prof, ghc-extensible-exceptions-prof, ghc-random-prof, g %changelog +* Tue Dec 27 2011 Jens Petersen - 2.4.1.1-1 +- update to 2.4.1.1 for haskell-platform-2011.4.0.0 +- no longer depends on mtl nor ghci +- update to cabal2spec-0.24.1 +- build on archs without ghci without template-haskell + * Mon Oct 24 2011 Marcela Mašláňová - 2.4.0.1-7.3 - rebuild with new gmp without compat lib diff --git a/sources b/sources index c92228a..7e813e1 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -e8c86e95fd1fa4c58fc8e53e2853db5e QuickCheck-2.4.0.1.tar.gz +038c13d7d72942836ab4b13b61ac7c53 QuickCheck-2.4.1.1.tar.gz From 852d21e499babe0d7a4b88c5aca2778654161e39 Mon Sep 17 00:00:00 2001 From: Dennis Gilmore Date: Thu, 12 Jan 2012 21:20:10 -0600 Subject: [PATCH 22/77] - Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild --- ghc-QuickCheck.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/ghc-QuickCheck.spec b/ghc-QuickCheck.spec index 753543c..0718f3a 100644 --- a/ghc-QuickCheck.spec +++ b/ghc-QuickCheck.spec @@ -15,7 +15,7 @@ observe the distribution of test data, and define test data generators. Name: ghc-%{pkg_name} # part of haskell-platform-2011.4.0.0 Version: 2.4.1.1 -Release: 1%{?dist} +Release: 2%{?dist} Summary: %{common_summary} Group: System Environment/Libraries @@ -57,6 +57,9 @@ BuildRequires: ghc-template-haskell-prof %changelog +* Fri Jan 13 2012 Fedora Release Engineering - 2.4.1.1-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild + * Tue Dec 27 2011 Jens Petersen - 2.4.1.1-1 - update to 2.4.1.1 for haskell-platform-2011.4.0.0 - no longer depends on mtl nor ghci From b593c9331c5f884836f14d3fcf78c0414e7a37a7 Mon Sep 17 00:00:00 2001 From: Jens Petersen Date: Tue, 20 Mar 2012 17:36:48 +0900 Subject: [PATCH 23/77] update to 2.4.2 --- .gitignore | 1 + ghc-QuickCheck.spec | 29 ++++++++++++++++++++++++----- sources | 2 +- 3 files changed, 26 insertions(+), 6 deletions(-) diff --git a/.gitignore b/.gitignore index 840d6f8..8db8ebc 100644 --- a/.gitignore +++ b/.gitignore @@ -1,3 +1,4 @@ QuickCheck-2.1.1.1.tar.gz /QuickCheck-2.4.0.1.tar.gz /QuickCheck-2.4.1.1.tar.gz +/QuickCheck-2.4.2.tar.gz diff --git a/ghc-QuickCheck.spec b/ghc-QuickCheck.spec index 0718f3a..c700d2a 100644 --- a/ghc-QuickCheck.spec +++ b/ghc-QuickCheck.spec @@ -1,8 +1,12 @@ +# cabal2spec-0.25 +# https://fedoraproject.org/wiki/Packaging:Haskell +# https://fedoraproject.org/wiki/PackagingDrafts/Haskell + %global pkg_name QuickCheck %global common_summary Automatic testing of Haskell programs -%global common_description QuickCheck80 is a library for random testing of program properties.\ +%global common_description QuickCheck is a library for random testing of program properties.\ \ The programmer provides a specification of the program, in the form of\ properties which functions should satisfy, and QuickCheck then tests that\ @@ -13,9 +17,9 @@ the QuickCheck library. QuickCheck provides combinators to define properties,\ observe the distribution of test data, and define test data generators. Name: ghc-%{pkg_name} -# part of haskell-platform-2011.4.0.0 -Version: 2.4.1.1 -Release: 2%{?dist} +# part of haskell-platform +Version: 2.4.2 +Release: 1%{?dist} Summary: %{common_summary} Group: System Environment/Libraries @@ -53,10 +57,25 @@ BuildRequires: ghc-template-haskell-prof %ghc_lib_install -%ghc_lib_package +# devel subpackage +%ghc_devel_package + +%ghc_devel_description + + +%ghc_devel_post_postun + + +%ghc_files LICENSE %changelog +* Tue Mar 20 2012 Jens Petersen - 2.4.2-1 +- update to 2.4.2 + +* Sun Mar 18 2012 Jens Petersen - 2.4.1.1-3 +- update to cabal2spec-0.25 + * Fri Jan 13 2012 Fedora Release Engineering - 2.4.1.1-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild diff --git a/sources b/sources index 7e813e1..8369045 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -038c13d7d72942836ab4b13b61ac7c53 QuickCheck-2.4.1.1.tar.gz +9e22f9741cbc7d9cd8d52d3928e57b67 QuickCheck-2.4.2.tar.gz From ce8036347ada2e732dad3476fbd91e016b698f55 Mon Sep 17 00:00:00 2001 From: Jens Petersen Date: Mon, 16 Jul 2012 09:34:16 +0900 Subject: [PATCH 24/77] obsoleted by haskell-platform subpackage --- .gitignore | 4 -- dead.package | 1 + ghc-QuickCheck.spec | 140 -------------------------------------------- sources | 1 - 4 files changed, 1 insertion(+), 145 deletions(-) delete mode 100644 .gitignore create mode 100644 dead.package delete mode 100644 ghc-QuickCheck.spec delete mode 100644 sources diff --git a/.gitignore b/.gitignore deleted file mode 100644 index 8db8ebc..0000000 --- a/.gitignore +++ /dev/null @@ -1,4 +0,0 @@ -QuickCheck-2.1.1.1.tar.gz -/QuickCheck-2.4.0.1.tar.gz -/QuickCheck-2.4.1.1.tar.gz -/QuickCheck-2.4.2.tar.gz diff --git a/dead.package b/dead.package new file mode 100644 index 0000000..6dee5e4 --- /dev/null +++ b/dead.package @@ -0,0 +1 @@ +obsoleted by haskell-platform subpackage diff --git a/ghc-QuickCheck.spec b/ghc-QuickCheck.spec deleted file mode 100644 index c700d2a..0000000 --- a/ghc-QuickCheck.spec +++ /dev/null @@ -1,140 +0,0 @@ -# cabal2spec-0.25 -# https://fedoraproject.org/wiki/Packaging:Haskell -# https://fedoraproject.org/wiki/PackagingDrafts/Haskell - -%global pkg_name QuickCheck - -%global common_summary Automatic testing of Haskell programs - -%global common_description QuickCheck is a library for random testing of program properties.\ -\ -The programmer provides a specification of the program, in the form of\ -properties which functions should satisfy, and QuickCheck then tests that\ -the properties hold in a large number of randomly generated cases.\ -\ -Specifications are expressed in Haskell, using combinators defined in\ -the QuickCheck library. QuickCheck provides combinators to define properties,\ -observe the distribution of test data, and define test data generators. - -Name: ghc-%{pkg_name} -# part of haskell-platform -Version: 2.4.2 -Release: 1%{?dist} -Summary: %{common_summary} - -Group: System Environment/Libraries -License: BSD -# BEGIN cabal2spec -URL: http://hackage.haskell.org/package/%{pkg_name} -Source0: http://hackage.haskell.org/packages/archive/%{pkg_name}/%{version}/%{pkg_name}-%{version}.tar.gz -ExclusiveArch: %{ghc_arches} -BuildRequires: ghc-Cabal-devel -BuildRequires: ghc-rpm-macros %{!?without_hscolour:hscolour} -# END cabal2spec -BuildRequires: ghc-extensible-exceptions-prof -BuildRequires: ghc-random-prof -# no ghci on ppc64 -%ifarch %{ghc_arches_with_ghci} -BuildRequires: ghc-template-haskell-prof -%endif - -%description -%{common_description} - - -%prep -%setup -q -n %{pkg_name}-%{version} - - -%build -%ifnarch %{ghc_arches_with_ghci} -%define cabal_configure_options -f "-templateHaskell" -%endif -%ghc_lib_build - - -%install -%ghc_lib_install - - -# devel subpackage -%ghc_devel_package - -%ghc_devel_description - - -%ghc_devel_post_postun - - -%ghc_files LICENSE - - -%changelog -* Tue Mar 20 2012 Jens Petersen - 2.4.2-1 -- update to 2.4.2 - -* Sun Mar 18 2012 Jens Petersen - 2.4.1.1-3 -- update to cabal2spec-0.25 - -* Fri Jan 13 2012 Fedora Release Engineering - 2.4.1.1-2 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild - -* Tue Dec 27 2011 Jens Petersen - 2.4.1.1-1 -- update to 2.4.1.1 for haskell-platform-2011.4.0.0 -- no longer depends on mtl nor ghci -- update to cabal2spec-0.24.1 -- build on archs without ghci without template-haskell - -* Mon Oct 24 2011 Marcela Mašláňová - 2.4.0.1-7.3 -- rebuild with new gmp without compat lib - -* Fri Oct 21 2011 Marcela Mašláňová - 2.4.0.1-7.2 -- rebuild with new gmp without compat lib - -* Tue Oct 11 2011 Peter Schiffer - 2.4.0.1-7.1 -- rebuild with new gmp - -* Mon Jun 20 2011 Jens Petersen - 2.4.0.1-7 -- BR ghc-Cabal-devel and use ghc_excluded_archs - -* Fri May 27 2011 Jens Petersen - 2.4.0.1-6 -- update to cabal2spec-0.23: add ppc64 - -* Thu Mar 10 2011 Fabio M. Di Nitto - 2.4.0.1-5 -- Enable build on sparcv9 - -* Tue Feb 08 2011 Fedora Release Engineering - 2.4.0.1-4 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild - -* Sun Jan 23 2011 Jens Petersen - 2.4.0.1-3 -- rebuild - -* Tue Jan 18 2011 Jens Petersen - 2.4.0.1-2 -- update to cabal2spec-0.22.4 - -* Thu Nov 25 2010 Jens Petersen - 2.4.0.1-1 -- update to 2.4.0.1 -- add hscolour -- update url and drop -o obsoletes - -* Fri Jul 16 2010 Jens Petersen - 2.1.1.1-1 -- update to 2.1.1.1 for haskell-platform-2010.2.0.0 -- obsolete doc subpackage (ghc-rpm-macros-0.8.0) - -* Sun Jun 27 2010 Jens Petersen - 2.1.0.3-3 -- sync cabal2spec-0.22.1 - -* Tue Apr 27 2010 Jens Petersen - 2.1.0.3-2 -- rebuild against ghc-6.12.2 - -* Tue Mar 23 2010 Jens Petersen - 2.1.0.3-1 -- update to 2.1.0.3 for haskell-platform-2010.1.0.0 -- BR ghc-ghc - -* Thu Jan 21 2010 Jens Petersen - 2.1.0.2-2 -- BSD license -- summary and description -- comment part of haskell-platform-2009.3.1 - -* Thu Jan 21 2010 Fedora Haskell SIG - 2.1.0.2-1 -- initial packaging for Fedora automatically generated by cabal2spec-0.21.1 diff --git a/sources b/sources deleted file mode 100644 index 8369045..0000000 --- a/sources +++ /dev/null @@ -1 +0,0 @@ -9e22f9741cbc7d9cd8d52d3928e57b67 QuickCheck-2.4.2.tar.gz From 1a692b1285db8ae3efe41513d5d51e78223dd91e Mon Sep 17 00:00:00 2001 From: Jens Petersen Date: Mon, 24 Feb 2014 14:17:15 +0900 Subject: [PATCH 25/77] Revert "obsoleted by haskell-platform subpackage" This reverts commit ce8036347ada2e732dad3476fbd91e016b698f55. --- .gitignore | 4 ++ dead.package | 1 - ghc-QuickCheck.spec | 140 ++++++++++++++++++++++++++++++++++++++++++++ sources | 1 + 4 files changed, 145 insertions(+), 1 deletion(-) create mode 100644 .gitignore delete mode 100644 dead.package create mode 100644 ghc-QuickCheck.spec create mode 100644 sources diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..8db8ebc --- /dev/null +++ b/.gitignore @@ -0,0 +1,4 @@ +QuickCheck-2.1.1.1.tar.gz +/QuickCheck-2.4.0.1.tar.gz +/QuickCheck-2.4.1.1.tar.gz +/QuickCheck-2.4.2.tar.gz diff --git a/dead.package b/dead.package deleted file mode 100644 index 6dee5e4..0000000 --- a/dead.package +++ /dev/null @@ -1 +0,0 @@ -obsoleted by haskell-platform subpackage diff --git a/ghc-QuickCheck.spec b/ghc-QuickCheck.spec new file mode 100644 index 0000000..c700d2a --- /dev/null +++ b/ghc-QuickCheck.spec @@ -0,0 +1,140 @@ +# cabal2spec-0.25 +# https://fedoraproject.org/wiki/Packaging:Haskell +# https://fedoraproject.org/wiki/PackagingDrafts/Haskell + +%global pkg_name QuickCheck + +%global common_summary Automatic testing of Haskell programs + +%global common_description QuickCheck is a library for random testing of program properties.\ +\ +The programmer provides a specification of the program, in the form of\ +properties which functions should satisfy, and QuickCheck then tests that\ +the properties hold in a large number of randomly generated cases.\ +\ +Specifications are expressed in Haskell, using combinators defined in\ +the QuickCheck library. QuickCheck provides combinators to define properties,\ +observe the distribution of test data, and define test data generators. + +Name: ghc-%{pkg_name} +# part of haskell-platform +Version: 2.4.2 +Release: 1%{?dist} +Summary: %{common_summary} + +Group: System Environment/Libraries +License: BSD +# BEGIN cabal2spec +URL: http://hackage.haskell.org/package/%{pkg_name} +Source0: http://hackage.haskell.org/packages/archive/%{pkg_name}/%{version}/%{pkg_name}-%{version}.tar.gz +ExclusiveArch: %{ghc_arches} +BuildRequires: ghc-Cabal-devel +BuildRequires: ghc-rpm-macros %{!?without_hscolour:hscolour} +# END cabal2spec +BuildRequires: ghc-extensible-exceptions-prof +BuildRequires: ghc-random-prof +# no ghci on ppc64 +%ifarch %{ghc_arches_with_ghci} +BuildRequires: ghc-template-haskell-prof +%endif + +%description +%{common_description} + + +%prep +%setup -q -n %{pkg_name}-%{version} + + +%build +%ifnarch %{ghc_arches_with_ghci} +%define cabal_configure_options -f "-templateHaskell" +%endif +%ghc_lib_build + + +%install +%ghc_lib_install + + +# devel subpackage +%ghc_devel_package + +%ghc_devel_description + + +%ghc_devel_post_postun + + +%ghc_files LICENSE + + +%changelog +* Tue Mar 20 2012 Jens Petersen - 2.4.2-1 +- update to 2.4.2 + +* Sun Mar 18 2012 Jens Petersen - 2.4.1.1-3 +- update to cabal2spec-0.25 + +* Fri Jan 13 2012 Fedora Release Engineering - 2.4.1.1-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild + +* Tue Dec 27 2011 Jens Petersen - 2.4.1.1-1 +- update to 2.4.1.1 for haskell-platform-2011.4.0.0 +- no longer depends on mtl nor ghci +- update to cabal2spec-0.24.1 +- build on archs without ghci without template-haskell + +* Mon Oct 24 2011 Marcela Mašláňová - 2.4.0.1-7.3 +- rebuild with new gmp without compat lib + +* Fri Oct 21 2011 Marcela Mašláňová - 2.4.0.1-7.2 +- rebuild with new gmp without compat lib + +* Tue Oct 11 2011 Peter Schiffer - 2.4.0.1-7.1 +- rebuild with new gmp + +* Mon Jun 20 2011 Jens Petersen - 2.4.0.1-7 +- BR ghc-Cabal-devel and use ghc_excluded_archs + +* Fri May 27 2011 Jens Petersen - 2.4.0.1-6 +- update to cabal2spec-0.23: add ppc64 + +* Thu Mar 10 2011 Fabio M. Di Nitto - 2.4.0.1-5 +- Enable build on sparcv9 + +* Tue Feb 08 2011 Fedora Release Engineering - 2.4.0.1-4 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild + +* Sun Jan 23 2011 Jens Petersen - 2.4.0.1-3 +- rebuild + +* Tue Jan 18 2011 Jens Petersen - 2.4.0.1-2 +- update to cabal2spec-0.22.4 + +* Thu Nov 25 2010 Jens Petersen - 2.4.0.1-1 +- update to 2.4.0.1 +- add hscolour +- update url and drop -o obsoletes + +* Fri Jul 16 2010 Jens Petersen - 2.1.1.1-1 +- update to 2.1.1.1 for haskell-platform-2010.2.0.0 +- obsolete doc subpackage (ghc-rpm-macros-0.8.0) + +* Sun Jun 27 2010 Jens Petersen - 2.1.0.3-3 +- sync cabal2spec-0.22.1 + +* Tue Apr 27 2010 Jens Petersen - 2.1.0.3-2 +- rebuild against ghc-6.12.2 + +* Tue Mar 23 2010 Jens Petersen - 2.1.0.3-1 +- update to 2.1.0.3 for haskell-platform-2010.1.0.0 +- BR ghc-ghc + +* Thu Jan 21 2010 Jens Petersen - 2.1.0.2-2 +- BSD license +- summary and description +- comment part of haskell-platform-2009.3.1 + +* Thu Jan 21 2010 Fedora Haskell SIG - 2.1.0.2-1 +- initial packaging for Fedora automatically generated by cabal2spec-0.21.1 diff --git a/sources b/sources new file mode 100644 index 0000000..8369045 --- /dev/null +++ b/sources @@ -0,0 +1 @@ +9e22f9741cbc7d9cd8d52d3928e57b67 QuickCheck-2.4.2.tar.gz From 0b628e18e7ce2d1e7dabdbe0e1d3c52c182bc10b Mon Sep 17 00:00:00 2001 From: Jens Petersen Date: Wed, 26 Mar 2014 10:25:43 +0900 Subject: [PATCH 26/77] separate out of haskell-platform (#1069070) --- .gitignore | 1 + ghc-QuickCheck.spec | 76 +++++++++++++++++++++++++-------------------- sources | 2 +- 3 files changed, 45 insertions(+), 34 deletions(-) diff --git a/.gitignore b/.gitignore index 8db8ebc..21d13d4 100644 --- a/.gitignore +++ b/.gitignore @@ -2,3 +2,4 @@ QuickCheck-2.1.1.1.tar.gz /QuickCheck-2.4.0.1.tar.gz /QuickCheck-2.4.1.1.tar.gz /QuickCheck-2.4.2.tar.gz +/QuickCheck-2.6.tar.gz diff --git a/ghc-QuickCheck.spec b/ghc-QuickCheck.spec index c700d2a..0b722e5 100644 --- a/ghc-QuickCheck.spec +++ b/ghc-QuickCheck.spec @@ -1,45 +1,48 @@ -# cabal2spec-0.25 # https://fedoraproject.org/wiki/Packaging:Haskell -# https://fedoraproject.org/wiki/PackagingDrafts/Haskell %global pkg_name QuickCheck -%global common_summary Automatic testing of Haskell programs - -%global common_description QuickCheck is a library for random testing of program properties.\ -\ -The programmer provides a specification of the program, in the form of\ -properties which functions should satisfy, and QuickCheck then tests that\ -the properties hold in a large number of randomly generated cases.\ -\ -Specifications are expressed in Haskell, using combinators defined in\ -the QuickCheck library. QuickCheck provides combinators to define properties,\ -observe the distribution of test data, and define test data generators. - Name: ghc-%{pkg_name} # part of haskell-platform -Version: 2.4.2 -Release: 1%{?dist} -Summary: %{common_summary} +Version: 2.6 +Release: 31%{?dist} +Summary: Automatic testing of Haskell programs -Group: System Environment/Libraries License: BSD -# BEGIN cabal2spec URL: http://hackage.haskell.org/package/%{pkg_name} -Source0: http://hackage.haskell.org/packages/archive/%{pkg_name}/%{version}/%{pkg_name}-%{version}.tar.gz -ExclusiveArch: %{ghc_arches} +Source0: http://hackage.haskell.org/package/%{pkg_name}-%{version}/%{pkg_name}-%{version}.tar.gz + BuildRequires: ghc-Cabal-devel -BuildRequires: ghc-rpm-macros %{!?without_hscolour:hscolour} -# END cabal2spec -BuildRequires: ghc-extensible-exceptions-prof -BuildRequires: ghc-random-prof -# no ghci on ppc64 +BuildRequires: ghc-rpm-macros +# Begin cabal-rpm deps: +BuildRequires: ghc-random-devel %ifarch %{ghc_arches_with_ghci} -BuildRequires: ghc-template-haskell-prof +BuildRequires: ghc-template-haskell-devel %endif +# End cabal-rpm deps %description -%{common_description} +QuickCheck is a library for random testing of program properties. + +The programmer provides a specification of the program, in the form of +properties which functions should satisfy, and QuickCheck then tests that the +properties hold in a large number of randomly generated cases. + +Specifications are expressed in Haskell, using combinators defined in the +QuickCheck library. QuickCheck provides combinators to define properties, +observe the distribution of test data, and define test data generators. + + +%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}%{?_isa} = %{version}-%{release} + +%description devel +This package provides the Haskell %{pkg_name} library development files. %prep @@ -57,19 +60,26 @@ BuildRequires: ghc-template-haskell-prof %ghc_lib_install -# devel subpackage -%ghc_devel_package +%post devel +%ghc_pkg_recache + -%ghc_devel_description +%postun devel +%ghc_pkg_recache -%ghc_devel_post_postun +%files -f %{name}.files +%doc LICENSE -%ghc_files LICENSE +%files devel -f %{name}-devel.files +%doc README %changelog +* Mon Feb 24 2014 Jens Petersen - 2.6-31 +- separate out of haskell-platform + * Tue Mar 20 2012 Jens Petersen - 2.4.2-1 - update to 2.4.2 diff --git a/sources b/sources index 8369045..eb1b548 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -9e22f9741cbc7d9cd8d52d3928e57b67 QuickCheck-2.4.2.tar.gz +881d546b39c60789e375b2ab3dbce677 QuickCheck-2.6.tar.gz From 94cc0a0e5071f20c2d93fa7f9a058eec7666d4f0 Mon Sep 17 00:00:00 2001 From: Jens Petersen Date: Wed, 26 Mar 2014 10:30:20 +0900 Subject: [PATCH 27/77] bump over haskell-platform --- ghc-QuickCheck.spec | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/ghc-QuickCheck.spec b/ghc-QuickCheck.spec index 0b722e5..9830fcc 100644 --- a/ghc-QuickCheck.spec +++ b/ghc-QuickCheck.spec @@ -5,7 +5,7 @@ Name: ghc-%{pkg_name} # part of haskell-platform Version: 2.6 -Release: 31%{?dist} +Release: 32%{?dist} Summary: Automatic testing of Haskell programs License: BSD @@ -77,8 +77,11 @@ This package provides the Haskell %{pkg_name} library development files. %changelog +* Wed Mar 26 2014 Jens Petersen - 2.6-32 +- bump over haskell-platform + * Mon Feb 24 2014 Jens Petersen - 2.6-31 -- separate out of haskell-platform +- separate out of haskell-platform (#1069070) * Tue Mar 20 2012 Jens Petersen - 2.4.2-1 - update to 2.4.2 From b6ae8fa6215c8d88f3f4f4271e881ed3963666a3 Mon Sep 17 00:00:00 2001 From: Dennis Gilmore Date: Sat, 7 Jun 2014 09:23:19 -0500 Subject: [PATCH 28/77] - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild --- ghc-QuickCheck.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/ghc-QuickCheck.spec b/ghc-QuickCheck.spec index 9830fcc..c7eced6 100644 --- a/ghc-QuickCheck.spec +++ b/ghc-QuickCheck.spec @@ -5,7 +5,7 @@ Name: ghc-%{pkg_name} # part of haskell-platform Version: 2.6 -Release: 32%{?dist} +Release: 33%{?dist} Summary: Automatic testing of Haskell programs License: BSD @@ -77,6 +77,9 @@ This package provides the Haskell %{pkg_name} library development files. %changelog +* Sat Jun 07 2014 Fedora Release Engineering - 2.6-33 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild + * Wed Mar 26 2014 Jens Petersen - 2.6-32 - bump over haskell-platform From 621fc9d206c924d5640ba85e19ee8af1c3fbcf08 Mon Sep 17 00:00:00 2001 From: Peter Robinson Date: Sat, 16 Aug 2014 14:34:06 +0000 Subject: [PATCH 29/77] - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild --- ghc-QuickCheck.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/ghc-QuickCheck.spec b/ghc-QuickCheck.spec index c7eced6..1f4e8cb 100644 --- a/ghc-QuickCheck.spec +++ b/ghc-QuickCheck.spec @@ -5,7 +5,7 @@ Name: ghc-%{pkg_name} # part of haskell-platform Version: 2.6 -Release: 33%{?dist} +Release: 34%{?dist} Summary: Automatic testing of Haskell programs License: BSD @@ -77,6 +77,9 @@ This package provides the Haskell %{pkg_name} library development files. %changelog +* Sat Aug 16 2014 Fedora Release Engineering - 2.6-34 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild + * Sat Jun 07 2014 Fedora Release Engineering - 2.6-33 - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild From 1b3a181e5c33cb900f417495115a0154b55e0ea8 Mon Sep 17 00:00:00 2001 From: Jens Petersen Date: Wed, 28 Jan 2015 16:07:51 +0900 Subject: [PATCH 30/77] update urls --- ghc-QuickCheck.spec | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/ghc-QuickCheck.spec b/ghc-QuickCheck.spec index 1f4e8cb..7495637 100644 --- a/ghc-QuickCheck.spec +++ b/ghc-QuickCheck.spec @@ -5,12 +5,12 @@ Name: ghc-%{pkg_name} # part of haskell-platform Version: 2.6 -Release: 34%{?dist} +Release: 35%{?dist} Summary: Automatic testing of Haskell programs License: BSD -URL: http://hackage.haskell.org/package/%{pkg_name} -Source0: http://hackage.haskell.org/package/%{pkg_name}-%{version}/%{pkg_name}-%{version}.tar.gz +Url: https://hackage.haskell.org/package/%{pkg_name} +Source0: https://hackage.haskell.org/package/%{pkg_name}-%{version}/%{pkg_name}-%{version}.tar.gz BuildRequires: ghc-Cabal-devel BuildRequires: ghc-rpm-macros @@ -77,6 +77,9 @@ This package provides the Haskell %{pkg_name} library development files. %changelog +* Wed Jan 28 2015 Jens Petersen - 2.6-35 +- update urls + * Sat Aug 16 2014 Fedora Release Engineering - 2.6-34 - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild From 297d5950d3b284b8de362e5d409758cd3427abd7 Mon Sep 17 00:00:00 2001 From: Jens Petersen Date: Thu, 2 Apr 2015 18:59:29 +0900 Subject: [PATCH 31/77] update to 2.7.6 --- .gitignore | 1 + ghc-QuickCheck.spec | 23 ++++++++++++++++++++--- sources | 2 +- 3 files changed, 22 insertions(+), 4 deletions(-) diff --git a/.gitignore b/.gitignore index 21d13d4..ba8c226 100644 --- a/.gitignore +++ b/.gitignore @@ -3,3 +3,4 @@ QuickCheck-2.1.1.1.tar.gz /QuickCheck-2.4.1.1.tar.gz /QuickCheck-2.4.2.tar.gz /QuickCheck-2.6.tar.gz +/QuickCheck-2.7.6.tar.gz diff --git a/ghc-QuickCheck.spec b/ghc-QuickCheck.spec index 7495637..76415a0 100644 --- a/ghc-QuickCheck.spec +++ b/ghc-QuickCheck.spec @@ -2,10 +2,12 @@ %global pkg_name QuickCheck +%bcond_with tests + Name: ghc-%{pkg_name} # part of haskell-platform -Version: 2.6 -Release: 35%{?dist} +Version: 2.7.6 +Release: 1%{?dist} Summary: Automatic testing of Haskell programs License: BSD @@ -19,6 +21,12 @@ BuildRequires: ghc-random-devel %ifarch %{ghc_arches_with_ghci} BuildRequires: ghc-template-haskell-devel %endif +BuildRequires: ghc-tf-random-devel +BuildRequires: ghc-transformers-devel +ExclusiveArch: %{ghc_arches_with_ghci} +%if %{with tests} +BuildRequires: ghc-test-framework-devel +%endif # End cabal-rpm deps %description @@ -60,6 +68,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 @@ -73,10 +87,13 @@ This package provides the Haskell %{pkg_name} library development files. %files devel -f %{name}-devel.files -%doc README +%doc examples README %changelog +* Thu Apr 2 2015 Jens Petersen - 2.7.6-1 +- update to 2.7.6 + * Wed Jan 28 2015 Jens Petersen - 2.6-35 - update urls diff --git a/sources b/sources index eb1b548..6a33479 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -881d546b39c60789e375b2ab3dbce677 QuickCheck-2.6.tar.gz +b936f766ffc9f41feb041beaf96b5fe5 QuickCheck-2.7.6.tar.gz From e470988d27e0903a4303651718ae482282fdc014 Mon Sep 17 00:00:00 2001 From: Dennis Gilmore Date: Wed, 17 Jun 2015 07:29:22 +0000 Subject: [PATCH 32/77] - Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild --- ghc-QuickCheck.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/ghc-QuickCheck.spec b/ghc-QuickCheck.spec index 76415a0..5d3ada1 100644 --- a/ghc-QuickCheck.spec +++ b/ghc-QuickCheck.spec @@ -7,7 +7,7 @@ Name: ghc-%{pkg_name} # part of haskell-platform Version: 2.7.6 -Release: 1%{?dist} +Release: 2%{?dist} Summary: Automatic testing of Haskell programs License: BSD @@ -91,6 +91,9 @@ This package provides the Haskell %{pkg_name} library development files. %changelog +* Wed Jun 17 2015 Fedora Release Engineering - 2.7.6-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild + * Thu Apr 2 2015 Jens Petersen - 2.7.6-1 - update to 2.7.6 From 512f7d1724c08c041a1b5719b50d11a9b8ef1ab1 Mon Sep 17 00:00:00 2001 From: Jens Petersen Date: Fri, 2 Oct 2015 16:25:17 +0900 Subject: [PATCH 33/77] update to 2.8.1 --- .gitignore | 1 + ghc-QuickCheck.spec | 19 ++++++++++--------- sources | 2 +- 3 files changed, 12 insertions(+), 10 deletions(-) diff --git a/.gitignore b/.gitignore index ba8c226..247cf1a 100644 --- a/.gitignore +++ b/.gitignore @@ -4,3 +4,4 @@ QuickCheck-2.1.1.1.tar.gz /QuickCheck-2.4.2.tar.gz /QuickCheck-2.6.tar.gz /QuickCheck-2.7.6.tar.gz +/QuickCheck-2.8.1.tar.gz diff --git a/ghc-QuickCheck.spec b/ghc-QuickCheck.spec index 5d3ada1..7960cc9 100644 --- a/ghc-QuickCheck.spec +++ b/ghc-QuickCheck.spec @@ -6,8 +6,8 @@ Name: ghc-%{pkg_name} # part of haskell-platform -Version: 2.7.6 -Release: 2%{?dist} +Version: 2.8.1 +Release: 1%{?dist} Summary: Automatic testing of Haskell programs License: BSD @@ -17,10 +17,9 @@ Source0: https://hackage.haskell.org/package/%{pkg_name}-%{version}/%{pkg BuildRequires: ghc-Cabal-devel BuildRequires: ghc-rpm-macros # Begin cabal-rpm deps: +BuildRequires: ghc-containers-devel BuildRequires: ghc-random-devel -%ifarch %{ghc_arches_with_ghci} BuildRequires: ghc-template-haskell-devel -%endif BuildRequires: ghc-tf-random-devel BuildRequires: ghc-transformers-devel ExclusiveArch: %{ghc_arches_with_ghci} @@ -58,15 +57,14 @@ This package provides the Haskell %{pkg_name} library development files. %build -%ifnarch %{ghc_arches_with_ghci} -%define cabal_configure_options -f "-templateHaskell" -%endif %ghc_lib_build %install %ghc_lib_install +rm %{buildroot}%{ghc_pkgdocdir}/LICENSE + %check %if %{with tests} @@ -83,14 +81,17 @@ This package provides the Haskell %{pkg_name} library development files. %files -f %{name}.files -%doc LICENSE +%license LICENSE %files devel -f %{name}-devel.files -%doc examples README +%doc README examples %changelog +* Fri Oct 02 2015 Jens Petersen - 2.8.1-1 +- update to 2.8.1 + * Wed Jun 17 2015 Fedora Release Engineering - 2.7.6-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild diff --git a/sources b/sources index 6a33479..c548881 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -b936f766ffc9f41feb041beaf96b5fe5 QuickCheck-2.7.6.tar.gz +de1e7cdfc5dc7696b6473ed17ad02983 QuickCheck-2.8.1.tar.gz From ecff0415d87bc4fd88ebe61e5922a4b892352c50 Mon Sep 17 00:00:00 2001 From: Jens Petersen Date: Tue, 2 Feb 2016 00:22:56 +0900 Subject: [PATCH 34/77] Reverting "update to 2.8.1" This reverts commit 512f7d1724c08c041a1b5719b50d11a9b8ef1ab1. --- .gitignore | 1 - ghc-QuickCheck.spec | 19 +++++++++---------- sources | 2 +- 3 files changed, 10 insertions(+), 12 deletions(-) diff --git a/.gitignore b/.gitignore index 247cf1a..ba8c226 100644 --- a/.gitignore +++ b/.gitignore @@ -4,4 +4,3 @@ QuickCheck-2.1.1.1.tar.gz /QuickCheck-2.4.2.tar.gz /QuickCheck-2.6.tar.gz /QuickCheck-2.7.6.tar.gz -/QuickCheck-2.8.1.tar.gz diff --git a/ghc-QuickCheck.spec b/ghc-QuickCheck.spec index 7960cc9..5d3ada1 100644 --- a/ghc-QuickCheck.spec +++ b/ghc-QuickCheck.spec @@ -6,8 +6,8 @@ Name: ghc-%{pkg_name} # part of haskell-platform -Version: 2.8.1 -Release: 1%{?dist} +Version: 2.7.6 +Release: 2%{?dist} Summary: Automatic testing of Haskell programs License: BSD @@ -17,9 +17,10 @@ Source0: https://hackage.haskell.org/package/%{pkg_name}-%{version}/%{pkg BuildRequires: ghc-Cabal-devel BuildRequires: ghc-rpm-macros # Begin cabal-rpm deps: -BuildRequires: ghc-containers-devel BuildRequires: ghc-random-devel +%ifarch %{ghc_arches_with_ghci} BuildRequires: ghc-template-haskell-devel +%endif BuildRequires: ghc-tf-random-devel BuildRequires: ghc-transformers-devel ExclusiveArch: %{ghc_arches_with_ghci} @@ -57,14 +58,15 @@ This package provides the Haskell %{pkg_name} library development files. %build +%ifnarch %{ghc_arches_with_ghci} +%define cabal_configure_options -f "-templateHaskell" +%endif %ghc_lib_build %install %ghc_lib_install -rm %{buildroot}%{ghc_pkgdocdir}/LICENSE - %check %if %{with tests} @@ -81,17 +83,14 @@ rm %{buildroot}%{ghc_pkgdocdir}/LICENSE %files -f %{name}.files -%license LICENSE +%doc LICENSE %files devel -f %{name}-devel.files -%doc README examples +%doc examples README %changelog -* Fri Oct 02 2015 Jens Petersen - 2.8.1-1 -- update to 2.8.1 - * Wed Jun 17 2015 Fedora Release Engineering - 2.7.6-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild diff --git a/sources b/sources index c548881..6a33479 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -de1e7cdfc5dc7696b6473ed17ad02983 QuickCheck-2.8.1.tar.gz +b936f766ffc9f41feb041beaf96b5fe5 QuickCheck-2.7.6.tar.gz From 96b5d5e8ed232e75bdc77dd0254809a902708613 Mon Sep 17 00:00:00 2001 From: Dennis Gilmore Date: Wed, 3 Feb 2016 21:23:46 +0000 Subject: [PATCH 35/77] - Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild --- ghc-QuickCheck.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/ghc-QuickCheck.spec b/ghc-QuickCheck.spec index 5d3ada1..f5b2330 100644 --- a/ghc-QuickCheck.spec +++ b/ghc-QuickCheck.spec @@ -7,7 +7,7 @@ Name: ghc-%{pkg_name} # part of haskell-platform Version: 2.7.6 -Release: 2%{?dist} +Release: 3%{?dist} Summary: Automatic testing of Haskell programs License: BSD @@ -91,6 +91,9 @@ This package provides the Haskell %{pkg_name} library development files. %changelog +* Wed Feb 03 2016 Fedora Release Engineering - 2.7.6-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild + * Wed Jun 17 2015 Fedora Release Engineering - 2.7.6-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild From 0345976a9b8d44df1e682dae48975f4e93aeb4c3 Mon Sep 17 00:00:00 2001 From: Jens Petersen Date: Mon, 7 Mar 2016 22:56:19 +0900 Subject: [PATCH 36/77] drop redundant %ghc_arches_with_ghci --- ghc-QuickCheck.spec | 3 --- 1 file changed, 3 deletions(-) diff --git a/ghc-QuickCheck.spec b/ghc-QuickCheck.spec index f5b2330..4cc12a4 100644 --- a/ghc-QuickCheck.spec +++ b/ghc-QuickCheck.spec @@ -18,12 +18,9 @@ BuildRequires: ghc-Cabal-devel BuildRequires: ghc-rpm-macros # Begin cabal-rpm deps: BuildRequires: ghc-random-devel -%ifarch %{ghc_arches_with_ghci} BuildRequires: ghc-template-haskell-devel -%endif BuildRequires: ghc-tf-random-devel BuildRequires: ghc-transformers-devel -ExclusiveArch: %{ghc_arches_with_ghci} %if %{with tests} BuildRequires: ghc-test-framework-devel %endif From 6135f8c1b71677602036f71d96586e3061e3d0d9 Mon Sep 17 00:00:00 2001 From: Jens Petersen Date: Mon, 7 Mar 2016 22:58:01 +0900 Subject: [PATCH 37/77] drop one more %ghc_arches_with_ghci --- ghc-QuickCheck.spec | 3 --- 1 file changed, 3 deletions(-) diff --git a/ghc-QuickCheck.spec b/ghc-QuickCheck.spec index 4cc12a4..c2c07e6 100644 --- a/ghc-QuickCheck.spec +++ b/ghc-QuickCheck.spec @@ -55,9 +55,6 @@ This package provides the Haskell %{pkg_name} library development files. %build -%ifnarch %{ghc_arches_with_ghci} -%define cabal_configure_options -f "-templateHaskell" -%endif %ghc_lib_build From 560889b3eeed70de094af6462b911ab695d55d39 Mon Sep 17 00:00:00 2001 From: Jens Petersen Date: Mon, 6 Jun 2016 18:43:51 +0900 Subject: [PATCH 38/77] update to 2.8.1 This reverts commit ecff0415d87bc4fd88ebe61e5922a4b892352c50. --- .gitignore | 1 + ghc-QuickCheck.spec | 14 ++++++++++---- sources | 2 +- 3 files changed, 12 insertions(+), 5 deletions(-) diff --git a/.gitignore b/.gitignore index ba8c226..247cf1a 100644 --- a/.gitignore +++ b/.gitignore @@ -4,3 +4,4 @@ QuickCheck-2.1.1.1.tar.gz /QuickCheck-2.4.2.tar.gz /QuickCheck-2.6.tar.gz /QuickCheck-2.7.6.tar.gz +/QuickCheck-2.8.1.tar.gz diff --git a/ghc-QuickCheck.spec b/ghc-QuickCheck.spec index c2c07e6..a6a76b6 100644 --- a/ghc-QuickCheck.spec +++ b/ghc-QuickCheck.spec @@ -6,8 +6,8 @@ Name: ghc-%{pkg_name} # part of haskell-platform -Version: 2.7.6 -Release: 3%{?dist} +Version: 2.8.1 +Release: 1%{?dist} Summary: Automatic testing of Haskell programs License: BSD @@ -17,6 +17,7 @@ Source0: https://hackage.haskell.org/package/%{pkg_name}-%{version}/%{pkg BuildRequires: ghc-Cabal-devel BuildRequires: ghc-rpm-macros # Begin cabal-rpm deps: +BuildRequires: ghc-containers-devel BuildRequires: ghc-random-devel BuildRequires: ghc-template-haskell-devel BuildRequires: ghc-tf-random-devel @@ -61,6 +62,8 @@ This package provides the Haskell %{pkg_name} library development files. %install %ghc_lib_install +rm %{buildroot}%{ghc_pkgdocdir}/LICENSE + %check %if %{with tests} @@ -77,14 +80,17 @@ This package provides the Haskell %{pkg_name} library development files. %files -f %{name}.files -%doc LICENSE +%license LICENSE %files devel -f %{name}-devel.files -%doc examples README +%doc README examples %changelog +* Mon Jun 6 2016 Jens Petersen - 2.8.1-1 +- update to 2.8.1 + * Wed Feb 03 2016 Fedora Release Engineering - 2.7.6-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild diff --git a/sources b/sources index 6a33479..c548881 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -b936f766ffc9f41feb041beaf96b5fe5 QuickCheck-2.7.6.tar.gz +de1e7cdfc5dc7696b6473ed17ad02983 QuickCheck-2.8.1.tar.gz From 81476056f8794818266b77dd538784b4c9660def Mon Sep 17 00:00:00 2001 From: Jens Petersen Date: Sun, 26 Jun 2016 14:53:52 +0900 Subject: [PATCH 39/77] update to 2.8.2 --- .gitignore | 1 + ghc-QuickCheck.spec | 8 ++++++-- sources | 2 +- 3 files changed, 8 insertions(+), 3 deletions(-) diff --git a/.gitignore b/.gitignore index 247cf1a..c08ca5a 100644 --- a/.gitignore +++ b/.gitignore @@ -5,3 +5,4 @@ QuickCheck-2.1.1.1.tar.gz /QuickCheck-2.6.tar.gz /QuickCheck-2.7.6.tar.gz /QuickCheck-2.8.1.tar.gz +/QuickCheck-2.8.2.tar.gz diff --git a/ghc-QuickCheck.spec b/ghc-QuickCheck.spec index a6a76b6..a6e593c 100644 --- a/ghc-QuickCheck.spec +++ b/ghc-QuickCheck.spec @@ -1,3 +1,4 @@ +# generated by cabal-rpm-0.9.11 # https://fedoraproject.org/wiki/Packaging:Haskell %global pkg_name QuickCheck @@ -6,7 +7,7 @@ Name: ghc-%{pkg_name} # part of haskell-platform -Version: 2.8.1 +Version: 2.8.2 Release: 1%{?dist} Summary: Automatic testing of Haskell programs @@ -84,10 +85,13 @@ rm %{buildroot}%{ghc_pkgdocdir}/LICENSE %files devel -f %{name}-devel.files -%doc README examples +%doc README changelog examples %changelog +* Sun Jun 26 2016 Jens Petersen - 2.8.2-1 +- update to 2.8.2 + * Mon Jun 6 2016 Jens Petersen - 2.8.1-1 - update to 2.8.1 diff --git a/sources b/sources index c548881..b060563 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -de1e7cdfc5dc7696b6473ed17ad02983 QuickCheck-2.8.1.tar.gz +10cff478264f593380310f1f4c0fe551 QuickCheck-2.8.2.tar.gz From 27ae0096982ad9e0672dcd630f0970b54bb44794 Mon Sep 17 00:00:00 2001 From: Jens Petersen Date: Tue, 27 Sep 2016 19:15:25 +0900 Subject: [PATCH 40/77] no longer remove license; use cabal_test --- ghc-QuickCheck.spec | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/ghc-QuickCheck.spec b/ghc-QuickCheck.spec index a6e593c..bdfc4a2 100644 --- a/ghc-QuickCheck.spec +++ b/ghc-QuickCheck.spec @@ -63,13 +63,9 @@ This package provides the Haskell %{pkg_name} library development files. %install %ghc_lib_install -rm %{buildroot}%{ghc_pkgdocdir}/LICENSE - %check -%if %{with tests} -%cabal test -%endif +%cabal_test %post devel From 2426087ab805cdbdf32d1247f355401101eb2216 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Fri, 10 Feb 2017 10:31:57 +0000 Subject: [PATCH 41/77] - Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild --- ghc-QuickCheck.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/ghc-QuickCheck.spec b/ghc-QuickCheck.spec index bdfc4a2..e86bb78 100644 --- a/ghc-QuickCheck.spec +++ b/ghc-QuickCheck.spec @@ -8,7 +8,7 @@ Name: ghc-%{pkg_name} # part of haskell-platform Version: 2.8.2 -Release: 1%{?dist} +Release: 2%{?dist} Summary: Automatic testing of Haskell programs License: BSD @@ -85,6 +85,9 @@ This package provides the Haskell %{pkg_name} library development files. %changelog +* Fri Feb 10 2017 Fedora Release Engineering - 2.8.2-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild + * Sun Jun 26 2016 Jens Petersen - 2.8.2-1 - update to 2.8.2 From adb60a491d38d4ad839e7507389ad62a7af99c35 Mon Sep 17 00:00:00 2001 From: Jens Petersen Date: Mon, 20 Feb 2017 21:49:38 +0900 Subject: [PATCH 42/77] update to 2.9.2 --- .gitignore | 1 + ghc-QuickCheck.spec | 10 +++++++--- sources | 2 +- 3 files changed, 9 insertions(+), 4 deletions(-) diff --git a/.gitignore b/.gitignore index c08ca5a..67aa185 100644 --- a/.gitignore +++ b/.gitignore @@ -6,3 +6,4 @@ QuickCheck-2.1.1.1.tar.gz /QuickCheck-2.7.6.tar.gz /QuickCheck-2.8.1.tar.gz /QuickCheck-2.8.2.tar.gz +/QuickCheck-2.9.2.tar.gz diff --git a/ghc-QuickCheck.spec b/ghc-QuickCheck.spec index e86bb78..b7c4581 100644 --- a/ghc-QuickCheck.spec +++ b/ghc-QuickCheck.spec @@ -1,4 +1,4 @@ -# generated by cabal-rpm-0.9.11 +# generated by cabal-rpm-0.11.1 # https://fedoraproject.org/wiki/Packaging:Haskell %global pkg_name QuickCheck @@ -7,8 +7,8 @@ Name: ghc-%{pkg_name} # part of haskell-platform -Version: 2.8.2 -Release: 2%{?dist} +Version: 2.9.2 +Release: 1%{?dist} Summary: Automatic testing of Haskell programs License: BSD @@ -20,6 +20,7 @@ BuildRequires: ghc-rpm-macros # Begin cabal-rpm deps: BuildRequires: ghc-containers-devel BuildRequires: ghc-random-devel +BuildRequires: ghc-semigroups-devel BuildRequires: ghc-template-haskell-devel BuildRequires: ghc-tf-random-devel BuildRequires: ghc-transformers-devel @@ -85,6 +86,9 @@ This package provides the Haskell %{pkg_name} library development files. %changelog +* Mon Feb 20 2017 Jens Petersen - 2.9.2-1 +- update to 2.9.2 + * Fri Feb 10 2017 Fedora Release Engineering - 2.8.2-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild diff --git a/sources b/sources index b060563..9152603 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -10cff478264f593380310f1f4c0fe551 QuickCheck-2.8.2.tar.gz +SHA512 (QuickCheck-2.9.2.tar.gz) = 7b8bad1995e6ce5484f627f9edab91cb8d124b63444e9f62b613b0d1558c2639101dd30d6c455e7f66ffa613f704aeead89faceea56eb411ba8ed15472edb917 From 4ad9bf21d21eb207a2720affb6d210dc8d60ee20 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Wed, 26 Jul 2017 09:32:54 +0000 Subject: [PATCH 43/77] - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild --- ghc-QuickCheck.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/ghc-QuickCheck.spec b/ghc-QuickCheck.spec index b7c4581..7d2f383 100644 --- a/ghc-QuickCheck.spec +++ b/ghc-QuickCheck.spec @@ -8,7 +8,7 @@ Name: ghc-%{pkg_name} # part of haskell-platform Version: 2.9.2 -Release: 1%{?dist} +Release: 2%{?dist} Summary: Automatic testing of Haskell programs License: BSD @@ -86,6 +86,9 @@ This package provides the Haskell %{pkg_name} library development files. %changelog +* Wed Jul 26 2017 Fedora Release Engineering - 2.9.2-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild + * Mon Feb 20 2017 Jens Petersen - 2.9.2-1 - update to 2.9.2 From 4430251365bebe2d38b48081d03cb083b4df140e Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Wed, 2 Aug 2017 21:11:07 +0000 Subject: [PATCH 44/77] - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild --- ghc-QuickCheck.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/ghc-QuickCheck.spec b/ghc-QuickCheck.spec index 7d2f383..ca4a087 100644 --- a/ghc-QuickCheck.spec +++ b/ghc-QuickCheck.spec @@ -8,7 +8,7 @@ Name: ghc-%{pkg_name} # part of haskell-platform Version: 2.9.2 -Release: 2%{?dist} +Release: 3%{?dist} Summary: Automatic testing of Haskell programs License: BSD @@ -86,6 +86,9 @@ This package provides the Haskell %{pkg_name} library development files. %changelog +* Wed Aug 02 2017 Fedora Release Engineering - 2.9.2-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild + * Wed Jul 26 2017 Fedora Release Engineering - 2.9.2-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild From a7718c6499ba6aee65bfa83b3aab4a0c5b38a115 Mon Sep 17 00:00:00 2001 From: Jens Petersen Date: Wed, 24 Jan 2018 14:10:27 +0100 Subject: [PATCH 45/77] refresh to cabal-rpm-0.12.1 --- ghc-QuickCheck.spec | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/ghc-QuickCheck.spec b/ghc-QuickCheck.spec index ca4a087..a8651cb 100644 --- a/ghc-QuickCheck.spec +++ b/ghc-QuickCheck.spec @@ -1,4 +1,4 @@ -# generated by cabal-rpm-0.11.1 +# generated by cabal-rpm-0.12.1 # https://fedoraproject.org/wiki/Packaging:Haskell %global pkg_name QuickCheck @@ -44,9 +44,12 @@ observe the distribution of test data, and define test data generators. %package devel Summary: Haskell %{pkg_name} library development files Provides: %{name}-static = %{version}-%{release} +Provides: %{name}-doc = %{version}-%{release} +%if %{defined ghc_version} Requires: ghc-compiler = %{ghc_version} Requires(post): ghc-compiler = %{ghc_version} Requires(postun): ghc-compiler = %{ghc_version} +%endif Requires: %{name}%{?_isa} = %{version}-%{release} %description devel @@ -69,6 +72,12 @@ This package provides the Haskell %{pkg_name} library development files. %cabal_test +%post -p /sbin/ldconfig + + +%postun -p /sbin/ldconfig + + %post devel %ghc_pkg_recache From 6ee9fb244584091314f6bc29be0aae0692396a60 Mon Sep 17 00:00:00 2001 From: Jens Petersen Date: Wed, 24 Jan 2018 15:18:01 +0100 Subject: [PATCH 46/77] update to 2.10.1 --- .gitignore | 1 + ghc-QuickCheck.spec | 9 ++++----- sources | 2 +- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/.gitignore b/.gitignore index 67aa185..c8cb00e 100644 --- a/.gitignore +++ b/.gitignore @@ -7,3 +7,4 @@ QuickCheck-2.1.1.1.tar.gz /QuickCheck-2.8.1.tar.gz /QuickCheck-2.8.2.tar.gz /QuickCheck-2.9.2.tar.gz +/QuickCheck-2.10.1.tar.gz diff --git a/ghc-QuickCheck.spec b/ghc-QuickCheck.spec index a8651cb..1ac4ab0 100644 --- a/ghc-QuickCheck.spec +++ b/ghc-QuickCheck.spec @@ -8,7 +8,7 @@ Name: ghc-%{pkg_name} # part of haskell-platform Version: 2.9.2 -Release: 3%{?dist} +Release: 1%{?dist} Summary: Automatic testing of Haskell programs License: BSD @@ -68,10 +68,6 @@ This package provides the Haskell %{pkg_name} library development files. %ghc_lib_install -%check -%cabal_test - - %post -p /sbin/ldconfig @@ -95,6 +91,9 @@ This package provides the Haskell %{pkg_name} library development files. %changelog +* Wed Jan 24 2018 Jens Petersen - 2.9.2-1 +- update to 2.10.1 + * Wed Aug 02 2017 Fedora Release Engineering - 2.9.2-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild diff --git a/sources b/sources index 9152603..8acf61a 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (QuickCheck-2.9.2.tar.gz) = 7b8bad1995e6ce5484f627f9edab91cb8d124b63444e9f62b613b0d1558c2639101dd30d6c455e7f66ffa613f704aeead89faceea56eb411ba8ed15472edb917 +SHA512 (QuickCheck-2.10.1.tar.gz) = f7399ff66549e4909cca8ef70797f77af6ca6df53604bec4b08780569b9e6f7340a241f797b44fe1b9af4e5e78b5569072779db0f88b366b49acf1e37656d7c1 From fd87e32f146f5a23fa1277c1d2c2f9b850d4f3d3 Mon Sep 17 00:00:00 2001 From: Jens Petersen Date: Sat, 27 Jan 2018 12:35:31 +0100 Subject: [PATCH 47/77] really update to 2.10.1 --- ghc-QuickCheck.spec | 14 +++++--------- 1 file changed, 5 insertions(+), 9 deletions(-) diff --git a/ghc-QuickCheck.spec b/ghc-QuickCheck.spec index 1ac4ab0..bc7c7ca 100644 --- a/ghc-QuickCheck.spec +++ b/ghc-QuickCheck.spec @@ -2,31 +2,27 @@ # https://fedoraproject.org/wiki/Packaging:Haskell %global pkg_name QuickCheck - -%bcond_with tests +%global pkgver %{pkg_name}-%{version} Name: ghc-%{pkg_name} # part of haskell-platform -Version: 2.9.2 +Version: 2.10.1 Release: 1%{?dist} Summary: Automatic testing of Haskell programs License: BSD Url: https://hackage.haskell.org/package/%{pkg_name} -Source0: https://hackage.haskell.org/package/%{pkg_name}-%{version}/%{pkg_name}-%{version}.tar.gz +Source0: https://hackage.haskell.org/package/%{pkgver}/%{pkgver}.tar.gz BuildRequires: ghc-Cabal-devel BuildRequires: ghc-rpm-macros # Begin cabal-rpm deps: BuildRequires: ghc-containers-devel +BuildRequires: ghc-deepseq-devel BuildRequires: ghc-random-devel -BuildRequires: ghc-semigroups-devel BuildRequires: ghc-template-haskell-devel BuildRequires: ghc-tf-random-devel BuildRequires: ghc-transformers-devel -%if %{with tests} -BuildRequires: ghc-test-framework-devel -%endif # End cabal-rpm deps %description @@ -57,7 +53,7 @@ This package provides the Haskell %{pkg_name} library development files. %prep -%setup -q -n %{pkg_name}-%{version} +%setup -q -n %{pkgver} %build From e3ddd4f3edec3b0308f8942ad439b606ff65e7c4 Mon Sep 17 00:00:00 2001 From: Jens Petersen Date: Sun, 4 Feb 2018 01:01:49 +0900 Subject: [PATCH 48/77] drop ldconfig scriptlets --- ghc-QuickCheck.spec | 6 ------ 1 file changed, 6 deletions(-) diff --git a/ghc-QuickCheck.spec b/ghc-QuickCheck.spec index bc7c7ca..84baf13 100644 --- a/ghc-QuickCheck.spec +++ b/ghc-QuickCheck.spec @@ -64,12 +64,6 @@ This package provides the Haskell %{pkg_name} library development files. %ghc_lib_install -%post -p /sbin/ldconfig - - -%postun -p /sbin/ldconfig - - %post devel %ghc_pkg_recache From 0dbb1414cf1e74d491769baba43442eeb9e20b3a Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Wed, 7 Feb 2018 11:14:34 +0000 Subject: [PATCH 49/77] - Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild Signed-off-by: Fedora Release Engineering --- ghc-QuickCheck.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/ghc-QuickCheck.spec b/ghc-QuickCheck.spec index 84baf13..54fc6f9 100644 --- a/ghc-QuickCheck.spec +++ b/ghc-QuickCheck.spec @@ -7,7 +7,7 @@ Name: ghc-%{pkg_name} # part of haskell-platform Version: 2.10.1 -Release: 1%{?dist} +Release: 2%{?dist} Summary: Automatic testing of Haskell programs License: BSD @@ -81,6 +81,9 @@ This package provides the Haskell %{pkg_name} library development files. %changelog +* Wed Feb 07 2018 Fedora Release Engineering - 2.10.1-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild + * Wed Jan 24 2018 Jens Petersen - 2.9.2-1 - update to 2.10.1 From 332b939166b0f9d3d9eca8387f822cd1fad0c8bd Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Fri, 13 Jul 2018 01:30:48 +0000 Subject: [PATCH 50/77] - Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild Signed-off-by: Fedora Release Engineering --- ghc-QuickCheck.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/ghc-QuickCheck.spec b/ghc-QuickCheck.spec index 54fc6f9..419864e 100644 --- a/ghc-QuickCheck.spec +++ b/ghc-QuickCheck.spec @@ -7,7 +7,7 @@ Name: ghc-%{pkg_name} # part of haskell-platform Version: 2.10.1 -Release: 2%{?dist} +Release: 3%{?dist} Summary: Automatic testing of Haskell programs License: BSD @@ -81,6 +81,9 @@ This package provides the Haskell %{pkg_name} library development files. %changelog +* Fri Jul 13 2018 Fedora Release Engineering - 2.10.1-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild + * Wed Feb 07 2018 Fedora Release Engineering - 2.10.1-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild From b0384c7c0c00308b1ab22e261445323df3ebc693 Mon Sep 17 00:00:00 2001 From: Jens Petersen Date: Sun, 22 Jul 2018 00:24:22 +0900 Subject: [PATCH 51/77] remove part of haskell-platform comment --- ghc-QuickCheck.spec | 1 - 1 file changed, 1 deletion(-) diff --git a/ghc-QuickCheck.spec b/ghc-QuickCheck.spec index 419864e..0983576 100644 --- a/ghc-QuickCheck.spec +++ b/ghc-QuickCheck.spec @@ -5,7 +5,6 @@ %global pkgver %{pkg_name}-%{version} Name: ghc-%{pkg_name} -# part of haskell-platform Version: 2.10.1 Release: 3%{?dist} Summary: Automatic testing of Haskell programs From c34bc5e042423e8ec503573df830d1d37c1578fb Mon Sep 17 00:00:00 2001 From: Jens Petersen Date: Sun, 29 Jul 2018 01:05:24 +0900 Subject: [PATCH 52/77] rebuild --- ghc-QuickCheck.spec | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/ghc-QuickCheck.spec b/ghc-QuickCheck.spec index 0983576..0a98fb1 100644 --- a/ghc-QuickCheck.spec +++ b/ghc-QuickCheck.spec @@ -1,4 +1,4 @@ -# generated by cabal-rpm-0.12.1 +# generated by cabal-rpm-0.12.5 # https://fedoraproject.org/wiki/Packaging:Haskell %global pkg_name QuickCheck @@ -6,7 +6,7 @@ Name: ghc-%{pkg_name} Version: 2.10.1 -Release: 3%{?dist} +Release: 4%{?dist} Summary: Automatic testing of Haskell programs License: BSD @@ -80,6 +80,9 @@ This package provides the Haskell %{pkg_name} library development files. %changelog +* Sat Jul 28 2018 Jens Petersen - 2.10.1-4 +- rebuild + * Fri Jul 13 2018 Fedora Release Engineering - 2.10.1-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild From 13cb1f492fc8fa1317d6b27b38f7ba0796ddc42b Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Thu, 31 Jan 2019 21:06:37 +0000 Subject: [PATCH 53/77] - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild Signed-off-by: Fedora Release Engineering --- ghc-QuickCheck.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/ghc-QuickCheck.spec b/ghc-QuickCheck.spec index 0a98fb1..8807acd 100644 --- a/ghc-QuickCheck.spec +++ b/ghc-QuickCheck.spec @@ -6,7 +6,7 @@ Name: ghc-%{pkg_name} Version: 2.10.1 -Release: 4%{?dist} +Release: 5%{?dist} Summary: Automatic testing of Haskell programs License: BSD @@ -80,6 +80,9 @@ This package provides the Haskell %{pkg_name} library development files. %changelog +* Thu Jan 31 2019 Fedora Release Engineering - 2.10.1-5 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild + * Sat Jul 28 2018 Jens Petersen - 2.10.1-4 - rebuild From ad555b48ae9fb6a6beaf793958904df59949e2c7 Mon Sep 17 00:00:00 2001 From: Jens Petersen Date: Sun, 17 Feb 2019 22:43:16 +0800 Subject: [PATCH 54/77] refresh to cabal-rpm-0.13 --- ghc-QuickCheck.spec | 19 ++++++++++++++++--- 1 file changed, 16 insertions(+), 3 deletions(-) diff --git a/ghc-QuickCheck.spec b/ghc-QuickCheck.spec index 8807acd..0b9c5e3 100644 --- a/ghc-QuickCheck.spec +++ b/ghc-QuickCheck.spec @@ -1,4 +1,4 @@ -# generated by cabal-rpm-0.12.5 +# generated by cabal-rpm-0.13 # https://fedoraproject.org/wiki/Packaging:Haskell %global pkg_name QuickCheck @@ -6,16 +6,18 @@ Name: ghc-%{pkg_name} Version: 2.10.1 -Release: 5%{?dist} +Release: 6%{?dist} Summary: Automatic testing of Haskell programs License: BSD Url: https://hackage.haskell.org/package/%{pkg_name} +# Begin cabal-rpm sources: Source0: https://hackage.haskell.org/package/%{pkgver}/%{pkgver}.tar.gz +# End cabal-rpm sources +# Begin cabal-rpm deps: BuildRequires: ghc-Cabal-devel BuildRequires: ghc-rpm-macros -# Begin cabal-rpm deps: BuildRequires: ghc-containers-devel BuildRequires: ghc-deepseq-devel BuildRequires: ghc-random-devel @@ -52,15 +54,21 @@ This package provides the Haskell %{pkg_name} library development files. %prep +# Begin cabal-rpm setup: %setup -q -n %{pkgver} +# End cabal-rpm setup %build +# Begin cabal-rpm build: %ghc_lib_build +# End cabal-rpm build %install +# Begin cabal-rpm install %ghc_lib_install +# End cabal-rpm install %post devel @@ -72,7 +80,9 @@ This package provides the Haskell %{pkg_name} library development files. %files -f %{name}.files +# Begin cabal-rpm files: %license LICENSE +# End cabal-rpm files %files devel -f %{name}-devel.files @@ -80,6 +90,9 @@ This package provides the Haskell %{pkg_name} library development files. %changelog +* Sun Feb 17 2019 Jens Petersen - 2.10.1-6 +- refresh to cabal-rpm-0.13 + * Thu Jan 31 2019 Fedora Release Engineering - 2.10.1-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild From 7d0edaf8ec1b0e2cab84923dee18768d3d776698 Mon Sep 17 00:00:00 2001 From: Jens Petersen Date: Thu, 21 Feb 2019 10:01:20 +0800 Subject: [PATCH 55/77] update to 2.11.3 --- .gitignore | 1 + ghc-QuickCheck.spec | 7 +++++-- sources | 2 +- 3 files changed, 7 insertions(+), 3 deletions(-) diff --git a/.gitignore b/.gitignore index c8cb00e..5a8cf7d 100644 --- a/.gitignore +++ b/.gitignore @@ -8,3 +8,4 @@ QuickCheck-2.1.1.1.tar.gz /QuickCheck-2.8.2.tar.gz /QuickCheck-2.9.2.tar.gz /QuickCheck-2.10.1.tar.gz +/QuickCheck-2.11.3.tar.gz diff --git a/ghc-QuickCheck.spec b/ghc-QuickCheck.spec index 0b9c5e3..29a4640 100644 --- a/ghc-QuickCheck.spec +++ b/ghc-QuickCheck.spec @@ -5,8 +5,8 @@ %global pkgver %{pkg_name}-%{version} Name: ghc-%{pkg_name} -Version: 2.10.1 -Release: 6%{?dist} +Version: 2.11.3 +Release: 1%{?dist} Summary: Automatic testing of Haskell programs License: BSD @@ -90,6 +90,9 @@ This package provides the Haskell %{pkg_name} library development files. %changelog +* Thu Feb 21 2019 Jens Petersen - 2.11.3-1 +- update to 2.11.3 + * Sun Feb 17 2019 Jens Petersen - 2.10.1-6 - refresh to cabal-rpm-0.13 diff --git a/sources b/sources index 8acf61a..e5f5583 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (QuickCheck-2.10.1.tar.gz) = f7399ff66549e4909cca8ef70797f77af6ca6df53604bec4b08780569b9e6f7340a241f797b44fe1b9af4e5e78b5569072779db0f88b366b49acf1e37656d7c1 +SHA512 (QuickCheck-2.11.3.tar.gz) = 17b3c5803cbca980375a1837b4ba931f346be8a720fcc0e37ad2c46abc8ba2073c49635bc89739d34653376c3f7fe1bd39560092c005b8dbce0a7effac25d73d From b1e054341d0b5033a0cf24af43ef415e465d3f74 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Thu, 25 Jul 2019 02:02:19 +0000 Subject: [PATCH 56/77] - Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild Signed-off-by: Fedora Release Engineering --- ghc-QuickCheck.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/ghc-QuickCheck.spec b/ghc-QuickCheck.spec index 29a4640..b74da72 100644 --- a/ghc-QuickCheck.spec +++ b/ghc-QuickCheck.spec @@ -6,7 +6,7 @@ Name: ghc-%{pkg_name} Version: 2.11.3 -Release: 1%{?dist} +Release: 2%{?dist} Summary: Automatic testing of Haskell programs License: BSD @@ -90,6 +90,9 @@ This package provides the Haskell %{pkg_name} library development files. %changelog +* Thu Jul 25 2019 Fedora Release Engineering - 2.11.3-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild + * Thu Feb 21 2019 Jens Petersen - 2.11.3-1 - update to 2.11.3 From 0e30dcc04cda767095feb9b98dc31d2c146517b6 Mon Sep 17 00:00:00 2001 From: Jens Petersen Date: Thu, 25 Jul 2019 04:21:13 +0000 Subject: [PATCH 57/77] refresh to cabal-rpm-1.0.0: lib doc/prof subpkgs and bin static BRs --- ghc-QuickCheck.spec | 48 +++++++++++++++++++++++++++++++++------------ 1 file changed, 36 insertions(+), 12 deletions(-) diff --git a/ghc-QuickCheck.spec b/ghc-QuickCheck.spec index b74da72..0cf10cf 100644 --- a/ghc-QuickCheck.spec +++ b/ghc-QuickCheck.spec @@ -1,4 +1,4 @@ -# generated by cabal-rpm-0.13 +# generated by cabal-rpm-1.0.0 # https://fedoraproject.org/wiki/Packaging:Haskell %global pkg_name QuickCheck @@ -17,6 +17,12 @@ Source0: https://hackage.haskell.org/package/%{pkgver}/%{pkgver}.tar.gz # Begin cabal-rpm deps: BuildRequires: ghc-Cabal-devel +%if %{with haddock} +BuildRequires: ghc-doc +%endif +%if %{with ghc_prof} +BuildRequires: ghc-prof +%endif BuildRequires: ghc-rpm-macros BuildRequires: ghc-containers-devel BuildRequires: ghc-deepseq-devel @@ -41,11 +47,8 @@ observe the distribution of test data, and define test data generators. %package devel Summary: Haskell %{pkg_name} library development files Provides: %{name}-static = %{version}-%{release} -Provides: %{name}-doc = %{version}-%{release} %if %{defined ghc_version} Requires: ghc-compiler = %{ghc_version} -Requires(post): ghc-compiler = %{ghc_version} -Requires(postun): ghc-compiler = %{ghc_version} %endif Requires: %{name}%{?_isa} = %{version}-%{release} @@ -53,6 +56,25 @@ Requires: %{name}%{?_isa} = %{version}-%{release} This package provides the Haskell %{pkg_name} library development files. +%if %{with haddock} +%package doc +Summary: Haskell %{pkg_name} library documentation + +%description doc +This package provides the Haskell %{pkg_name} library documentation. +%endif + + +%if %{with ghc_prof} +%package prof +Summary: Haskell %{pkg_name} profiling library +Requires: %{name}-devel%{?_isa} = %{version}-%{release} + +%description prof +This package provides the Haskell %{pkg_name} profiling library. +%endif + + %prep # Begin cabal-rpm setup: %setup -q -n %{pkgver} @@ -71,14 +93,6 @@ This package provides the Haskell %{pkg_name} library development files. # End cabal-rpm install -%post devel -%ghc_pkg_recache - - -%postun devel -%ghc_pkg_recache - - %files -f %{name}.files # Begin cabal-rpm files: %license LICENSE @@ -89,6 +103,16 @@ This package provides the Haskell %{pkg_name} library development files. %doc README changelog examples +%if %{with haddock} +%files doc -f %{name}-doc.files +%endif + + +%if %{with ghc_prof} +%files prof -f %{name}-prof.files +%endif + + %changelog * Thu Jul 25 2019 Fedora Release Engineering - 2.11.3-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild From 8f01cbb6e94adb8d61a1c2d6bbbc95988667ab47 Mon Sep 17 00:00:00 2001 From: Jens Petersen Date: Thu, 25 Jul 2019 15:06:37 +0000 Subject: [PATCH 58/77] update to 2.12.6.1 --- .gitignore | 1 + QuickCheck-2.12.6.1.cabal | 201 ++++++++++++++++++++++++++++++++++++++ ghc-QuickCheck.spec | 17 +++- sources | 2 +- 4 files changed, 218 insertions(+), 3 deletions(-) create mode 100644 QuickCheck-2.12.6.1.cabal diff --git a/.gitignore b/.gitignore index 5a8cf7d..41f0be8 100644 --- a/.gitignore +++ b/.gitignore @@ -9,3 +9,4 @@ QuickCheck-2.1.1.1.tar.gz /QuickCheck-2.9.2.tar.gz /QuickCheck-2.10.1.tar.gz /QuickCheck-2.11.3.tar.gz +/QuickCheck-2.12.6.1.tar.gz diff --git a/QuickCheck-2.12.6.1.cabal b/QuickCheck-2.12.6.1.cabal new file mode 100644 index 0000000..64db495 --- /dev/null +++ b/QuickCheck-2.12.6.1.cabal @@ -0,0 +1,201 @@ +Name: QuickCheck +Version: 2.12.6.1 +x-revision: 3 +Cabal-Version: >= 1.8 +Build-type: Simple +License: BSD3 +License-file: LICENSE +Copyright: 2000-2018 Koen Claessen, 2006-2008 Björn Bringert, 2009-2018 Nick Smallbone +Author: Koen Claessen +Maintainer: Nick Smallbone +Bug-reports: https://github.com/nick8325/quickcheck/issues +Tested-with: GHC >= 7.0 +Homepage: https://github.com/nick8325/quickcheck +Category: Testing +Synopsis: Automatic testing of Haskell programs +Description: + QuickCheck is a library for random testing of program properties. + The programmer provides a specification of the program, in the form of + properties which functions should satisfy, and QuickCheck then tests that the + properties hold in a large number of randomly generated cases. + Specifications are expressed in Haskell, using combinators provided by + QuickCheck. QuickCheck provides combinators to define properties, observe the + distribution of test data, and define test data generators. + . + Most of QuickCheck's functionality is exported by the main "Test.QuickCheck" + module. The main exception is the monadic property testing library in + "Test.QuickCheck.Monadic". + . + If you are new to QuickCheck, you can try looking at the following resources: + . + * The . + It's a bit out-of-date in some details and doesn't cover newer QuickCheck features, + but is still full of good advice. + * , + a detailed tutorial written by a user of QuickCheck. + . + The + companion package provides instances for types in Haskell Platform packages + at the cost of additional dependencies. + +extra-source-files: + README + changelog + examples/Heap.hs + examples/Heap_Program.hs + examples/Heap_ProgramAlgebraic.hs + examples/Lambda.hs + examples/Merge.hs + examples/Set.hs + examples/Simple.hs + +source-repository head + type: git + location: https://github.com/nick8325/quickcheck + +source-repository this + type: git + location: https://github.com/nick8325/quickcheck + tag: 2.12.6.1 + +flag templateHaskell + Description: Build Test.QuickCheck.All, which uses Template Haskell. + Default: True + +library + -- System.Random is explicitly Trustworthy + build-depends: random >=1.0.1.0 && <1.2 + + -- Monad(fail) + build-depends: base <4.13 + + Build-depends: base >=4.3 && <5, random, containers, erf >= 2 + + -- Modules that are always built. + Exposed-Modules: + Test.QuickCheck, + Test.QuickCheck.Arbitrary, + Test.QuickCheck.Gen, + Test.QuickCheck.Gen.Unsafe, + Test.QuickCheck.Monadic, + Test.QuickCheck.Modifiers, + Test.QuickCheck.Property, + Test.QuickCheck.Test, + Test.QuickCheck.Text, + Test.QuickCheck.Poly, + Test.QuickCheck.State, + Test.QuickCheck.Random, + Test.QuickCheck.Exception, + Test.QuickCheck.Features + + -- GHC-specific modules. + if impl(ghc) + Exposed-Modules: Test.QuickCheck.Function + Build-depends: transformers >= 0.3, deepseq >= 1.3.0.0 && < 1.5 + else + cpp-options: -DNO_TRANSFORMERS -DNO_DEEPSEQ + + if impl(ghc) && flag(templateHaskell) + Build-depends: template-haskell >= 2.4 + Other-Extensions: TemplateHaskell + Exposed-Modules: Test.QuickCheck.All + else + cpp-options: -DNO_TEMPLATE_HASKELL + + if !impl(ghc >= 7.4) + cpp-options: -DNO_CTYPES_CONSTRUCTORS -DNO_FOREIGN_C_USECONDS + + -- The new generics appeared in GHC 7.2... + if impl(ghc < 7.2) + cpp-options: -DNO_GENERICS + -- ...but in 7.2-7.4 it lives in the ghc-prim package. + if impl(ghc >= 7.2) && impl(ghc < 7.6) + Build-depends: ghc-prim + + -- Safe Haskell appeared in GHC 7.2, but GHC.Generics isn't safe until 7.4. + if impl (ghc < 7.4) + cpp-options: -DNO_SAFE_HASKELL + + -- Use tf-random on newer GHCs. + if impl(ghc) + Build-depends: tf-random >= 0.4 + else + cpp-options: -DNO_TF_RANDOM + + if !impl(ghc >= 7.6) + cpp-options: -DNO_POLYKINDS + + if !impl(ghc >= 8.0) + cpp-options: -DNO_MONADFAIL + + -- Switch off most optional features on non-GHC systems. + if !impl(ghc) + -- If your Haskell compiler can cope without some of these, please + -- send a message to the QuickCheck mailing list! + cpp-options: -DNO_TIMEOUT -DNO_NEWTYPE_DERIVING -DNO_GENERICS -DNO_TEMPLATE_HASKELL -DNO_SAFE_HASKELL -DNO_TYPEABLE + if !impl(hugs) && !impl(uhc) + cpp-options: -DNO_ST_MONAD -DNO_MULTI_PARAM_TYPE_CLASSES + + -- LANGUAGE pragmas don't have any effect in Hugs. + if impl(hugs) + Extensions: CPP + + if impl(uhc) + -- Cabal under UHC needs pointing out all the dependencies of the + -- random package. + Build-depends: old-time, old-locale + -- Plus some bits of the standard library are missing. + cpp-options: -DNO_FIXED -DNO_EXCEPTIONS + +Test-Suite test-quickcheck + type: exitcode-stdio-1.0 + hs-source-dirs: + examples + main-is: Heap.hs + build-depends: base, QuickCheck + if !flag(templateHaskell) + Buildable: False + +Test-Suite test-quickcheck-gcoarbitrary + type: exitcode-stdio-1.0 + hs-source-dirs: tests + main-is: GCoArbitraryExample.hs + build-depends: base, QuickCheck + if !impl(ghc >= 7.2) + buildable: False + if impl(ghc >= 7.2) && impl(ghc < 7.6) + build-depends: ghc-prim + +Test-Suite test-quickcheck-generators + type: exitcode-stdio-1.0 + hs-source-dirs: tests + main-is: Generators.hs + build-depends: base, QuickCheck + if !flag(templateHaskell) + Buildable: False + +Test-Suite test-quickcheck-gshrink + type: exitcode-stdio-1.0 + hs-source-dirs: tests + main-is: GShrinkExample.hs + build-depends: base, QuickCheck + if !impl(ghc >= 7.2) + buildable: False + if impl(ghc >= 7.2) && impl(ghc < 7.6) + build-depends: ghc-prim + +Test-Suite test-quickcheck-terminal + type: exitcode-stdio-1.0 + hs-source-dirs: tests + main-is: Terminal.hs + build-depends: base, process, deepseq >= 1.3.0.0 && < 1.5, QuickCheck + if !impl(ghc >= 7.10) + buildable: False + +Test-Suite test-quickcheck-monadfix + type: exitcode-stdio-1.0 + hs-source-dirs: tests + main-is: MonadFix.hs + build-depends: base, QuickCheck + if !impl(ghc >= 7.10) + buildable: False diff --git a/ghc-QuickCheck.spec b/ghc-QuickCheck.spec index 0cf10cf..d4e15a7 100644 --- a/ghc-QuickCheck.spec +++ b/ghc-QuickCheck.spec @@ -4,9 +4,11 @@ %global pkg_name QuickCheck %global pkgver %{pkg_name}-%{version} +%bcond_without tests + Name: ghc-%{pkg_name} -Version: 2.11.3 -Release: 2%{?dist} +Version: 2.12.6.1 +Release: 1%{?dist} Summary: Automatic testing of Haskell programs License: BSD @@ -26,10 +28,14 @@ BuildRequires: ghc-prof BuildRequires: ghc-rpm-macros BuildRequires: ghc-containers-devel BuildRequires: ghc-deepseq-devel +BuildRequires: ghc-erf-devel BuildRequires: ghc-random-devel BuildRequires: ghc-template-haskell-devel BuildRequires: ghc-tf-random-devel BuildRequires: ghc-transformers-devel +%if %{with tests} +BuildRequires: ghc-process-devel +%endif # End cabal-rpm deps %description @@ -93,6 +99,10 @@ This package provides the Haskell %{pkg_name} profiling library. # End cabal-rpm install +%check +%cabal_test + + %files -f %{name}.files # Begin cabal-rpm files: %license LICENSE @@ -114,6 +124,9 @@ This package provides the Haskell %{pkg_name} profiling library. %changelog +* Thu Jul 25 2019 Jens Petersen - 2.12.6.1-1 +- update to 2.12.6.1 + * Thu Jul 25 2019 Fedora Release Engineering - 2.11.3-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild diff --git a/sources b/sources index e5f5583..eed95db 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (QuickCheck-2.11.3.tar.gz) = 17b3c5803cbca980375a1837b4ba931f346be8a720fcc0e37ad2c46abc8ba2073c49635bc89739d34653376c3f7fe1bd39560092c005b8dbce0a7effac25d73d +SHA512 (QuickCheck-2.12.6.1.tar.gz) = bbd11ea7f22af02ad1ab4d59aecc0dc57d3b9d63e42c1a73beff94f645778858fe22d8d8234669c96ce901508b85d3b42b2f7647b81510bcdd9eaada937016c1 From 760602a895d3b2f32186966ae3b423e8820c8967 Mon Sep 17 00:00:00 2001 From: Jens Petersen Date: Mon, 5 Aug 2019 18:27:10 +0800 Subject: [PATCH 59/77] BR prof for lib and static for executable --- ghc-QuickCheck.spec | 24 ++++++++++-------------- 1 file changed, 10 insertions(+), 14 deletions(-) diff --git a/ghc-QuickCheck.spec b/ghc-QuickCheck.spec index d4e15a7..8be90a3 100644 --- a/ghc-QuickCheck.spec +++ b/ghc-QuickCheck.spec @@ -1,4 +1,4 @@ -# generated by cabal-rpm-1.0.0 +# generated by cabal-rpm-1.0.1 # https://fedoraproject.org/wiki/Packaging:Haskell %global pkg_name QuickCheck @@ -19,20 +19,15 @@ Source0: https://hackage.haskell.org/package/%{pkgver}/%{pkgver}.tar.gz # Begin cabal-rpm deps: BuildRequires: ghc-Cabal-devel -%if %{with haddock} -BuildRequires: ghc-doc -%endif -%if %{with ghc_prof} -BuildRequires: ghc-prof -%endif BuildRequires: ghc-rpm-macros -BuildRequires: ghc-containers-devel -BuildRequires: ghc-deepseq-devel -BuildRequires: ghc-erf-devel -BuildRequires: ghc-random-devel -BuildRequires: ghc-template-haskell-devel -BuildRequires: ghc-tf-random-devel -BuildRequires: ghc-transformers-devel +BuildRequires: ghc-base-prof +BuildRequires: ghc-containers-prof +BuildRequires: ghc-deepseq-prof +BuildRequires: ghc-erf-prof +BuildRequires: ghc-random-prof +BuildRequires: ghc-template-haskell-prof +BuildRequires: ghc-tf-random-prof +BuildRequires: ghc-transformers-prof %if %{with tests} BuildRequires: ghc-process-devel %endif @@ -53,6 +48,7 @@ observe the distribution of test data, and define test data generators. %package devel Summary: Haskell %{pkg_name} library development files Provides: %{name}-static = %{version}-%{release} +Provides: %{name}-static%{?_isa} = %{version}-%{release} %if %{defined ghc_version} Requires: ghc-compiler = %{ghc_version} %endif From d787d6ec519cc82aab33a8ca821b65aac7071ed9 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Tue, 28 Jan 2020 20:11:45 +0000 Subject: [PATCH 60/77] - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild Signed-off-by: Fedora Release Engineering --- ghc-QuickCheck.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/ghc-QuickCheck.spec b/ghc-QuickCheck.spec index 8be90a3..9241234 100644 --- a/ghc-QuickCheck.spec +++ b/ghc-QuickCheck.spec @@ -8,7 +8,7 @@ Name: ghc-%{pkg_name} Version: 2.12.6.1 -Release: 1%{?dist} +Release: 2%{?dist} Summary: Automatic testing of Haskell programs License: BSD @@ -120,6 +120,9 @@ This package provides the Haskell %{pkg_name} profiling library. %changelog +* Tue Jan 28 2020 Fedora Release Engineering - 2.12.6.1-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild + * Thu Jul 25 2019 Jens Petersen - 2.12.6.1-1 - update to 2.12.6.1 From d7a66f02bb0b8be662b38aa85a1b00c8abe13c2c Mon Sep 17 00:00:00 2001 From: Jens Petersen Date: Sat, 8 Feb 2020 22:48:43 +0800 Subject: [PATCH 61/77] refresh to cabal-rpm-2.0.2 --- ghc-QuickCheck.spec | 15 ++++++++++++++- 1 file changed, 14 insertions(+), 1 deletion(-) diff --git a/ghc-QuickCheck.spec b/ghc-QuickCheck.spec index 9241234..281ee65 100644 --- a/ghc-QuickCheck.spec +++ b/ghc-QuickCheck.spec @@ -1,4 +1,4 @@ -# generated by cabal-rpm-1.0.1 +# generated by cabal-rpm-2.0.2 # https://fedoraproject.org/wiki/Packaging:Haskell %global pkg_name QuickCheck @@ -61,6 +61,7 @@ This package provides the Haskell %{pkg_name} library development files. %if %{with haddock} %package doc Summary: Haskell %{pkg_name} library documentation +BuildArch: noarch %description doc This package provides the Haskell %{pkg_name} library documentation. @@ -71,6 +72,7 @@ This package provides the Haskell %{pkg_name} library documentation. %package prof Summary: Haskell %{pkg_name} profiling library Requires: %{name}-devel%{?_isa} = %{version}-%{release} +Supplements: (%{name}-devel and ghc-prof) %description prof This package provides the Haskell %{pkg_name} profiling library. @@ -99,6 +101,16 @@ This package provides the Haskell %{pkg_name} profiling library. %cabal_test +%if 0%{?fedora} < 31 || 0%{?rhel} < 8 +%post devel +%ghc_pkg_recache + + +%postun devel +%ghc_pkg_recache +%endif + + %files -f %{name}.files # Begin cabal-rpm files: %license LICENSE @@ -111,6 +123,7 @@ This package provides the Haskell %{pkg_name} profiling library. %if %{with haddock} %files doc -f %{name}-doc.files +%license LICENSE %endif From ca239a37825ee5f70b7ba070ae383b53324e221f Mon Sep 17 00:00:00 2001 From: Jens Petersen Date: Sun, 9 Feb 2020 21:48:25 +0800 Subject: [PATCH 62/77] update to 2.13.2 --- .gitignore | 1 + ghc-QuickCheck.spec | 10 ++++++---- sources | 2 +- 3 files changed, 8 insertions(+), 5 deletions(-) diff --git a/.gitignore b/.gitignore index 41f0be8..cd2e32c 100644 --- a/.gitignore +++ b/.gitignore @@ -10,3 +10,4 @@ QuickCheck-2.1.1.1.tar.gz /QuickCheck-2.10.1.tar.gz /QuickCheck-2.11.3.tar.gz /QuickCheck-2.12.6.1.tar.gz +/QuickCheck-2.13.2.tar.gz diff --git a/ghc-QuickCheck.spec b/ghc-QuickCheck.spec index 281ee65..2b0479e 100644 --- a/ghc-QuickCheck.spec +++ b/ghc-QuickCheck.spec @@ -7,8 +7,8 @@ %bcond_without tests Name: ghc-%{pkg_name} -Version: 2.12.6.1 -Release: 2%{?dist} +Version: 2.13.2 +Release: 1%{?dist} Summary: Automatic testing of Haskell programs License: BSD @@ -23,10 +23,9 @@ BuildRequires: ghc-rpm-macros BuildRequires: ghc-base-prof BuildRequires: ghc-containers-prof BuildRequires: ghc-deepseq-prof -BuildRequires: ghc-erf-prof BuildRequires: ghc-random-prof +BuildRequires: ghc-splitmix-prof BuildRequires: ghc-template-haskell-prof -BuildRequires: ghc-tf-random-prof BuildRequires: ghc-transformers-prof %if %{with tests} BuildRequires: ghc-process-devel @@ -133,6 +132,9 @@ This package provides the Haskell %{pkg_name} profiling library. %changelog +* Sun Feb 09 2020 Jens Petersen - 2.13.2-1 +- update to 2.13.2 + * Tue Jan 28 2020 Fedora Release Engineering - 2.12.6.1-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild diff --git a/sources b/sources index eed95db..731dda0 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (QuickCheck-2.12.6.1.tar.gz) = bbd11ea7f22af02ad1ab4d59aecc0dc57d3b9d63e42c1a73beff94f645778858fe22d8d8234669c96ce901508b85d3b42b2f7647b81510bcdd9eaada937016c1 +SHA512 (QuickCheck-2.13.2.tar.gz) = d2c92caec8bdf9089483b1f256f17f3d50e066f57eddb630f1831a232c4e33a0d4f55a0f927aa433cd3379283fa2615fd2937941e6847b234ea00b0fbeb46b98 From 551575c9a265bb3468ac75f4a6a8ce90791016a0 Mon Sep 17 00:00:00 2001 From: Jens Petersen Date: Thu, 20 Feb 2020 12:21:49 +0800 Subject: [PATCH 63/77] subpackage splitmix --- .gitignore | 1 + ghc-QuickCheck.spec | 44 +++++++++++++++++++++++++++++++------------- sources | 1 + 3 files changed, 33 insertions(+), 13 deletions(-) diff --git a/.gitignore b/.gitignore index cd2e32c..64d27b8 100644 --- a/.gitignore +++ b/.gitignore @@ -11,3 +11,4 @@ QuickCheck-2.1.1.1.tar.gz /QuickCheck-2.11.3.tar.gz /QuickCheck-2.12.6.1.tar.gz /QuickCheck-2.13.2.tar.gz +/splitmix-0.0.3.tar.gz diff --git a/ghc-QuickCheck.spec b/ghc-QuickCheck.spec index 2b0479e..363e0a2 100644 --- a/ghc-QuickCheck.spec +++ b/ghc-QuickCheck.spec @@ -1,13 +1,17 @@ -# generated by cabal-rpm-2.0.2 +# generated by cabal-rpm-2.0.2 --subpackage # https://fedoraproject.org/wiki/Packaging:Haskell %global pkg_name QuickCheck %global pkgver %{pkg_name}-%{version} +%global splitmix splitmix-0.0.3 +%global subpkgs %{splitmix} + %bcond_without tests Name: ghc-%{pkg_name} Version: 2.13.2 +# can only be reset when all subpkgs bumped Release: 1%{?dist} Summary: Automatic testing of Haskell programs @@ -15,33 +19,34 @@ License: BSD Url: https://hackage.haskell.org/package/%{pkg_name} # Begin cabal-rpm sources: Source0: https://hackage.haskell.org/package/%{pkgver}/%{pkgver}.tar.gz +Source1: https://hackage.haskell.org/package/%{splitmix}/%{splitmix}.tar.gz # End cabal-rpm sources # Begin cabal-rpm deps: BuildRequires: ghc-Cabal-devel -BuildRequires: ghc-rpm-macros +BuildRequires: ghc-rpm-macros-extra BuildRequires: ghc-base-prof BuildRequires: ghc-containers-prof BuildRequires: ghc-deepseq-prof BuildRequires: ghc-random-prof -BuildRequires: ghc-splitmix-prof +#BuildRequires: ghc-splitmix-prof BuildRequires: ghc-template-haskell-prof BuildRequires: ghc-transformers-prof %if %{with tests} BuildRequires: ghc-process-devel %endif +# for missing dep 'splitmix': +BuildRequires: ghc-time-prof # End cabal-rpm deps %description -QuickCheck is a library for random testing of program properties. - -The programmer provides a specification of the program, in the form of -properties which functions should satisfy, and QuickCheck then tests that the -properties hold in a large number of randomly generated cases. - -Specifications are expressed in Haskell, using combinators defined in the -QuickCheck library. QuickCheck provides combinators to define properties, -observe the distribution of test data, and define test data generators. +QuickCheck is a library for random testing of program properties. The +programmer provides a specification of the program, in the form of properties +which functions should satisfy, and QuickCheck then tests that the properties +hold in a large number of randomly generated cases. Specifications are +expressed in Haskell, using combinators provided by QuickCheck. +QuickCheck provides combinators to define properties, observe the distribution +of test data, and define test data generators. %package devel @@ -78,21 +83,33 @@ This package provides the Haskell %{pkg_name} profiling library. %endif +%global main_version %{version} + +%if %{defined ghclibdir} +%ghc_lib_subpackage %{splitmix} +%endif + +%global version %{main_version} + + %prep # Begin cabal-rpm setup: -%setup -q -n %{pkgver} +%setup -q -n %{pkgver} -a1 # End cabal-rpm setup %build # Begin cabal-rpm build: +%ghc_libs_build %{subpkgs} %ghc_lib_build # End cabal-rpm build %install # Begin cabal-rpm install +%ghc_libs_install %{subpkgs} %ghc_lib_install +%ghc_fix_rpath %{pkgver} # End cabal-rpm install @@ -134,6 +151,7 @@ This package provides the Haskell %{pkg_name} profiling library. %changelog * Sun Feb 09 2020 Jens Petersen - 2.13.2-1 - update to 2.13.2 +- subpackage splitmix * Tue Jan 28 2020 Fedora Release Engineering - 2.12.6.1-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild diff --git a/sources b/sources index 731dda0..beb1d1a 100644 --- a/sources +++ b/sources @@ -1 +1,2 @@ SHA512 (QuickCheck-2.13.2.tar.gz) = d2c92caec8bdf9089483b1f256f17f3d50e066f57eddb630f1831a232c4e33a0d4f55a0f927aa433cd3379283fa2615fd2937941e6847b234ea00b0fbeb46b98 +SHA512 (splitmix-0.0.3.tar.gz) = 01d53a606de35c1aef5b4669c19308f63711053a6fee38466e421a7e712bca7cbfa37ffdfcf2a4671fc22354b5e83228255785a808c1b6c3ad941fd550d5560f From 82af91e150c98ebb001b4c7b5846e019d8509ab0 Mon Sep 17 00:00:00 2001 From: Jens Petersen Date: Thu, 20 Feb 2020 12:41:48 +0800 Subject: [PATCH 64/77] add splitmix testsuite deps --- ghc-QuickCheck.spec | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/ghc-QuickCheck.spec b/ghc-QuickCheck.spec index 363e0a2..be5053e 100644 --- a/ghc-QuickCheck.spec +++ b/ghc-QuickCheck.spec @@ -37,6 +37,13 @@ BuildRequires: ghc-process-devel %endif # for missing dep 'splitmix': BuildRequires: ghc-time-prof +%if %{with tests} +BuildRequires: ghc-HUnit-devel +BuildRequires: ghc-async-devel +BuildRequires: ghc-base-compat-batteries-devel +BuildRequires: ghc-tf-random-devel +BuildRequires: ghc-vector-devel +%endif # End cabal-rpm deps %description From fd860d83b41a1bfff4ece871c335fc513ae8252d Mon Sep 17 00:00:00 2001 From: Jens Petersen Date: Thu, 20 Feb 2020 13:00:20 +0800 Subject: [PATCH 65/77] disable testsuites due to circular deps QuickCheck -> splitmix -> base-compat-batteries -> QuickCheck --- ghc-QuickCheck.spec | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/ghc-QuickCheck.spec b/ghc-QuickCheck.spec index be5053e..d47b3c6 100644 --- a/ghc-QuickCheck.spec +++ b/ghc-QuickCheck.spec @@ -7,7 +7,8 @@ %global splitmix splitmix-0.0.3 %global subpkgs %{splitmix} -%bcond_without tests +# circular dep via base-compat-batteries +%bcond_with tests Name: ghc-%{pkg_name} Version: 2.13.2 From a1a417545034bfd368d858c7949cda6854842488 Mon Sep 17 00:00:00 2001 From: Jens Petersen Date: Thu, 4 Jun 2020 19:25:00 +0800 Subject: [PATCH 66/77] refresh to cabal-rpm-2.0.5 --- ghc-QuickCheck.spec | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ghc-QuickCheck.spec b/ghc-QuickCheck.spec index d47b3c6..2d9446d 100644 --- a/ghc-QuickCheck.spec +++ b/ghc-QuickCheck.spec @@ -1,5 +1,5 @@ -# generated by cabal-rpm-2.0.2 --subpackage -# https://fedoraproject.org/wiki/Packaging:Haskell +# generated by cabal-rpm-2.0.5 --subpackage +# https://docs.fedoraproject.org/en-US/packaging-guidelines/Haskell/ %global pkg_name QuickCheck %global pkgver %{pkg_name}-%{version} From f80ab437ad3ea681d61fd93b381005e8305603a2 Mon Sep 17 00:00:00 2001 From: Jens Petersen Date: Wed, 17 Jun 2020 12:28:39 +0800 Subject: [PATCH 67/77] update splitmix to 0.0.5 --- .gitignore | 1 + ghc-QuickCheck.spec | 7 +++++-- sources | 2 +- 3 files changed, 7 insertions(+), 3 deletions(-) diff --git a/.gitignore b/.gitignore index 64d27b8..480c98a 100644 --- a/.gitignore +++ b/.gitignore @@ -12,3 +12,4 @@ QuickCheck-2.1.1.1.tar.gz /QuickCheck-2.12.6.1.tar.gz /QuickCheck-2.13.2.tar.gz /splitmix-0.0.3.tar.gz +/splitmix-0.0.5.tar.gz diff --git a/ghc-QuickCheck.spec b/ghc-QuickCheck.spec index 2d9446d..f792e36 100644 --- a/ghc-QuickCheck.spec +++ b/ghc-QuickCheck.spec @@ -4,7 +4,7 @@ %global pkg_name QuickCheck %global pkgver %{pkg_name}-%{version} -%global splitmix splitmix-0.0.3 +%global splitmix splitmix-0.0.5 %global subpkgs %{splitmix} # circular dep via base-compat-batteries @@ -13,7 +13,7 @@ Name: ghc-%{pkg_name} Version: 2.13.2 # can only be reset when all subpkgs bumped -Release: 1%{?dist} +Release: 2%{?dist} Summary: Automatic testing of Haskell programs License: BSD @@ -157,6 +157,9 @@ This package provides the Haskell %{pkg_name} profiling library. %changelog +* Wed Jun 17 2020 Jens Petersen - 2.13.2-2 +- update splitmix to 0.0.5 + * Sun Feb 09 2020 Jens Petersen - 2.13.2-1 - update to 2.13.2 - subpackage splitmix diff --git a/sources b/sources index beb1d1a..43f827f 100644 --- a/sources +++ b/sources @@ -1,2 +1,2 @@ SHA512 (QuickCheck-2.13.2.tar.gz) = d2c92caec8bdf9089483b1f256f17f3d50e066f57eddb630f1831a232c4e33a0d4f55a0f927aa433cd3379283fa2615fd2937941e6847b234ea00b0fbeb46b98 -SHA512 (splitmix-0.0.3.tar.gz) = 01d53a606de35c1aef5b4669c19308f63711053a6fee38466e421a7e712bca7cbfa37ffdfcf2a4671fc22354b5e83228255785a808c1b6c3ad941fd550d5560f +SHA512 (splitmix-0.0.5.tar.gz) = b2e86ce9f856ed16ebaea2a9c8758a7c3db66c35ca577d215316e9e73f30c5654210143eb636812eb562a4556f7ade6f0ba07e21fdb624a2558910da288900ae From 1112ea08985b8798a9861f1c279175f90053bf07 Mon Sep 17 00:00:00 2001 From: Jens Petersen Date: Wed, 17 Jun 2020 12:45:30 +0800 Subject: [PATCH 68/77] refresh to cabal-rpm-2.0.6 --- ghc-QuickCheck.spec | 19 +------------------ 1 file changed, 1 insertion(+), 18 deletions(-) diff --git a/ghc-QuickCheck.spec b/ghc-QuickCheck.spec index f792e36..0e6f8cf 100644 --- a/ghc-QuickCheck.spec +++ b/ghc-QuickCheck.spec @@ -1,4 +1,4 @@ -# generated by cabal-rpm-2.0.5 --subpackage +# generated by cabal-rpm-2.0.6 --subpackage # https://docs.fedoraproject.org/en-US/packaging-guidelines/Haskell/ %global pkg_name QuickCheck @@ -38,13 +38,6 @@ BuildRequires: ghc-process-devel %endif # for missing dep 'splitmix': BuildRequires: ghc-time-prof -%if %{with tests} -BuildRequires: ghc-HUnit-devel -BuildRequires: ghc-async-devel -BuildRequires: ghc-base-compat-batteries-devel -BuildRequires: ghc-tf-random-devel -BuildRequires: ghc-vector-devel -%endif # End cabal-rpm deps %description @@ -125,16 +118,6 @@ This package provides the Haskell %{pkg_name} profiling library. %cabal_test -%if 0%{?fedora} < 31 || 0%{?rhel} < 8 -%post devel -%ghc_pkg_recache - - -%postun devel -%ghc_pkg_recache -%endif - - %files -f %{name}.files # Begin cabal-rpm files: %license LICENSE From 0bd2ff86c6ebb63a626d42ed8f10ba8e5a4fd15b Mon Sep 17 00:00:00 2001 From: Jens Petersen Date: Fri, 17 Jul 2020 16:38:01 +0800 Subject: [PATCH 69/77] add revision --- QuickCheck-2.13.2.cabal | 218 ++++++++++++++++++++++++++++++++++++++++ ghc-QuickCheck.spec | 2 + 2 files changed, 220 insertions(+) create mode 100644 QuickCheck-2.13.2.cabal diff --git a/QuickCheck-2.13.2.cabal b/QuickCheck-2.13.2.cabal new file mode 100644 index 0000000..244646e --- /dev/null +++ b/QuickCheck-2.13.2.cabal @@ -0,0 +1,218 @@ +Name: QuickCheck +Version: 2.13.2 +x-revision: 1 +Cabal-Version: >= 1.8 +Build-type: Simple +License: BSD3 +License-file: LICENSE +Copyright: 2000-2019 Koen Claessen, 2006-2008 Björn Bringert, 2009-2019 Nick Smallbone +Author: Koen Claessen +Maintainer: Nick Smallbone +Bug-reports: https://github.com/nick8325/quickcheck/issues +Tested-with: GHC >= 7.0 +Homepage: https://github.com/nick8325/quickcheck +Category: Testing +Synopsis: Automatic testing of Haskell programs +Description: + QuickCheck is a library for random testing of program properties. + The programmer provides a specification of the program, in the form of + properties which functions should satisfy, and QuickCheck then tests that the + properties hold in a large number of randomly generated cases. + Specifications are expressed in Haskell, using combinators provided by + QuickCheck. QuickCheck provides combinators to define properties, observe the + distribution of test data, and define test data generators. + . + Most of QuickCheck's functionality is exported by the main "Test.QuickCheck" + module. The main exception is the monadic property testing library in + "Test.QuickCheck.Monadic". + . + If you are new to QuickCheck, you can try looking at the following resources: + . + * The . + It's a bit out-of-date in some details and doesn't cover newer QuickCheck features, + but is still full of good advice. + * , + a detailed tutorial written by a user of QuickCheck. + . + The + companion package provides instances for types in Haskell Platform packages + at the cost of additional dependencies. + +extra-source-files: + README + changelog + examples/Heap.hs + examples/Heap_Program.hs + examples/Heap_ProgramAlgebraic.hs + examples/Lambda.hs + examples/Merge.hs + examples/Set.hs + examples/Simple.hs + make-hugs + +source-repository head + type: git + location: https://github.com/nick8325/quickcheck + +source-repository this + type: git + location: https://github.com/nick8325/quickcheck + tag: 2.13.2 + +flag templateHaskell + Description: Build Test.QuickCheck.All, which uses Template Haskell. + Default: True + +library + Build-depends: base >=4.3 && <5, random >=1.0.0.3 && <1.2, containers + + -- random is explicitly Trustworthy since 1.0.1.0 + -- similar constraint for containers + -- Note: QuickCheck is Safe only with GHC >= 7.4 (see below) + if impl(ghc >= 7.2) + Build-depends: random >=1.0.1.0 + if impl(ghc >= 7.4) + Build-depends: containers >=0.4.2.1 + + -- Modules that are always built. + Exposed-Modules: + Test.QuickCheck, + Test.QuickCheck.Arbitrary, + Test.QuickCheck.Gen, + Test.QuickCheck.Gen.Unsafe, + Test.QuickCheck.Monadic, + Test.QuickCheck.Modifiers, + Test.QuickCheck.Property, + Test.QuickCheck.Test, + Test.QuickCheck.Text, + Test.QuickCheck.Poly, + Test.QuickCheck.State, + Test.QuickCheck.Random, + Test.QuickCheck.Exception, + Test.QuickCheck.Features + + -- GHC-specific modules. + if impl(ghc) + Exposed-Modules: Test.QuickCheck.Function + Build-depends: transformers >= 0.3, deepseq >= 1.1.0.0 + else + cpp-options: -DNO_TRANSFORMERS -DNO_DEEPSEQ + + if impl(ghc) && flag(templateHaskell) + Build-depends: template-haskell >= 2.4 + Other-Extensions: TemplateHaskell + Exposed-Modules: Test.QuickCheck.All + else + cpp-options: -DNO_TEMPLATE_HASKELL + + if !impl(ghc >= 7.4) + cpp-options: -DNO_CTYPES_CONSTRUCTORS -DNO_FOREIGN_C_USECONDS + + -- The new generics appeared in GHC 7.2... + if impl(ghc < 7.2) + cpp-options: -DNO_GENERICS + -- ...but in 7.2-7.4 it lives in the ghc-prim package. + if impl(ghc >= 7.2) && impl(ghc < 7.6) + Build-depends: ghc-prim + + -- Safe Haskell appeared in GHC 7.2, but GHC.Generics isn't safe until 7.4. + if impl (ghc < 7.4) + cpp-options: -DNO_SAFE_HASKELL + + -- Use splitmix on newer GHCs. + if impl(ghc >= 7.0) + Build-depends: splitmix >= 0.0.2 && <0.1 + else + cpp-options: -DNO_SPLITMIX + + if !impl(ghc >= 7.6) + cpp-options: -DNO_POLYKINDS + + if !impl(ghc >= 8.0) + cpp-options: -DNO_MONADFAIL + + -- Switch off most optional features on non-GHC systems. + if !impl(ghc) + -- If your Haskell compiler can cope without some of these, please + -- send a message to the QuickCheck mailing list! + cpp-options: -DNO_TIMEOUT -DNO_NEWTYPE_DERIVING -DNO_GENERICS -DNO_TEMPLATE_HASKELL -DNO_SAFE_HASKELL -DNO_TYPEABLE -DNO_GADTS + if !impl(hugs) && !impl(uhc) + cpp-options: -DNO_ST_MONAD -DNO_MULTI_PARAM_TYPE_CLASSES + + -- LANGUAGE pragmas don't have any effect in Hugs. + if impl(hugs) + Extensions: CPP + + if impl(uhc) + -- Cabal under UHC needs pointing out all the dependencies of the + -- random package. + Build-depends: old-time, old-locale + -- Plus some bits of the standard library are missing. + cpp-options: -DNO_FIXED -DNO_EXCEPTIONS + +Test-Suite test-quickcheck + type: exitcode-stdio-1.0 + hs-source-dirs: + examples + main-is: Heap.hs + build-depends: base, QuickCheck + if !flag(templateHaskell) + Buildable: False + +Test-Suite test-quickcheck-gcoarbitrary + type: exitcode-stdio-1.0 + hs-source-dirs: tests + main-is: GCoArbitraryExample.hs + build-depends: base, QuickCheck + if !flag(templateHaskell) || !impl(ghc >= 7.2) + buildable: False + if impl(ghc >= 7.2) && impl(ghc < 7.6) + build-depends: ghc-prim + +Test-Suite test-quickcheck-generators + type: exitcode-stdio-1.0 + hs-source-dirs: tests + main-is: Generators.hs + build-depends: base, QuickCheck + if !flag(templateHaskell) + Buildable: False + +Test-Suite test-quickcheck-gshrink + type: exitcode-stdio-1.0 + hs-source-dirs: tests + main-is: GShrinkExample.hs + build-depends: base, QuickCheck + if !flag(templateHaskell) || !impl(ghc >= 7.2) + buildable: False + if impl(ghc >= 7.2) && impl(ghc < 7.6) + build-depends: ghc-prim + +Test-Suite test-quickcheck-terminal + type: exitcode-stdio-1.0 + hs-source-dirs: tests + main-is: Terminal.hs + build-depends: base, process, deepseq >= 1.1.0.0, QuickCheck + if !flag(templateHaskell) || !impl(ghc >= 7.10) + buildable: False + +Test-Suite test-quickcheck-monadfix + type: exitcode-stdio-1.0 + hs-source-dirs: tests + main-is: MonadFix.hs + build-depends: base, QuickCheck + if !flag(templateHaskell) || !impl(ghc >= 7.10) + buildable: False + +Test-Suite test-quickcheck-split + type: exitcode-stdio-1.0 + hs-source-dirs: tests + main-is: Split.hs + build-depends: base, QuickCheck + +Test-Suite test-quickcheck-misc + type: exitcode-stdio-1.0 + hs-source-dirs: tests + main-is: Misc.hs + build-depends: base, QuickCheck + if !flag(templateHaskell) || !impl(ghc >= 7.10) + buildable: False diff --git a/ghc-QuickCheck.spec b/ghc-QuickCheck.spec index 0e6f8cf..ab9f00d 100644 --- a/ghc-QuickCheck.spec +++ b/ghc-QuickCheck.spec @@ -21,6 +21,7 @@ Url: https://hackage.haskell.org/package/%{pkg_name} # Begin cabal-rpm sources: Source0: https://hackage.haskell.org/package/%{pkgver}/%{pkgver}.tar.gz Source1: https://hackage.haskell.org/package/%{splitmix}/%{splitmix}.tar.gz +Source2: https://hackage.haskell.org/package/%{pkgver}/%{pkg_name}.cabal#/%{pkgver}.cabal # End cabal-rpm sources # Begin cabal-rpm deps: @@ -96,6 +97,7 @@ This package provides the Haskell %{pkg_name} profiling library. %prep # Begin cabal-rpm setup: %setup -q -n %{pkgver} -a1 +cp -bp %{SOURCE2} %{pkg_name}.cabal # End cabal-rpm setup From 588a7e87de522202835de48bc653cb864eb68d51 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Mon, 27 Jul 2020 18:44:10 +0000 Subject: [PATCH 70/77] - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild Signed-off-by: Fedora Release Engineering --- ghc-QuickCheck.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/ghc-QuickCheck.spec b/ghc-QuickCheck.spec index ab9f00d..3353d9f 100644 --- a/ghc-QuickCheck.spec +++ b/ghc-QuickCheck.spec @@ -13,7 +13,7 @@ Name: ghc-%{pkg_name} Version: 2.13.2 # can only be reset when all subpkgs bumped -Release: 2%{?dist} +Release: 3%{?dist} Summary: Automatic testing of Haskell programs License: BSD @@ -142,6 +142,9 @@ cp -bp %{SOURCE2} %{pkg_name}.cabal %changelog +* Mon Jul 27 2020 Fedora Release Engineering - 2.13.2-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild + * Wed Jun 17 2020 Jens Petersen - 2.13.2-2 - update splitmix to 0.0.5 From 829f1f498aab6b7e3c571cf0f002ee1b5eef5717 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Tue, 26 Jan 2021 06:48:13 +0000 Subject: [PATCH 71/77] - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild Signed-off-by: Fedora Release Engineering --- ghc-QuickCheck.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/ghc-QuickCheck.spec b/ghc-QuickCheck.spec index 3353d9f..f33d18b 100644 --- a/ghc-QuickCheck.spec +++ b/ghc-QuickCheck.spec @@ -13,7 +13,7 @@ Name: ghc-%{pkg_name} Version: 2.13.2 # can only be reset when all subpkgs bumped -Release: 3%{?dist} +Release: 4%{?dist} Summary: Automatic testing of Haskell programs License: BSD @@ -142,6 +142,9 @@ cp -bp %{SOURCE2} %{pkg_name}.cabal %changelog +* Tue Jan 26 2021 Fedora Release Engineering - 2.13.2-4 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild + * Mon Jul 27 2020 Fedora Release Engineering - 2.13.2-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild From 35a71503e3d20ee8539c6063e9fc7eba6059b622 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Thu, 22 Jul 2021 00:14:43 +0000 Subject: [PATCH 72/77] - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild Signed-off-by: Fedora Release Engineering --- ghc-QuickCheck.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/ghc-QuickCheck.spec b/ghc-QuickCheck.spec index f33d18b..bf68591 100644 --- a/ghc-QuickCheck.spec +++ b/ghc-QuickCheck.spec @@ -13,7 +13,7 @@ Name: ghc-%{pkg_name} Version: 2.13.2 # can only be reset when all subpkgs bumped -Release: 4%{?dist} +Release: 5%{?dist} Summary: Automatic testing of Haskell programs License: BSD @@ -142,6 +142,9 @@ cp -bp %{SOURCE2} %{pkg_name}.cabal %changelog +* Thu Jul 22 2021 Fedora Release Engineering - 2.13.2-5 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild + * Tue Jan 26 2021 Fedora Release Engineering - 2.13.2-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild From 0fd8df1cf9cf7c036cf1ef1bb7ae552d9d0667d2 Mon Sep 17 00:00:00 2001 From: Jens Petersen Date: Thu, 5 Aug 2021 01:42:45 +0800 Subject: [PATCH 73/77] update to 2.14.2 --- .gitignore | 1 + QuickCheck-2.13.2.cabal | 218 ---------------------------------------- ghc-QuickCheck.spec | 13 ++- sources | 2 +- 4 files changed, 8 insertions(+), 226 deletions(-) delete mode 100644 QuickCheck-2.13.2.cabal diff --git a/.gitignore b/.gitignore index 480c98a..c150ab2 100644 --- a/.gitignore +++ b/.gitignore @@ -13,3 +13,4 @@ QuickCheck-2.1.1.1.tar.gz /QuickCheck-2.13.2.tar.gz /splitmix-0.0.3.tar.gz /splitmix-0.0.5.tar.gz +/QuickCheck-2.14.2.tar.gz diff --git a/QuickCheck-2.13.2.cabal b/QuickCheck-2.13.2.cabal deleted file mode 100644 index 244646e..0000000 --- a/QuickCheck-2.13.2.cabal +++ /dev/null @@ -1,218 +0,0 @@ -Name: QuickCheck -Version: 2.13.2 -x-revision: 1 -Cabal-Version: >= 1.8 -Build-type: Simple -License: BSD3 -License-file: LICENSE -Copyright: 2000-2019 Koen Claessen, 2006-2008 Björn Bringert, 2009-2019 Nick Smallbone -Author: Koen Claessen -Maintainer: Nick Smallbone -Bug-reports: https://github.com/nick8325/quickcheck/issues -Tested-with: GHC >= 7.0 -Homepage: https://github.com/nick8325/quickcheck -Category: Testing -Synopsis: Automatic testing of Haskell programs -Description: - QuickCheck is a library for random testing of program properties. - The programmer provides a specification of the program, in the form of - properties which functions should satisfy, and QuickCheck then tests that the - properties hold in a large number of randomly generated cases. - Specifications are expressed in Haskell, using combinators provided by - QuickCheck. QuickCheck provides combinators to define properties, observe the - distribution of test data, and define test data generators. - . - Most of QuickCheck's functionality is exported by the main "Test.QuickCheck" - module. The main exception is the monadic property testing library in - "Test.QuickCheck.Monadic". - . - If you are new to QuickCheck, you can try looking at the following resources: - . - * The . - It's a bit out-of-date in some details and doesn't cover newer QuickCheck features, - but is still full of good advice. - * , - a detailed tutorial written by a user of QuickCheck. - . - The - companion package provides instances for types in Haskell Platform packages - at the cost of additional dependencies. - -extra-source-files: - README - changelog - examples/Heap.hs - examples/Heap_Program.hs - examples/Heap_ProgramAlgebraic.hs - examples/Lambda.hs - examples/Merge.hs - examples/Set.hs - examples/Simple.hs - make-hugs - -source-repository head - type: git - location: https://github.com/nick8325/quickcheck - -source-repository this - type: git - location: https://github.com/nick8325/quickcheck - tag: 2.13.2 - -flag templateHaskell - Description: Build Test.QuickCheck.All, which uses Template Haskell. - Default: True - -library - Build-depends: base >=4.3 && <5, random >=1.0.0.3 && <1.2, containers - - -- random is explicitly Trustworthy since 1.0.1.0 - -- similar constraint for containers - -- Note: QuickCheck is Safe only with GHC >= 7.4 (see below) - if impl(ghc >= 7.2) - Build-depends: random >=1.0.1.0 - if impl(ghc >= 7.4) - Build-depends: containers >=0.4.2.1 - - -- Modules that are always built. - Exposed-Modules: - Test.QuickCheck, - Test.QuickCheck.Arbitrary, - Test.QuickCheck.Gen, - Test.QuickCheck.Gen.Unsafe, - Test.QuickCheck.Monadic, - Test.QuickCheck.Modifiers, - Test.QuickCheck.Property, - Test.QuickCheck.Test, - Test.QuickCheck.Text, - Test.QuickCheck.Poly, - Test.QuickCheck.State, - Test.QuickCheck.Random, - Test.QuickCheck.Exception, - Test.QuickCheck.Features - - -- GHC-specific modules. - if impl(ghc) - Exposed-Modules: Test.QuickCheck.Function - Build-depends: transformers >= 0.3, deepseq >= 1.1.0.0 - else - cpp-options: -DNO_TRANSFORMERS -DNO_DEEPSEQ - - if impl(ghc) && flag(templateHaskell) - Build-depends: template-haskell >= 2.4 - Other-Extensions: TemplateHaskell - Exposed-Modules: Test.QuickCheck.All - else - cpp-options: -DNO_TEMPLATE_HASKELL - - if !impl(ghc >= 7.4) - cpp-options: -DNO_CTYPES_CONSTRUCTORS -DNO_FOREIGN_C_USECONDS - - -- The new generics appeared in GHC 7.2... - if impl(ghc < 7.2) - cpp-options: -DNO_GENERICS - -- ...but in 7.2-7.4 it lives in the ghc-prim package. - if impl(ghc >= 7.2) && impl(ghc < 7.6) - Build-depends: ghc-prim - - -- Safe Haskell appeared in GHC 7.2, but GHC.Generics isn't safe until 7.4. - if impl (ghc < 7.4) - cpp-options: -DNO_SAFE_HASKELL - - -- Use splitmix on newer GHCs. - if impl(ghc >= 7.0) - Build-depends: splitmix >= 0.0.2 && <0.1 - else - cpp-options: -DNO_SPLITMIX - - if !impl(ghc >= 7.6) - cpp-options: -DNO_POLYKINDS - - if !impl(ghc >= 8.0) - cpp-options: -DNO_MONADFAIL - - -- Switch off most optional features on non-GHC systems. - if !impl(ghc) - -- If your Haskell compiler can cope without some of these, please - -- send a message to the QuickCheck mailing list! - cpp-options: -DNO_TIMEOUT -DNO_NEWTYPE_DERIVING -DNO_GENERICS -DNO_TEMPLATE_HASKELL -DNO_SAFE_HASKELL -DNO_TYPEABLE -DNO_GADTS - if !impl(hugs) && !impl(uhc) - cpp-options: -DNO_ST_MONAD -DNO_MULTI_PARAM_TYPE_CLASSES - - -- LANGUAGE pragmas don't have any effect in Hugs. - if impl(hugs) - Extensions: CPP - - if impl(uhc) - -- Cabal under UHC needs pointing out all the dependencies of the - -- random package. - Build-depends: old-time, old-locale - -- Plus some bits of the standard library are missing. - cpp-options: -DNO_FIXED -DNO_EXCEPTIONS - -Test-Suite test-quickcheck - type: exitcode-stdio-1.0 - hs-source-dirs: - examples - main-is: Heap.hs - build-depends: base, QuickCheck - if !flag(templateHaskell) - Buildable: False - -Test-Suite test-quickcheck-gcoarbitrary - type: exitcode-stdio-1.0 - hs-source-dirs: tests - main-is: GCoArbitraryExample.hs - build-depends: base, QuickCheck - if !flag(templateHaskell) || !impl(ghc >= 7.2) - buildable: False - if impl(ghc >= 7.2) && impl(ghc < 7.6) - build-depends: ghc-prim - -Test-Suite test-quickcheck-generators - type: exitcode-stdio-1.0 - hs-source-dirs: tests - main-is: Generators.hs - build-depends: base, QuickCheck - if !flag(templateHaskell) - Buildable: False - -Test-Suite test-quickcheck-gshrink - type: exitcode-stdio-1.0 - hs-source-dirs: tests - main-is: GShrinkExample.hs - build-depends: base, QuickCheck - if !flag(templateHaskell) || !impl(ghc >= 7.2) - buildable: False - if impl(ghc >= 7.2) && impl(ghc < 7.6) - build-depends: ghc-prim - -Test-Suite test-quickcheck-terminal - type: exitcode-stdio-1.0 - hs-source-dirs: tests - main-is: Terminal.hs - build-depends: base, process, deepseq >= 1.1.0.0, QuickCheck - if !flag(templateHaskell) || !impl(ghc >= 7.10) - buildable: False - -Test-Suite test-quickcheck-monadfix - type: exitcode-stdio-1.0 - hs-source-dirs: tests - main-is: MonadFix.hs - build-depends: base, QuickCheck - if !flag(templateHaskell) || !impl(ghc >= 7.10) - buildable: False - -Test-Suite test-quickcheck-split - type: exitcode-stdio-1.0 - hs-source-dirs: tests - main-is: Split.hs - build-depends: base, QuickCheck - -Test-Suite test-quickcheck-misc - type: exitcode-stdio-1.0 - hs-source-dirs: tests - main-is: Misc.hs - build-depends: base, QuickCheck - if !flag(templateHaskell) || !impl(ghc >= 7.10) - buildable: False diff --git a/ghc-QuickCheck.spec b/ghc-QuickCheck.spec index bf68591..de0a1e7 100644 --- a/ghc-QuickCheck.spec +++ b/ghc-QuickCheck.spec @@ -4,16 +4,16 @@ %global pkg_name QuickCheck %global pkgver %{pkg_name}-%{version} -%global splitmix splitmix-0.0.5 +%global splitmix splitmix-0.1.0.3 %global subpkgs %{splitmix} # circular dep via base-compat-batteries %bcond_with tests Name: ghc-%{pkg_name} -Version: 2.13.2 +Version: 2.14.2 # can only be reset when all subpkgs bumped -Release: 5%{?dist} +Release: 6%{?dist} Summary: Automatic testing of Haskell programs License: BSD @@ -21,7 +21,6 @@ Url: https://hackage.haskell.org/package/%{pkg_name} # Begin cabal-rpm sources: Source0: https://hackage.haskell.org/package/%{pkgver}/%{pkgver}.tar.gz Source1: https://hackage.haskell.org/package/%{splitmix}/%{splitmix}.tar.gz -Source2: https://hackage.haskell.org/package/%{pkgver}/%{pkg_name}.cabal#/%{pkgver}.cabal # End cabal-rpm sources # Begin cabal-rpm deps: @@ -37,8 +36,6 @@ BuildRequires: ghc-transformers-prof %if %{with tests} BuildRequires: ghc-process-devel %endif -# for missing dep 'splitmix': -BuildRequires: ghc-time-prof # End cabal-rpm deps %description @@ -97,7 +94,6 @@ This package provides the Haskell %{pkg_name} profiling library. %prep # Begin cabal-rpm setup: %setup -q -n %{pkgver} -a1 -cp -bp %{SOURCE2} %{pkg_name}.cabal # End cabal-rpm setup @@ -142,6 +138,9 @@ cp -bp %{SOURCE2} %{pkg_name}.cabal %changelog +* Thu Aug 5 2021 Jens Petersen - 2.14.2-6 +- update to 2.14.2 + * Thu Jul 22 2021 Fedora Release Engineering - 2.13.2-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild diff --git a/sources b/sources index 43f827f..687f5dc 100644 --- a/sources +++ b/sources @@ -1,2 +1,2 @@ -SHA512 (QuickCheck-2.13.2.tar.gz) = d2c92caec8bdf9089483b1f256f17f3d50e066f57eddb630f1831a232c4e33a0d4f55a0f927aa433cd3379283fa2615fd2937941e6847b234ea00b0fbeb46b98 SHA512 (splitmix-0.0.5.tar.gz) = b2e86ce9f856ed16ebaea2a9c8758a7c3db66c35ca577d215316e9e73f30c5654210143eb636812eb562a4556f7ade6f0ba07e21fdb624a2558910da288900ae +SHA512 (QuickCheck-2.14.2.tar.gz) = 84decd354e6093bc72afd125410499dd4be3ae8fdbf0a3b466011b4dbcb5c5657e51ab75cfe22790e22bf4ac54cbb1203ff7a0d108e872ce60f4831be827a6e5 From a7f05da62966b1ff19eceac060e53025c357c6d8 Mon Sep 17 00:00:00 2001 From: Jens Petersen Date: Thu, 8 Jul 2021 00:30:09 +0800 Subject: [PATCH 74/77] refresh to cabal-rpm-2.0.9 --- ghc-QuickCheck.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/ghc-QuickCheck.spec b/ghc-QuickCheck.spec index de0a1e7..2255ecb 100644 --- a/ghc-QuickCheck.spec +++ b/ghc-QuickCheck.spec @@ -1,4 +1,4 @@ -# generated by cabal-rpm-2.0.6 --subpackage +# generated by cabal-rpm-2.0.9 --subpackage # https://docs.fedoraproject.org/en-US/packaging-guidelines/Haskell/ %global pkg_name QuickCheck @@ -65,6 +65,7 @@ This package provides the Haskell %{pkg_name} library development files. %package doc Summary: Haskell %{pkg_name} library documentation BuildArch: noarch +Requires: ghc-filesystem %description doc This package provides the Haskell %{pkg_name} library documentation. @@ -113,7 +114,9 @@ This package provides the Haskell %{pkg_name} profiling library. %check +%if %{with tests} %cabal_test +%endif %files -f %{name}.files From 84bed6ef6c44d9c2167ea220c615299942c7bbfb Mon Sep 17 00:00:00 2001 From: Jens Petersen Date: Thu, 5 Aug 2021 01:43:44 +0800 Subject: [PATCH 75/77] move splitmix to random --- ghc-QuickCheck.spec | 25 ++++--------------------- sources | 1 - 2 files changed, 4 insertions(+), 22 deletions(-) diff --git a/ghc-QuickCheck.spec b/ghc-QuickCheck.spec index 2255ecb..30115ca 100644 --- a/ghc-QuickCheck.spec +++ b/ghc-QuickCheck.spec @@ -4,23 +4,18 @@ %global pkg_name QuickCheck %global pkgver %{pkg_name}-%{version} -%global splitmix splitmix-0.1.0.3 -%global subpkgs %{splitmix} - # circular dep via base-compat-batteries %bcond_with tests Name: ghc-%{pkg_name} Version: 2.14.2 -# can only be reset when all subpkgs bumped -Release: 6%{?dist} +Release: 1%{?dist} Summary: Automatic testing of Haskell programs License: BSD Url: https://hackage.haskell.org/package/%{pkg_name} # Begin cabal-rpm sources: Source0: https://hackage.haskell.org/package/%{pkgver}/%{pkgver}.tar.gz -Source1: https://hackage.haskell.org/package/%{splitmix}/%{splitmix}.tar.gz # End cabal-rpm sources # Begin cabal-rpm deps: @@ -30,7 +25,7 @@ BuildRequires: ghc-base-prof BuildRequires: ghc-containers-prof BuildRequires: ghc-deepseq-prof BuildRequires: ghc-random-prof -#BuildRequires: ghc-splitmix-prof +BuildRequires: ghc-splitmix-prof BuildRequires: ghc-template-haskell-prof BuildRequires: ghc-transformers-prof %if %{with tests} @@ -83,33 +78,21 @@ This package provides the Haskell %{pkg_name} profiling library. %endif -%global main_version %{version} - -%if %{defined ghclibdir} -%ghc_lib_subpackage %{splitmix} -%endif - -%global version %{main_version} - - %prep # Begin cabal-rpm setup: -%setup -q -n %{pkgver} -a1 +%setup -q -n %{pkgver} # End cabal-rpm setup %build # Begin cabal-rpm build: -%ghc_libs_build %{subpkgs} %ghc_lib_build # End cabal-rpm build %install # Begin cabal-rpm install -%ghc_libs_install %{subpkgs} %ghc_lib_install -%ghc_fix_rpath %{pkgver} # End cabal-rpm install @@ -141,7 +124,7 @@ This package provides the Haskell %{pkg_name} profiling library. %changelog -* Thu Aug 5 2021 Jens Petersen - 2.14.2-6 +* Thu Aug 5 2021 Jens Petersen - 2.14.2-1 - update to 2.14.2 * Thu Jul 22 2021 Fedora Release Engineering - 2.13.2-5 diff --git a/sources b/sources index 687f5dc..9dcc079 100644 --- a/sources +++ b/sources @@ -1,2 +1 @@ -SHA512 (splitmix-0.0.5.tar.gz) = b2e86ce9f856ed16ebaea2a9c8758a7c3db66c35ca577d215316e9e73f30c5654210143eb636812eb562a4556f7ade6f0ba07e21fdb624a2558910da288900ae SHA512 (QuickCheck-2.14.2.tar.gz) = 84decd354e6093bc72afd125410499dd4be3ae8fdbf0a3b466011b4dbcb5c5657e51ab75cfe22790e22bf4ac54cbb1203ff7a0d108e872ce60f4831be827a6e5 From 9181fa8a89e82313d39c9166cac3f12986bcbd0d Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Thu, 20 Jan 2022 04:27:00 +0000 Subject: [PATCH 76/77] - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild Signed-off-by: Fedora Release Engineering --- ghc-QuickCheck.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/ghc-QuickCheck.spec b/ghc-QuickCheck.spec index 30115ca..bcce53b 100644 --- a/ghc-QuickCheck.spec +++ b/ghc-QuickCheck.spec @@ -9,7 +9,7 @@ Name: ghc-%{pkg_name} Version: 2.14.2 -Release: 1%{?dist} +Release: 2%{?dist} Summary: Automatic testing of Haskell programs License: BSD @@ -124,6 +124,9 @@ This package provides the Haskell %{pkg_name} profiling library. %changelog +* Thu Jan 20 2022 Fedora Release Engineering - 2.14.2-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild + * Thu Aug 5 2021 Jens Petersen - 2.14.2-1 - update to 2.14.2 From 6b648ae8c7faae26ff1afcae27dab85794f28601 Mon Sep 17 00:00:00 2001 From: MSVSphere Packaging Team Date: Mon, 30 Oct 2023 21:16:13 +0300 Subject: [PATCH 77/77] Remove unnecessary files --- sources | 1 - 1 file changed, 1 deletion(-) delete mode 100644 sources diff --git a/sources b/sources deleted file mode 100644 index 9dcc079..0000000 --- a/sources +++ /dev/null @@ -1 +0,0 @@ -SHA512 (QuickCheck-2.14.2.tar.gz) = 84decd354e6093bc72afd125410499dd4be3ae8fdbf0a3b466011b4dbcb5c5657e51ab75cfe22790e22bf4ac54cbb1203ff7a0d108e872ce60f4831be827a6e5