From b401259e7764df70692212193b39d8ba1be8d624 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Fri, 9 Sep 2011 12:39:22 +0000 Subject: [PATCH 01/74] Initial setup of the repo --- .gitignore | 0 sources | 0 2 files changed, 0 insertions(+), 0 deletions(-) create mode 100644 .gitignore create mode 100644 sources diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..e69de29 diff --git a/sources b/sources new file mode 100644 index 0000000..e69de29 From 2cbe83b12b240a2eb0336d07da7d172191007385 Mon Sep 17 00:00:00 2001 From: Jens Petersen Date: Mon, 12 Sep 2011 18:48:47 +0900 Subject: [PATCH 02/74] initial import (#736586) --- .gitignore | 1 + ghc-vector.spec | 86 +++++++++++++++++++++++++++++++++++++++++++++++++ sources | 1 + 3 files changed, 88 insertions(+) create mode 100644 ghc-vector.spec diff --git a/.gitignore b/.gitignore index e69de29..bbd977c 100644 --- a/.gitignore +++ b/.gitignore @@ -0,0 +1 @@ +/vector-0.7.1.tar.gz diff --git a/ghc-vector.spec b/ghc-vector.spec new file mode 100644 index 0000000..1bc59fa --- /dev/null +++ b/ghc-vector.spec @@ -0,0 +1,86 @@ +# For Haskell Packaging Guidelines see: +# - https://fedoraproject.org/wiki/Packaging:Haskell +# - https://fedoraproject.org/wiki/PackagingDrafts/Haskell + +%global pkg_name vector + +# common part of summary for all the subpackages +%global common_summary Haskell efficient array library + +# main description used for all the subpackages +%global common_description An efficient implementation of Int-indexed arrays (both mutable and\ +immutable), with a powerful loop fusion optimization framework. + +Name: ghc-%{pkg_name} +Version: 0.7.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 +ExclusiveArch: %{ghc_arches} +BuildRequires: ghc-Cabal-devel +BuildRequires: ghc-rpm-macros +%if %{undefined without_hscolour} +BuildRequires: hscolour +%endif +# END cabal2spec +BuildRequires: ghc-primitive-prof + +%description +%{common_description} + + +%package -n ghc-%{pkg_name}-devel +Summary: Development files for %{common_summary} +Group: Development/Libraries +# BEGIN cabal2spec +%{?ghc_devel_requires} +Obsoletes: ghc-%{pkg_name}-prof < %{version}-%{release} +Provides: ghc-%{pkg_name}-prof = %{version}-%{release} +# END cabal2spec +# Haskell devel dependencies are autogenerated by ghc-deps.sh + +%description -n ghc-%{pkg_name}-devel +%{common_description} + +This package contains the development files. + + +%prep +%setup -q -n %{pkg_name}-%{version} + + +%build +%ghc_lib_build + + +%install +%ghc_lib_install + + +%post -n ghc-%{pkg_name}-devel +%ghc_pkg_recache + + +%postun -n ghc-%{pkg_name}-devel +%ghc_pkg_recache + + +%if %{undefined ghc_without_shared} +%files -n ghc-%{pkg_name} -f ghc-%{pkg_name}.files +%endif + + +%files -n ghc-%{pkg_name}-devel -f ghc-%{pkg_name}-devel.files + + +%changelog +* Thu Sep 8 2011 Jens Petersen - 0.7.1-1 +- BSD license + +* Thu Sep 8 2011 Fedora Haskell SIG - 0.7.1-0 +- initial packaging for Fedora automatically generated by cabal2spec-0.24.1 diff --git a/sources b/sources index e69de29..4a40a24 100644 --- a/sources +++ b/sources @@ -0,0 +1 @@ +f056e3f6ef2700cc9958b28c642954e8 vector-0.7.1.tar.gz From da26c970c91964081c91e167ac05bc3d5c8fe9bd Mon Sep 17 00:00:00 2001 From: Jens Petersen Date: Tue, 13 Sep 2011 18:03:40 +0900 Subject: [PATCH 03/74] rebuild --- ghc-vector.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/ghc-vector.spec b/ghc-vector.spec index 1bc59fa..2a9cffa 100644 --- a/ghc-vector.spec +++ b/ghc-vector.spec @@ -13,7 +13,7 @@ immutable), with a powerful loop fusion optimization framework. Name: ghc-%{pkg_name} Version: 0.7.1 -Release: 1%{?dist} +Release: 2%{?dist} Summary: %{common_summary} Group: System Environment/Libraries @@ -79,6 +79,9 @@ This package contains the development files. %changelog +* Tue Sep 13 2011 Jens Petersen - 0.7.1-2 +- rebuild against newer ghc-rpm-macros + * Thu Sep 8 2011 Jens Petersen - 0.7.1-1 - BSD license From 476606bd2e239088f4c2efd5014ca30d8ed07829 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 15:39:04 +0200 Subject: [PATCH 04/74] rebuild with new gmp without compat lib --- ghc-vector.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/ghc-vector.spec b/ghc-vector.spec index 2a9cffa..a1279f2 100644 --- a/ghc-vector.spec +++ b/ghc-vector.spec @@ -13,7 +13,7 @@ immutable), with a powerful loop fusion optimization framework. Name: ghc-%{pkg_name} Version: 0.7.1 -Release: 2%{?dist} +Release: 2%{?dist}.1 Summary: %{common_summary} Group: System Environment/Libraries @@ -79,6 +79,9 @@ This package contains the development files. %changelog +* Mon Oct 24 2011 Marcela Mašláňová - 0.7.1-2.1 +- rebuild with new gmp without compat lib + * Tue Sep 13 2011 Jens Petersen - 0.7.1-2 - rebuild against newer ghc-rpm-macros From 2a94ea2e082ffcc5fbdf7388ea3a1ba4af800fb2 Mon Sep 17 00:00:00 2001 From: Jens Petersen Date: Wed, 4 Jan 2012 23:13:59 +0900 Subject: [PATCH 05/74] update to 0.9.1 and cabal2spec-0.25.2 --- .gitignore | 1 + ghc-vector.spec | 49 +++++++++++++------------------------------------ sources | 2 +- 3 files changed, 15 insertions(+), 37 deletions(-) diff --git a/.gitignore b/.gitignore index bbd977c..4a9dfb7 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1,2 @@ /vector-0.7.1.tar.gz +/vector-0.9.1.tar.gz diff --git a/ghc-vector.spec b/ghc-vector.spec index a1279f2..f88b80d 100644 --- a/ghc-vector.spec +++ b/ghc-vector.spec @@ -1,19 +1,17 @@ -# For Haskell Packaging Guidelines see: -# - https://fedoraproject.org/wiki/Packaging:Haskell -# - https://fedoraproject.org/wiki/PackagingDrafts/Haskell +# cabal2spec-0.25.2 +# https://fedoraproject.org/wiki/Packaging:Haskell +# https://fedoraproject.org/wiki/PackagingDrafts/Haskell %global pkg_name vector -# common part of summary for all the subpackages %global common_summary Haskell efficient array library -# main description used for all the subpackages %global common_description An efficient implementation of Int-indexed arrays (both mutable and\ immutable), with a powerful loop fusion optimization framework. Name: ghc-%{pkg_name} -Version: 0.7.1 -Release: 2%{?dist}.1 +Version: 0.9.1 +Release: 1%{?dist} Summary: %{common_summary} Group: System Environment/Libraries @@ -23,10 +21,7 @@ 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 -%if %{undefined without_hscolour} -BuildRequires: hscolour -%endif +BuildRequires: ghc-rpm-macros %{!?without_hscolour:hscolour} # END cabal2spec BuildRequires: ghc-primitive-prof @@ -34,22 +29,6 @@ BuildRequires: ghc-primitive-prof %{common_description} -%package -n ghc-%{pkg_name}-devel -Summary: Development files for %{common_summary} -Group: Development/Libraries -# BEGIN cabal2spec -%{?ghc_devel_requires} -Obsoletes: ghc-%{pkg_name}-prof < %{version}-%{release} -Provides: ghc-%{pkg_name}-prof = %{version}-%{release} -# END cabal2spec -# Haskell devel dependencies are autogenerated by ghc-deps.sh - -%description -n ghc-%{pkg_name}-devel -%{common_description} - -This package contains the development files. - - %prep %setup -q -n %{pkg_name}-%{version} @@ -62,23 +41,21 @@ This package contains the development files. %ghc_lib_install -%post -n ghc-%{pkg_name}-devel -%ghc_pkg_recache +%ghc_devel_package +%ghc_devel_description -%postun -n ghc-%{pkg_name}-devel -%ghc_pkg_recache +%ghc_devel_post_postun -%if %{undefined ghc_without_shared} -%files -n ghc-%{pkg_name} -f ghc-%{pkg_name}.files -%endif - -%files -n ghc-%{pkg_name}-devel -f ghc-%{pkg_name}-devel.files +%ghc_files %changelog +* Wed Jan 4 2012 Jens Petersen - 0.9.1-1 +- update to 0.9.1 and cabal2spec-0.25.2 + * Mon Oct 24 2011 Marcela Mašláňová - 0.7.1-2.1 - rebuild with new gmp without compat lib diff --git a/sources b/sources index 4a40a24..0bc3e17 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -f056e3f6ef2700cc9958b28c642954e8 vector-0.7.1.tar.gz +d8269d98438074a52541334645b41568 vector-0.9.1.tar.gz From fa293899846f47242e7274d6af35df4c83cac85b Mon Sep 17 00:00:00 2001 From: Jens Petersen Date: Wed, 7 Mar 2012 15:12:58 +0900 Subject: [PATCH 06/74] only build on ghc_arches_with_ghci because of annotation use --- ghc-vector.spec | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/ghc-vector.spec b/ghc-vector.spec index f88b80d..08155ea 100644 --- a/ghc-vector.spec +++ b/ghc-vector.spec @@ -11,7 +11,7 @@ immutable), with a powerful loop fusion optimization framework. Name: ghc-%{pkg_name} Version: 0.9.1 -Release: 1%{?dist} +Release: 2%{?dist} Summary: %{common_summary} Group: System Environment/Libraries @@ -19,7 +19,8 @@ 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} +# Data.Vector.Fusion.Stream.Monadic ANN annotation requires ghci +ExclusiveArch: %{ghc_arches_with_ghci} BuildRequires: ghc-Cabal-devel BuildRequires: ghc-rpm-macros %{!?without_hscolour:hscolour} # END cabal2spec @@ -53,6 +54,9 @@ BuildRequires: ghc-primitive-prof %changelog +* Wed Mar 7 2012 Jens Petersen - 0.9.1-2 +- only build on ghc_arches_with_ghci because of annotation use + * Wed Jan 4 2012 Jens Petersen - 0.9.1-1 - update to 0.9.1 and cabal2spec-0.25.2 From e66909ebcf5226c1f63b67f93eab7ec299706628 Mon Sep 17 00:00:00 2001 From: Jens Petersen Date: Fri, 23 Mar 2012 15:11:56 +0900 Subject: [PATCH 07/74] add license to ghc_files --- ghc-vector.spec | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/ghc-vector.spec b/ghc-vector.spec index 08155ea..a7489ec 100644 --- a/ghc-vector.spec +++ b/ghc-vector.spec @@ -11,7 +11,7 @@ immutable), with a powerful loop fusion optimization framework. Name: ghc-%{pkg_name} Version: 0.9.1 -Release: 2%{?dist} +Release: 3%{?dist} Summary: %{common_summary} Group: System Environment/Libraries @@ -50,10 +50,13 @@ BuildRequires: ghc-primitive-prof %ghc_devel_post_postun -%ghc_files +%ghc_files LICENSE %changelog +* Fri Mar 23 2012 Jens Petersen - 0.9.1-3 +- add license to ghc_files + * Wed Mar 7 2012 Jens Petersen - 0.9.1-2 - only build on ghc_arches_with_ghci because of annotation use From 592d0f64667d5b46afd701a4e5891ef8aaa228d8 Mon Sep 17 00:00:00 2001 From: Jens Petersen Date: Mon, 16 Jul 2012 11:16:08 +0900 Subject: [PATCH 08/74] change prof BRs to devel --- ghc-vector.spec | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/ghc-vector.spec b/ghc-vector.spec index a7489ec..da46574 100644 --- a/ghc-vector.spec +++ b/ghc-vector.spec @@ -11,7 +11,7 @@ immutable), with a powerful loop fusion optimization framework. Name: ghc-%{pkg_name} Version: 0.9.1 -Release: 3%{?dist} +Release: 4%{?dist} Summary: %{common_summary} Group: System Environment/Libraries @@ -24,7 +24,7 @@ ExclusiveArch: %{ghc_arches_with_ghci} BuildRequires: ghc-Cabal-devel BuildRequires: ghc-rpm-macros %{!?without_hscolour:hscolour} # END cabal2spec -BuildRequires: ghc-primitive-prof +BuildRequires: ghc-primitive-devel %description %{common_description} @@ -54,6 +54,9 @@ BuildRequires: ghc-primitive-prof %changelog +* Mon Jul 16 2012 Jens Petersen - 0.9.1-4 +- change prof BRs to devel + * Fri Mar 23 2012 Jens Petersen - 0.9.1-3 - add license to ghc_files From 2d3a1ecf1a5f791693e52febeb8089763de539ff Mon Sep 17 00:00:00 2001 From: Dennis Gilmore Date: Thu, 19 Jul 2012 01:19:44 -0500 Subject: [PATCH 09/74] - Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild --- ghc-vector.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/ghc-vector.spec b/ghc-vector.spec index da46574..f02de0e 100644 --- a/ghc-vector.spec +++ b/ghc-vector.spec @@ -11,7 +11,7 @@ immutable), with a powerful loop fusion optimization framework. Name: ghc-%{pkg_name} Version: 0.9.1 -Release: 4%{?dist} +Release: 5%{?dist} Summary: %{common_summary} Group: System Environment/Libraries @@ -54,6 +54,9 @@ BuildRequires: ghc-primitive-devel %changelog +* Thu Jul 19 2012 Fedora Release Engineering - 0.9.1-5 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild + * Mon Jul 16 2012 Jens Petersen - 0.9.1-4 - change prof BRs to devel From c01d96dd5999299338d9574e9be2241d27bfc016 Mon Sep 17 00:00:00 2001 From: Jens Petersen Date: Sun, 18 Nov 2012 01:24:29 +0900 Subject: [PATCH 10/74] update with cabal-rpm --- ghc-vector.spec | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/ghc-vector.spec b/ghc-vector.spec index f02de0e..35f0200 100644 --- a/ghc-vector.spec +++ b/ghc-vector.spec @@ -1,4 +1,3 @@ -# cabal2spec-0.25.2 # https://fedoraproject.org/wiki/Packaging:Haskell # https://fedoraproject.org/wiki/PackagingDrafts/Haskell @@ -14,17 +13,16 @@ Version: 0.9.1 Release: 5%{?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 # Data.Vector.Fusion.Stream.Monadic ANN annotation requires ghci ExclusiveArch: %{ghc_arches_with_ghci} BuildRequires: ghc-Cabal-devel -BuildRequires: ghc-rpm-macros %{!?without_hscolour:hscolour} -# END cabal2spec +BuildRequires: ghc-rpm-macros +# Begin cabal-rpm deps: BuildRequires: ghc-primitive-devel +# End cabal-rpm deps %description %{common_description} @@ -54,6 +52,9 @@ BuildRequires: ghc-primitive-devel %changelog +* Sat Nov 17 2012 Jens Petersen +- update with cabal-rpm + * Thu Jul 19 2012 Fedora Release Engineering - 0.9.1-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild From c7e608154df00e97f811aea4287477ba73cb9acf Mon Sep 17 00:00:00 2001 From: Jens Petersen Date: Sun, 18 Nov 2012 01:25:25 +0900 Subject: [PATCH 11/74] part of haskell-platform-2012.4 --- .gitignore | 2 -- dead.package | 1 + ghc-vector.spec | 83 ------------------------------------------------- sources | 1 - 4 files changed, 1 insertion(+), 86 deletions(-) delete mode 100644 .gitignore create mode 100644 dead.package delete mode 100644 ghc-vector.spec delete mode 100644 sources diff --git a/.gitignore b/.gitignore deleted file mode 100644 index 4a9dfb7..0000000 --- a/.gitignore +++ /dev/null @@ -1,2 +0,0 @@ -/vector-0.7.1.tar.gz -/vector-0.9.1.tar.gz diff --git a/dead.package b/dead.package new file mode 100644 index 0000000..37daada --- /dev/null +++ b/dead.package @@ -0,0 +1 @@ +part of haskell-platform-2012.4 diff --git a/ghc-vector.spec b/ghc-vector.spec deleted file mode 100644 index 35f0200..0000000 --- a/ghc-vector.spec +++ /dev/null @@ -1,83 +0,0 @@ -# https://fedoraproject.org/wiki/Packaging:Haskell -# https://fedoraproject.org/wiki/PackagingDrafts/Haskell - -%global pkg_name vector - -%global common_summary Haskell efficient array library - -%global common_description An efficient implementation of Int-indexed arrays (both mutable and\ -immutable), with a powerful loop fusion optimization framework. - -Name: ghc-%{pkg_name} -Version: 0.9.1 -Release: 5%{?dist} -Summary: %{common_summary} - -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 -# Data.Vector.Fusion.Stream.Monadic ANN annotation requires ghci -ExclusiveArch: %{ghc_arches_with_ghci} -BuildRequires: ghc-Cabal-devel -BuildRequires: ghc-rpm-macros -# Begin cabal-rpm deps: -BuildRequires: ghc-primitive-devel -# End cabal-rpm deps - -%description -%{common_description} - - -%prep -%setup -q -n %{pkg_name}-%{version} - - -%build -%ghc_lib_build - - -%install -%ghc_lib_install - - -%ghc_devel_package - -%ghc_devel_description - - -%ghc_devel_post_postun - - -%ghc_files LICENSE - - -%changelog -* Sat Nov 17 2012 Jens Petersen -- update with cabal-rpm - -* Thu Jul 19 2012 Fedora Release Engineering - 0.9.1-5 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild - -* Mon Jul 16 2012 Jens Petersen - 0.9.1-4 -- change prof BRs to devel - -* Fri Mar 23 2012 Jens Petersen - 0.9.1-3 -- add license to ghc_files - -* Wed Mar 7 2012 Jens Petersen - 0.9.1-2 -- only build on ghc_arches_with_ghci because of annotation use - -* Wed Jan 4 2012 Jens Petersen - 0.9.1-1 -- update to 0.9.1 and cabal2spec-0.25.2 - -* Mon Oct 24 2011 Marcela Mašláňová - 0.7.1-2.1 -- rebuild with new gmp without compat lib - -* Tue Sep 13 2011 Jens Petersen - 0.7.1-2 -- rebuild against newer ghc-rpm-macros - -* Thu Sep 8 2011 Jens Petersen - 0.7.1-1 -- BSD license - -* Thu Sep 8 2011 Fedora Haskell SIG - 0.7.1-0 -- initial packaging for Fedora automatically generated by cabal2spec-0.24.1 diff --git a/sources b/sources deleted file mode 100644 index 0bc3e17..0000000 --- a/sources +++ /dev/null @@ -1 +0,0 @@ -d8269d98438074a52541334645b41568 vector-0.9.1.tar.gz From cb61c528a3b3b1fbe65850d5046210e5094f6d40 Mon Sep 17 00:00:00 2001 From: Jens Petersen Date: Tue, 27 Nov 2012 12:28:31 +0900 Subject: [PATCH 12/74] unretire This may well be kept on as a separate package from h-p --- .gitignore | 2 ++ dead.package | 1 - ghc-vector.spec | 83 +++++++++++++++++++++++++++++++++++++++++++++++++ sources | 1 + 4 files changed, 86 insertions(+), 1 deletion(-) create mode 100644 .gitignore delete mode 100644 dead.package create mode 100644 ghc-vector.spec create mode 100644 sources diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..4a9dfb7 --- /dev/null +++ b/.gitignore @@ -0,0 +1,2 @@ +/vector-0.7.1.tar.gz +/vector-0.9.1.tar.gz diff --git a/dead.package b/dead.package deleted file mode 100644 index 37daada..0000000 --- a/dead.package +++ /dev/null @@ -1 +0,0 @@ -part of haskell-platform-2012.4 diff --git a/ghc-vector.spec b/ghc-vector.spec new file mode 100644 index 0000000..35f0200 --- /dev/null +++ b/ghc-vector.spec @@ -0,0 +1,83 @@ +# https://fedoraproject.org/wiki/Packaging:Haskell +# https://fedoraproject.org/wiki/PackagingDrafts/Haskell + +%global pkg_name vector + +%global common_summary Haskell efficient array library + +%global common_description An efficient implementation of Int-indexed arrays (both mutable and\ +immutable), with a powerful loop fusion optimization framework. + +Name: ghc-%{pkg_name} +Version: 0.9.1 +Release: 5%{?dist} +Summary: %{common_summary} + +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 +# Data.Vector.Fusion.Stream.Monadic ANN annotation requires ghci +ExclusiveArch: %{ghc_arches_with_ghci} +BuildRequires: ghc-Cabal-devel +BuildRequires: ghc-rpm-macros +# Begin cabal-rpm deps: +BuildRequires: ghc-primitive-devel +# End cabal-rpm deps + +%description +%{common_description} + + +%prep +%setup -q -n %{pkg_name}-%{version} + + +%build +%ghc_lib_build + + +%install +%ghc_lib_install + + +%ghc_devel_package + +%ghc_devel_description + + +%ghc_devel_post_postun + + +%ghc_files LICENSE + + +%changelog +* Sat Nov 17 2012 Jens Petersen +- update with cabal-rpm + +* Thu Jul 19 2012 Fedora Release Engineering - 0.9.1-5 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild + +* Mon Jul 16 2012 Jens Petersen - 0.9.1-4 +- change prof BRs to devel + +* Fri Mar 23 2012 Jens Petersen - 0.9.1-3 +- add license to ghc_files + +* Wed Mar 7 2012 Jens Petersen - 0.9.1-2 +- only build on ghc_arches_with_ghci because of annotation use + +* Wed Jan 4 2012 Jens Petersen - 0.9.1-1 +- update to 0.9.1 and cabal2spec-0.25.2 + +* Mon Oct 24 2011 Marcela Mašláňová - 0.7.1-2.1 +- rebuild with new gmp without compat lib + +* Tue Sep 13 2011 Jens Petersen - 0.7.1-2 +- rebuild against newer ghc-rpm-macros + +* Thu Sep 8 2011 Jens Petersen - 0.7.1-1 +- BSD license + +* Thu Sep 8 2011 Fedora Haskell SIG - 0.7.1-0 +- initial packaging for Fedora automatically generated by cabal2spec-0.24.1 diff --git a/sources b/sources new file mode 100644 index 0000000..0bc3e17 --- /dev/null +++ b/sources @@ -0,0 +1 @@ +d8269d98438074a52541334645b41568 vector-0.9.1.tar.gz From acb365b7a1c1e2ebe678fb56bc734bbfe3b104ae Mon Sep 17 00:00:00 2001 From: Jens Petersen Date: Tue, 27 Nov 2012 12:36:58 +0900 Subject: [PATCH 13/74] update to 0.10.0.1, part of haskell-platform-2012.4 --- .gitignore | 1 + ghc-vector.spec | 12 +++++++++--- sources | 2 +- 3 files changed, 11 insertions(+), 4 deletions(-) diff --git a/.gitignore b/.gitignore index 4a9dfb7..df62fbe 100644 --- a/.gitignore +++ b/.gitignore @@ -1,2 +1,3 @@ /vector-0.7.1.tar.gz /vector-0.9.1.tar.gz +/vector-0.10.0.1.tar.gz diff --git a/ghc-vector.spec b/ghc-vector.spec index 35f0200..2640b81 100644 --- a/ghc-vector.spec +++ b/ghc-vector.spec @@ -3,24 +3,27 @@ %global pkg_name vector -%global common_summary Haskell efficient array library +%global common_summary Efficient Arrays %global common_description An efficient implementation of Int-indexed arrays (both mutable and\ immutable), with a powerful loop fusion optimization framework. Name: ghc-%{pkg_name} -Version: 0.9.1 -Release: 5%{?dist} +# part of haskell-platform-2012.4 +Version: 0.10.0.1 +Release: 1%{?dist} Summary: %{common_summary} 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 + # Data.Vector.Fusion.Stream.Monadic ANN annotation requires ghci ExclusiveArch: %{ghc_arches_with_ghci} BuildRequires: ghc-Cabal-devel BuildRequires: ghc-rpm-macros # Begin cabal-rpm deps: +BuildRequires: ghc-deepseq-devel BuildRequires: ghc-primitive-devel # End cabal-rpm deps @@ -52,6 +55,9 @@ BuildRequires: ghc-primitive-devel %changelog +* Tue Nov 27 2012 Jens Petersen - 0.10.0.1-1 +- update to 0.10.0.1, part of haskell-platform-2012.4 + * Sat Nov 17 2012 Jens Petersen - update with cabal-rpm diff --git a/sources b/sources index 0bc3e17..e70199a 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -d8269d98438074a52541334645b41568 vector-0.9.1.tar.gz +a0d48ebfe68c8b90cb1d09589d86a79c vector-0.10.0.1.tar.gz From e9907c4153d2be0e005a7aeb15a0e46ff306214f Mon Sep 17 00:00:00 2001 From: Jens Petersen Date: Thu, 6 Dec 2012 13:35:52 +0900 Subject: [PATCH 14/74] skip Monadic ANN on archs without ghci, to build on all archs patch taken from Debian --- ghc-vector.spec | 12 +++++++--- vector-debian-no_ann_without_ghci.patch | 31 +++++++++++++++++++++++++ 2 files changed, 40 insertions(+), 3 deletions(-) create mode 100644 vector-debian-no_ann_without_ghci.patch diff --git a/ghc-vector.spec b/ghc-vector.spec index 2640b81..05a13fe 100644 --- a/ghc-vector.spec +++ b/ghc-vector.spec @@ -11,15 +11,14 @@ immutable), with a powerful loop fusion optimization framework. Name: ghc-%{pkg_name} # part of haskell-platform-2012.4 Version: 0.10.0.1 -Release: 1%{?dist} +Release: 2%{?dist} Summary: %{common_summary} 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 +Patch1: vector-debian-no_ann_without_ghci.patch -# Data.Vector.Fusion.Stream.Monadic ANN annotation requires ghci -ExclusiveArch: %{ghc_arches_with_ghci} BuildRequires: ghc-Cabal-devel BuildRequires: ghc-rpm-macros # Begin cabal-rpm deps: @@ -33,6 +32,9 @@ BuildRequires: ghc-primitive-devel %prep %setup -q -n %{pkg_name}-%{version} +%ifnarch %{ghc_arches_with_ghci} +%patch1 -p1 -b .orig +%endif %build @@ -55,6 +57,10 @@ BuildRequires: ghc-primitive-devel %changelog +* Thu Dec 6 2012 Jens Petersen - 0.10.0.1-2 +- skip Data.Vector.Fusion.Stream.Monadic annotation on archs without ghci + and build on all archs + * Tue Nov 27 2012 Jens Petersen - 0.10.0.1-1 - update to 0.10.0.1, part of haskell-platform-2012.4 diff --git a/vector-debian-no_ann_without_ghci.patch b/vector-debian-no_ann_without_ghci.patch new file mode 100644 index 0000000..967f336 --- /dev/null +++ b/vector-debian-no_ann_without_ghci.patch @@ -0,0 +1,31 @@ +Description: Disable annotation without ghci + Can be removed if ghc ignores annotation without an interpreter: + http://hackage.haskell.org/trac/ghc/ticket/4268 +Author: Joachim Breitner +Bug-Debian: http://bugs.debian.org/640088 +Forwarded: no + +Index: haskell-vector-0.9.1/Data/Vector/Fusion/Stream/Monadic.hs +=================================================================== +--- haskell-vector-0.9.1.orig/Data/Vector/Fusion/Stream/Monadic.hs 2012-02-10 23:48:51.000000000 +0100 ++++ haskell-vector-0.9.1/Data/Vector/Fusion/Stream/Monadic.hs 2012-02-10 23:49:04.000000000 +0100 +@@ -94,15 +94,19 @@ + import Data.Word ( Word8, Word16, Word32, Word, Word64 ) + + #if __GLASGOW_HASKELL__ >= 700 ++#ifndef DEBIAN_NO_GHCI + import GHC.Exts ( SpecConstrAnnotation(..) ) + #endif ++#endif + + #include "vector.h" + + data SPEC = SPEC | SPEC2 + #if __GLASGOW_HASKELL__ >= 700 ++#ifndef DEBIAN_NO_GHCI + {-# ANN type SPEC ForceSpecConstr #-} + #endif ++#endif + + emptyStream :: String + {-# NOINLINE emptyStream #-} From 38fe8bc66295e569e37ab45104bb536feca914fd Mon Sep 17 00:00:00 2001 From: Jens Petersen Date: Thu, 6 Dec 2012 15:05:43 +0900 Subject: [PATCH 15/74] correct the annotation patch to not use DEBIAN_NO_GHCI --- ghc-vector.spec | 5 ++++- vector-debian-no_ann_without_ghci.patch | 11 ++--------- 2 files changed, 6 insertions(+), 10 deletions(-) diff --git a/ghc-vector.spec b/ghc-vector.spec index 05a13fe..d8de6b8 100644 --- a/ghc-vector.spec +++ b/ghc-vector.spec @@ -11,7 +11,7 @@ immutable), with a powerful loop fusion optimization framework. Name: ghc-%{pkg_name} # part of haskell-platform-2012.4 Version: 0.10.0.1 -Release: 2%{?dist} +Release: 3%{?dist} Summary: %{common_summary} License: BSD @@ -57,6 +57,9 @@ BuildRequires: ghc-primitive-devel %changelog +* Thu Dec 6 2012 Jens Petersen - 0.10.0.1-3 +- correct the annotation patch to not use DEBIAN_NO_GHCI + * Thu Dec 6 2012 Jens Petersen - 0.10.0.1-2 - skip Data.Vector.Fusion.Stream.Monadic annotation on archs without ghci and build on all archs diff --git a/vector-debian-no_ann_without_ghci.patch b/vector-debian-no_ann_without_ghci.patch index 967f336..21582db 100644 --- a/vector-debian-no_ann_without_ghci.patch +++ b/vector-debian-no_ann_without_ghci.patch @@ -1,19 +1,12 @@ -Description: Disable annotation without ghci - Can be removed if ghc ignores annotation without an interpreter: http://hackage.haskell.org/trac/ghc/ticket/4268 -Author: Joachim Breitner -Bug-Debian: http://bugs.debian.org/640088 -Forwarded: no -Index: haskell-vector-0.9.1/Data/Vector/Fusion/Stream/Monadic.hs -=================================================================== --- haskell-vector-0.9.1.orig/Data/Vector/Fusion/Stream/Monadic.hs 2012-02-10 23:48:51.000000000 +0100 +++ haskell-vector-0.9.1/Data/Vector/Fusion/Stream/Monadic.hs 2012-02-10 23:49:04.000000000 +0100 @@ -94,15 +94,19 @@ import Data.Word ( Word8, Word16, Word32, Word, Word64 ) #if __GLASGOW_HASKELL__ >= 700 -+#ifndef DEBIAN_NO_GHCI ++#if 0 import GHC.Exts ( SpecConstrAnnotation(..) ) #endif +#endif @@ -22,7 +15,7 @@ Index: haskell-vector-0.9.1/Data/Vector/Fusion/Stream/Monadic.hs data SPEC = SPEC | SPEC2 #if __GLASGOW_HASKELL__ >= 700 -+#ifndef DEBIAN_NO_GHCI ++#if 0 {-# ANN type SPEC ForceSpecConstr #-} #endif +#endif From 1ad7bfebe6fc92b7f689022bd79f8662b41317e7 Mon Sep 17 00:00:00 2001 From: Jens Petersen Date: Wed, 12 Dec 2012 16:30:13 +0900 Subject: [PATCH 16/74] also skip the Monadic.hs annotation for ppc --- ghc-vector.spec | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/ghc-vector.spec b/ghc-vector.spec index d8de6b8..f287379 100644 --- a/ghc-vector.spec +++ b/ghc-vector.spec @@ -11,7 +11,7 @@ immutable), with a powerful loop fusion optimization framework. Name: ghc-%{pkg_name} # part of haskell-platform-2012.4 Version: 0.10.0.1 -Release: 3%{?dist} +Release: 4%{?dist} Summary: %{common_summary} License: BSD @@ -32,7 +32,8 @@ BuildRequires: ghc-primitive-devel %prep %setup -q -n %{pkg_name}-%{version} -%ifnarch %{ghc_arches_with_ghci} +# Monad.hs fails on ppc too +%ifnarch %(echo %{ghc_arches_with_ghci} | sed -e s/ppc//) %patch1 -p1 -b .orig %endif @@ -57,6 +58,9 @@ BuildRequires: ghc-primitive-devel %changelog +* Wed Dec 12 2012 Jens Petersen - 0.10.0.1-4 +- also skip the annotation for ppc + * Thu Dec 6 2012 Jens Petersen - 0.10.0.1-3 - correct the annotation patch to not use DEBIAN_NO_GHCI From 8c3301a876e3fae30edc65a4822275f49807b4bc Mon Sep 17 00:00:00 2001 From: Dennis Gilmore Date: Wed, 13 Feb 2013 17:21:45 -0600 Subject: [PATCH 17/74] - Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild --- ghc-vector.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/ghc-vector.spec b/ghc-vector.spec index f287379..9472055 100644 --- a/ghc-vector.spec +++ b/ghc-vector.spec @@ -11,7 +11,7 @@ immutable), with a powerful loop fusion optimization framework. Name: ghc-%{pkg_name} # part of haskell-platform-2012.4 Version: 0.10.0.1 -Release: 4%{?dist} +Release: 5%{?dist} Summary: %{common_summary} License: BSD @@ -58,6 +58,9 @@ BuildRequires: ghc-primitive-devel %changelog +* Wed Feb 13 2013 Fedora Release Engineering - 0.10.0.1-5 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild + * Wed Dec 12 2012 Jens Petersen - 0.10.0.1-4 - also skip the annotation for ppc From a58f302b01a113dab27406964fdc46d7a2a75139 Mon Sep 17 00:00:00 2001 From: Jens Petersen Date: Wed, 24 Apr 2013 16:53:52 +0900 Subject: [PATCH 18/74] update to revised simplified Haskell Packaging Guidelines --- ghc-vector.spec | 39 +++++++++++++++++++++++++-------------- 1 file changed, 25 insertions(+), 14 deletions(-) diff --git a/ghc-vector.spec b/ghc-vector.spec index 9472055..86a85fd 100644 --- a/ghc-vector.spec +++ b/ghc-vector.spec @@ -1,18 +1,12 @@ # https://fedoraproject.org/wiki/Packaging:Haskell -# https://fedoraproject.org/wiki/PackagingDrafts/Haskell %global pkg_name vector -%global common_summary Efficient Arrays - -%global common_description An efficient implementation of Int-indexed arrays (both mutable and\ -immutable), with a powerful loop fusion optimization framework. - Name: ghc-%{pkg_name} -# part of haskell-platform-2012.4 +# part of haskell-platform-2012.4+ Version: 0.10.0.1 -Release: 5%{?dist} -Summary: %{common_summary} +Release: 6%{?dist} +Summary: Efficient Arrays License: BSD URL: http://hackage.haskell.org/package/%{pkg_name} @@ -27,7 +21,17 @@ BuildRequires: ghc-primitive-devel # End cabal-rpm deps %description -%{common_description} +An efficient implementation of Int-indexed arrays (both mutable +and immutable), with a powerful loop optimisation framework. + + +%package devel +Summary: Haskell %{pkg_name} library development files +%{?ghc_devel_requires} + +%description devel +An efficient implementation of Int-indexed arrays (both mutable +and immutable), with a powerful loop optimisation framework. %prep @@ -46,18 +50,25 @@ BuildRequires: ghc-primitive-devel %ghc_lib_install -%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 %changelog +* Wed Apr 24 2013 Jens Petersen - 0.10.0.1-6 +- update to revised simplified Haskell Packaging Guidelines (cabal-rpm-0.8) + * Wed Feb 13 2013 Fedora Release Engineering - 0.10.0.1-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild From 226dc2116cb8b71a5e66f19961202efcce49beac Mon Sep 17 00:00:00 2001 From: Jens Petersen Date: Tue, 4 Jun 2013 18:10:09 +0900 Subject: [PATCH 19/74] drop ghc_devel_requires and use generic devel description --- ghc-vector.spec | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/ghc-vector.spec b/ghc-vector.spec index 86a85fd..0d08cb0 100644 --- a/ghc-vector.spec +++ b/ghc-vector.spec @@ -27,11 +27,13 @@ and immutable), with a powerful loop optimisation framework. %package devel Summary: Haskell %{pkg_name} library development files -%{?ghc_devel_requires} +Requires: ghc-compiler = %{ghc_version} +Requires(post): ghc-compiler = %{ghc_version} +Requires(postun): ghc-compiler = %{ghc_version} +Requires: %{name} = %{version}-%{release} %description devel -An efficient implementation of Int-indexed arrays (both mutable -and immutable), with a powerful loop optimisation framework. +This package provides the Haskell %{pkg_name} library development files. %prep @@ -66,8 +68,8 @@ and immutable), with a powerful loop optimisation framework. %changelog -* Wed Apr 24 2013 Jens Petersen - 0.10.0.1-6 -- update to revised simplified Haskell Packaging Guidelines (cabal-rpm-0.8) +* Tue Jun 4 2013 Jens Petersen - 0.10.0.1-6 +- update to new simplified Haskell Packaging Guidelines * Wed Feb 13 2013 Fedora Release Engineering - 0.10.0.1-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild From 26ae319ce0ad298e956150fa707bd43ac8ba4320 Mon Sep 17 00:00:00 2001 From: Dennis Gilmore Date: Sat, 3 Aug 2013 09:08:52 -0500 Subject: [PATCH 20/74] - Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild --- ghc-vector.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/ghc-vector.spec b/ghc-vector.spec index 0d08cb0..2f02023 100644 --- a/ghc-vector.spec +++ b/ghc-vector.spec @@ -5,7 +5,7 @@ Name: ghc-%{pkg_name} # part of haskell-platform-2012.4+ Version: 0.10.0.1 -Release: 6%{?dist} +Release: 7%{?dist} Summary: Efficient Arrays License: BSD @@ -68,6 +68,9 @@ This package provides the Haskell %{pkg_name} library development files. %changelog +* Sat Aug 03 2013 Fedora Release Engineering - 0.10.0.1-7 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild + * Tue Jun 4 2013 Jens Petersen - 0.10.0.1-6 - update to new simplified Haskell Packaging Guidelines From fec8527bf371cf69c7acadf6de1d9a8a6ebf6e7b Mon Sep 17 00:00:00 2001 From: Jens Petersen Date: Sat, 31 May 2014 00:49:36 +0900 Subject: [PATCH 21/74] update to 0.10.9.1 --- .gitignore | 1 + ghc-vector.spec | 18 +++++++++++++----- sources | 2 +- 3 files changed, 15 insertions(+), 6 deletions(-) diff --git a/.gitignore b/.gitignore index df62fbe..857e78a 100644 --- a/.gitignore +++ b/.gitignore @@ -1,3 +1,4 @@ /vector-0.7.1.tar.gz /vector-0.9.1.tar.gz /vector-0.10.0.1.tar.gz +/vector-0.10.9.1.tar.gz diff --git a/ghc-vector.spec b/ghc-vector.spec index 2f02023..f474629 100644 --- a/ghc-vector.spec +++ b/ghc-vector.spec @@ -2,15 +2,18 @@ %global pkg_name vector +# no useful debuginfo for Haskell packages without C sources +%global debug_package %{nil} + Name: ghc-%{pkg_name} -# part of haskell-platform-2012.4+ -Version: 0.10.0.1 -Release: 7%{?dist} +# part of haskell-platform +Version: 0.10.9.1 +Release: 1%{?dist} Summary: Efficient Arrays License: BSD URL: http://hackage.haskell.org/package/%{pkg_name} -Source0: http://hackage.haskell.org/packages/archive/%{pkg_name}/%{version}/%{pkg_name}-%{version}.tar.gz +Source0: http://hackage.haskell.org/package/%{pkg_name}-%{version}/%{pkg_name}-%{version}.tar.gz Patch1: vector-debian-no_ann_without_ghci.patch BuildRequires: ghc-Cabal-devel @@ -27,10 +30,11 @@ and immutable), with a powerful loop optimisation framework. %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} = %{version}-%{release} +Requires: %{name}%{?_isa} = %{version}-%{release} %description devel This package provides the Haskell %{pkg_name} library development files. @@ -65,9 +69,13 @@ This package provides the Haskell %{pkg_name} library development files. %files devel -f %{name}-devel.files +%doc README.md %changelog +* Fri May 30 2014 Jens Petersen - 0.10.9.1-1 +- update to 0.10.9.1 + * Sat Aug 03 2013 Fedora Release Engineering - 0.10.0.1-7 - Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild diff --git a/sources b/sources index e70199a..15ea112 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -a0d48ebfe68c8b90cb1d09589d86a79c vector-0.10.0.1.tar.gz +8e36ec90c874e6944ac4fdab80330287 vector-0.10.9.1.tar.gz From dbcc63949a2855937828c5d9612bd9177204dd40 Mon Sep 17 00:00:00 2001 From: Jens Petersen Date: Fri, 6 Jun 2014 02:18:01 +0900 Subject: [PATCH 22/74] opt out of f21 mass rebuild due to changes staged for ghc78 --- noautobuild | 0 1 file changed, 0 insertions(+), 0 deletions(-) create mode 100644 noautobuild diff --git a/noautobuild b/noautobuild new file mode 100644 index 0000000..e69de29 From 33806e67ff9b751a0b9837842a52022978ad1b59 Mon Sep 17 00:00:00 2001 From: Jens Petersen Date: Thu, 19 Jun 2014 18:46:45 +0900 Subject: [PATCH 23/74] remove noautobuild --- noautobuild | 0 1 file changed, 0 insertions(+), 0 deletions(-) delete mode 100644 noautobuild diff --git a/noautobuild b/noautobuild deleted file mode 100644 index e69de29..0000000 From bd828439f850eae2f3c10a70701fa73540251677 Mon Sep 17 00:00:00 2001 From: Jens Petersen Date: Thu, 19 Jun 2014 18:47:31 +0900 Subject: [PATCH 24/74] revert to 0.10.0.1 to until ghc-7.8 ready --- .gitignore | 1 - ghc-vector.spec | 8 ++++---- sources | 2 +- 3 files changed, 5 insertions(+), 6 deletions(-) diff --git a/.gitignore b/.gitignore index 857e78a..df62fbe 100644 --- a/.gitignore +++ b/.gitignore @@ -1,4 +1,3 @@ /vector-0.7.1.tar.gz /vector-0.9.1.tar.gz /vector-0.10.0.1.tar.gz -/vector-0.10.9.1.tar.gz diff --git a/ghc-vector.spec b/ghc-vector.spec index f474629..b163dba 100644 --- a/ghc-vector.spec +++ b/ghc-vector.spec @@ -7,8 +7,8 @@ Name: ghc-%{pkg_name} # part of haskell-platform -Version: 0.10.9.1 -Release: 1%{?dist} +Version: 0.10.0.1 +Release: 8%{?dist} Summary: Efficient Arrays License: BSD @@ -73,8 +73,8 @@ This package provides the Haskell %{pkg_name} library development files. %changelog -* Fri May 30 2014 Jens Petersen - 0.10.9.1-1 -- update to 0.10.9.1 +* Thu Jun 19 2014 Jens Petersen - 0.10.0.1-8 +- update packaging to cblrpm-0.8.11 * Sat Aug 03 2013 Fedora Release Engineering - 0.10.0.1-7 - Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild diff --git a/sources b/sources index 15ea112..e70199a 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -8e36ec90c874e6944ac4fdab80330287 vector-0.10.9.1.tar.gz +a0d48ebfe68c8b90cb1d09589d86a79c vector-0.10.0.1.tar.gz From c244e178de62a37265d617ed29f42fa0bcf004f6 Mon Sep 17 00:00:00 2001 From: Jens Petersen Date: Fri, 20 Jun 2014 09:34:09 +0900 Subject: [PATCH 25/74] no README in 0.10.0.1 --- ghc-vector.spec | 1 - 1 file changed, 1 deletion(-) diff --git a/ghc-vector.spec b/ghc-vector.spec index b163dba..cb7bc79 100644 --- a/ghc-vector.spec +++ b/ghc-vector.spec @@ -69,7 +69,6 @@ This package provides the Haskell %{pkg_name} library development files. %files devel -f %{name}-devel.files -%doc README.md %changelog From c220c228d54456fbb7f47ecb5ffdee9698a0dbd2 Mon Sep 17 00:00:00 2001 From: Jens Petersen Date: Fri, 8 Aug 2014 16:03:04 +0200 Subject: [PATCH 26/74] update to 0.10.9.1 --- .gitignore | 1 + ghc-vector.spec | 8 ++++++-- sources | 2 +- 3 files changed, 8 insertions(+), 3 deletions(-) diff --git a/.gitignore b/.gitignore index df62fbe..857e78a 100644 --- a/.gitignore +++ b/.gitignore @@ -1,3 +1,4 @@ /vector-0.7.1.tar.gz /vector-0.9.1.tar.gz /vector-0.10.0.1.tar.gz +/vector-0.10.9.1.tar.gz diff --git a/ghc-vector.spec b/ghc-vector.spec index cb7bc79..9cbddb8 100644 --- a/ghc-vector.spec +++ b/ghc-vector.spec @@ -7,8 +7,8 @@ Name: ghc-%{pkg_name} # part of haskell-platform -Version: 0.10.0.1 -Release: 8%{?dist} +Version: 0.10.9.1 +Release: 1%{?dist} Summary: Efficient Arrays License: BSD @@ -69,9 +69,13 @@ This package provides the Haskell %{pkg_name} library development files. %files devel -f %{name}-devel.files +%doc README.md %changelog +* Fri Aug 8 2014 Jens Petersen - 0.10.9.1-1 +- update to 0.10.9.1 + * Thu Jun 19 2014 Jens Petersen - 0.10.0.1-8 - update packaging to cblrpm-0.8.11 diff --git a/sources b/sources index e70199a..15ea112 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -a0d48ebfe68c8b90cb1d09589d86a79c vector-0.10.0.1.tar.gz +8e36ec90c874e6944ac4fdab80330287 vector-0.10.9.1.tar.gz From 39d957e3e99aa025b54b674cd28b4c9bd41677dc Mon Sep 17 00:00:00 2001 From: Peter Robinson Date: Sat, 16 Aug 2014 16:06:46 +0000 Subject: [PATCH 27/74] - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild --- ghc-vector.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/ghc-vector.spec b/ghc-vector.spec index 9cbddb8..a90e8e7 100644 --- a/ghc-vector.spec +++ b/ghc-vector.spec @@ -8,7 +8,7 @@ Name: ghc-%{pkg_name} # part of haskell-platform Version: 0.10.9.1 -Release: 1%{?dist} +Release: 2%{?dist} Summary: Efficient Arrays License: BSD @@ -73,6 +73,9 @@ This package provides the Haskell %{pkg_name} library development files. %changelog +* Sat Aug 16 2014 Fedora Release Engineering - 0.10.9.1-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild + * Fri Aug 8 2014 Jens Petersen - 0.10.9.1-1 - update to 0.10.9.1 From d35950574feda7eade9fa35319faa390e594a011 Mon Sep 17 00:00:00 2001 From: Jens Petersen Date: Tue, 27 Jan 2015 00:07:18 +0900 Subject: [PATCH 28/74] cblrpm refresh --- ghc-vector.spec | 12 +++--------- 1 file changed, 3 insertions(+), 9 deletions(-) diff --git a/ghc-vector.spec b/ghc-vector.spec index a90e8e7..03be8db 100644 --- a/ghc-vector.spec +++ b/ghc-vector.spec @@ -2,18 +2,15 @@ %global pkg_name vector -# no useful debuginfo for Haskell packages without C sources -%global debug_package %{nil} - Name: ghc-%{pkg_name} # part of haskell-platform Version: 0.10.9.1 -Release: 2%{?dist} +Release: 1%{?dist} Summary: Efficient Arrays 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 Patch1: vector-debian-no_ann_without_ghci.patch BuildRequires: ghc-Cabal-devel @@ -73,9 +70,6 @@ This package provides the Haskell %{pkg_name} library development files. %changelog -* Sat Aug 16 2014 Fedora Release Engineering - 0.10.9.1-2 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild - * Fri Aug 8 2014 Jens Petersen - 0.10.9.1-1 - update to 0.10.9.1 From 51e49a4b49bb47039ff97966eb9226214bff813b Mon Sep 17 00:00:00 2001 From: Dennis Gilmore Date: Wed, 17 Jun 2015 08:04:46 +0000 Subject: [PATCH 29/74] - Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild --- ghc-vector.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/ghc-vector.spec b/ghc-vector.spec index 03be8db..22eacc4 100644 --- a/ghc-vector.spec +++ b/ghc-vector.spec @@ -5,7 +5,7 @@ Name: ghc-%{pkg_name} # part of haskell-platform Version: 0.10.9.1 -Release: 1%{?dist} +Release: 2%{?dist} Summary: Efficient Arrays License: BSD @@ -70,6 +70,9 @@ This package provides the Haskell %{pkg_name} library development files. %changelog +* Wed Jun 17 2015 Fedora Release Engineering - 0.10.9.1-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild + * Fri Aug 8 2014 Jens Petersen - 0.10.9.1-1 - update to 0.10.9.1 From 6043a3e2da620716d4d1e38edea6230604a7f6de Mon Sep 17 00:00:00 2001 From: Peter Robinson Date: Thu, 20 Aug 2015 21:19:23 +0100 Subject: [PATCH 30/74] rebuild for aarch64 hash issue --- ghc-vector.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/ghc-vector.spec b/ghc-vector.spec index 22eacc4..dd52d31 100644 --- a/ghc-vector.spec +++ b/ghc-vector.spec @@ -5,7 +5,7 @@ Name: ghc-%{pkg_name} # part of haskell-platform Version: 0.10.9.1 -Release: 2%{?dist} +Release: 3%{?dist} Summary: Efficient Arrays License: BSD @@ -70,6 +70,9 @@ This package provides the Haskell %{pkg_name} library development files. %changelog +* Thu Aug 20 2015 Peter Robinson 0.10.9.1-3 +- rebuild for aarch64 hash issue + * Wed Jun 17 2015 Fedora Release Engineering - 0.10.9.1-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild From d4bedb78adaed61e8684f26e1a0320443e4263b5 Mon Sep 17 00:00:00 2001 From: Jens Petersen Date: Thu, 17 Sep 2015 14:32:42 +0900 Subject: [PATCH 31/74] update to 0.10.12.3 --- .gitignore | 1 + ghc-vector.spec | 11 ++++++++--- sources | 2 +- 3 files changed, 10 insertions(+), 4 deletions(-) diff --git a/.gitignore b/.gitignore index 857e78a..030839e 100644 --- a/.gitignore +++ b/.gitignore @@ -2,3 +2,4 @@ /vector-0.9.1.tar.gz /vector-0.10.0.1.tar.gz /vector-0.10.9.1.tar.gz +/vector-0.10.12.3.tar.gz diff --git a/ghc-vector.spec b/ghc-vector.spec index dd52d31..37fa2cf 100644 --- a/ghc-vector.spec +++ b/ghc-vector.spec @@ -4,8 +4,8 @@ Name: ghc-%{pkg_name} # part of haskell-platform -Version: 0.10.9.1 -Release: 3%{?dist} +Version: 0.10.12.3 +Release: 1%{?dist} Summary: Efficient Arrays License: BSD @@ -52,6 +52,8 @@ This package provides the Haskell %{pkg_name} library development files. %install %ghc_lib_install +rm %{buildroot}%{ghc_pkgdocdir}/LICENSE + %post devel %ghc_pkg_recache @@ -62,7 +64,7 @@ This package provides the Haskell %{pkg_name} library development files. %files -f %{name}.files -%doc LICENSE +%license LICENSE %files devel -f %{name}-devel.files @@ -70,6 +72,9 @@ This package provides the Haskell %{pkg_name} library development files. %changelog +* Thu Sep 17 2015 Jens Petersen - 0.10.12.3-1 +- update to 0.10.12.3 + * Thu Aug 20 2015 Peter Robinson 0.10.9.1-3 - rebuild for aarch64 hash issue diff --git a/sources b/sources index 15ea112..bc1ace6 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -8e36ec90c874e6944ac4fdab80330287 vector-0.10.9.1.tar.gz +a9e325be278ca0f0e4d123a8c3f8ee79 vector-0.10.12.3.tar.gz From 5d6bb30599cdf9d70991474b49a0be728c27472d Mon Sep 17 00:00:00 2001 From: Jens Petersen Date: Fri, 2 Oct 2015 17:21:59 +0900 Subject: [PATCH 32/74] update to 0.11.0.0 --- .gitignore | 1 + ghc-vector.spec | 26 +++++++++++++++++++------ sources | 2 +- vector-debian-no_ann_without_ghci.patch | 24 ----------------------- 4 files changed, 22 insertions(+), 31 deletions(-) delete mode 100644 vector-debian-no_ann_without_ghci.patch diff --git a/.gitignore b/.gitignore index 030839e..422416b 100644 --- a/.gitignore +++ b/.gitignore @@ -3,3 +3,4 @@ /vector-0.10.0.1.tar.gz /vector-0.10.9.1.tar.gz /vector-0.10.12.3.tar.gz +/vector-0.11.0.0.tar.gz diff --git a/ghc-vector.spec b/ghc-vector.spec index 37fa2cf..165023d 100644 --- a/ghc-vector.spec +++ b/ghc-vector.spec @@ -2,22 +2,31 @@ %global pkg_name vector +%bcond_with tests + Name: ghc-%{pkg_name} # part of haskell-platform -Version: 0.10.12.3 +Version: 0.11.0.0 Release: 1%{?dist} Summary: Efficient Arrays License: BSD Url: https://hackage.haskell.org/package/%{pkg_name} Source0: https://hackage.haskell.org/package/%{pkg_name}-%{version}/%{pkg_name}-%{version}.tar.gz -Patch1: vector-debian-no_ann_without_ghci.patch BuildRequires: ghc-Cabal-devel BuildRequires: ghc-rpm-macros # Begin cabal-rpm deps: BuildRequires: ghc-deepseq-devel BuildRequires: ghc-primitive-devel +%if %{with tests} +BuildRequires: ghc-QuickCheck-devel +BuildRequires: ghc-random-devel +BuildRequires: ghc-template-haskell-devel +BuildRequires: ghc-test-framework-devel +BuildRequires: ghc-test-framework-quickcheck2-devel +BuildRequires: ghc-transformers-devel +%endif # End cabal-rpm deps %description @@ -39,10 +48,6 @@ This package provides the Haskell %{pkg_name} library development files. %prep %setup -q -n %{pkg_name}-%{version} -# Monad.hs fails on ppc too -%ifnarch %(echo %{ghc_arches_with_ghci} | sed -e s/ppc//) -%patch1 -p1 -b .orig -%endif %build @@ -55,6 +60,12 @@ This package provides the Haskell %{pkg_name} library development files. rm %{buildroot}%{ghc_pkgdocdir}/LICENSE +%check +%if %{with tests} +%cabal test +%endif + + %post devel %ghc_pkg_recache @@ -72,6 +83,9 @@ rm %{buildroot}%{ghc_pkgdocdir}/LICENSE %changelog +* Fri Oct 02 2015 Jens Petersen - 0.11.0.0-1 +- update to 0.11.0.0 + * Thu Sep 17 2015 Jens Petersen - 0.10.12.3-1 - update to 0.10.12.3 diff --git a/sources b/sources index bc1ace6..c578d06 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -a9e325be278ca0f0e4d123a8c3f8ee79 vector-0.10.12.3.tar.gz +a08605271abb3ed815135572a42b8524 vector-0.11.0.0.tar.gz diff --git a/vector-debian-no_ann_without_ghci.patch b/vector-debian-no_ann_without_ghci.patch deleted file mode 100644 index 21582db..0000000 --- a/vector-debian-no_ann_without_ghci.patch +++ /dev/null @@ -1,24 +0,0 @@ - http://hackage.haskell.org/trac/ghc/ticket/4268 - ---- haskell-vector-0.9.1.orig/Data/Vector/Fusion/Stream/Monadic.hs 2012-02-10 23:48:51.000000000 +0100 -+++ haskell-vector-0.9.1/Data/Vector/Fusion/Stream/Monadic.hs 2012-02-10 23:49:04.000000000 +0100 -@@ -94,15 +94,19 @@ - import Data.Word ( Word8, Word16, Word32, Word, Word64 ) - - #if __GLASGOW_HASKELL__ >= 700 -+#if 0 - import GHC.Exts ( SpecConstrAnnotation(..) ) - #endif -+#endif - - #include "vector.h" - - data SPEC = SPEC | SPEC2 - #if __GLASGOW_HASKELL__ >= 700 -+#if 0 - {-# ANN type SPEC ForceSpecConstr #-} - #endif -+#endif - - emptyStream :: String - {-# NOINLINE emptyStream #-} From 3918088c4e4776c18069ec967f740be723ced8d8 Mon Sep 17 00:00:00 2001 From: Jens Petersen Date: Tue, 2 Feb 2016 00:43:38 +0900 Subject: [PATCH 33/74] Reverting "update to 0.11.0.0" This reverts commit 5d6bb30599cdf9d70991474b49a0be728c27472d. --- .gitignore | 1 - ghc-vector.spec | 26 ++++++------------------- sources | 2 +- vector-debian-no_ann_without_ghci.patch | 24 +++++++++++++++++++++++ 4 files changed, 31 insertions(+), 22 deletions(-) create mode 100644 vector-debian-no_ann_without_ghci.patch diff --git a/.gitignore b/.gitignore index 422416b..030839e 100644 --- a/.gitignore +++ b/.gitignore @@ -3,4 +3,3 @@ /vector-0.10.0.1.tar.gz /vector-0.10.9.1.tar.gz /vector-0.10.12.3.tar.gz -/vector-0.11.0.0.tar.gz diff --git a/ghc-vector.spec b/ghc-vector.spec index 165023d..37fa2cf 100644 --- a/ghc-vector.spec +++ b/ghc-vector.spec @@ -2,31 +2,22 @@ %global pkg_name vector -%bcond_with tests - Name: ghc-%{pkg_name} # part of haskell-platform -Version: 0.11.0.0 +Version: 0.10.12.3 Release: 1%{?dist} Summary: Efficient Arrays License: BSD Url: https://hackage.haskell.org/package/%{pkg_name} Source0: https://hackage.haskell.org/package/%{pkg_name}-%{version}/%{pkg_name}-%{version}.tar.gz +Patch1: vector-debian-no_ann_without_ghci.patch BuildRequires: ghc-Cabal-devel BuildRequires: ghc-rpm-macros # Begin cabal-rpm deps: BuildRequires: ghc-deepseq-devel BuildRequires: ghc-primitive-devel -%if %{with tests} -BuildRequires: ghc-QuickCheck-devel -BuildRequires: ghc-random-devel -BuildRequires: ghc-template-haskell-devel -BuildRequires: ghc-test-framework-devel -BuildRequires: ghc-test-framework-quickcheck2-devel -BuildRequires: ghc-transformers-devel -%endif # End cabal-rpm deps %description @@ -48,6 +39,10 @@ This package provides the Haskell %{pkg_name} library development files. %prep %setup -q -n %{pkg_name}-%{version} +# Monad.hs fails on ppc too +%ifnarch %(echo %{ghc_arches_with_ghci} | sed -e s/ppc//) +%patch1 -p1 -b .orig +%endif %build @@ -60,12 +55,6 @@ This package provides the Haskell %{pkg_name} library development files. rm %{buildroot}%{ghc_pkgdocdir}/LICENSE -%check -%if %{with tests} -%cabal test -%endif - - %post devel %ghc_pkg_recache @@ -83,9 +72,6 @@ rm %{buildroot}%{ghc_pkgdocdir}/LICENSE %changelog -* Fri Oct 02 2015 Jens Petersen - 0.11.0.0-1 -- update to 0.11.0.0 - * Thu Sep 17 2015 Jens Petersen - 0.10.12.3-1 - update to 0.10.12.3 diff --git a/sources b/sources index c578d06..bc1ace6 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -a08605271abb3ed815135572a42b8524 vector-0.11.0.0.tar.gz +a9e325be278ca0f0e4d123a8c3f8ee79 vector-0.10.12.3.tar.gz diff --git a/vector-debian-no_ann_without_ghci.patch b/vector-debian-no_ann_without_ghci.patch new file mode 100644 index 0000000..21582db --- /dev/null +++ b/vector-debian-no_ann_without_ghci.patch @@ -0,0 +1,24 @@ + http://hackage.haskell.org/trac/ghc/ticket/4268 + +--- haskell-vector-0.9.1.orig/Data/Vector/Fusion/Stream/Monadic.hs 2012-02-10 23:48:51.000000000 +0100 ++++ haskell-vector-0.9.1/Data/Vector/Fusion/Stream/Monadic.hs 2012-02-10 23:49:04.000000000 +0100 +@@ -94,15 +94,19 @@ + import Data.Word ( Word8, Word16, Word32, Word, Word64 ) + + #if __GLASGOW_HASKELL__ >= 700 ++#if 0 + import GHC.Exts ( SpecConstrAnnotation(..) ) + #endif ++#endif + + #include "vector.h" + + data SPEC = SPEC | SPEC2 + #if __GLASGOW_HASKELL__ >= 700 ++#if 0 + {-# ANN type SPEC ForceSpecConstr #-} + #endif ++#endif + + emptyStream :: String + {-# NOINLINE emptyStream #-} From 984952275d7343865cd718930fa05cb0323532c8 Mon Sep 17 00:00:00 2001 From: Jens Petersen Date: Tue, 2 Feb 2016 01:01:23 +0900 Subject: [PATCH 34/74] Reverting "update to 0.10.12.3" This reverts commit d4bedb78adaed61e8684f26e1a0320443e4263b5. --- .gitignore | 1 - ghc-vector.spec | 11 +++-------- sources | 2 +- 3 files changed, 4 insertions(+), 10 deletions(-) diff --git a/.gitignore b/.gitignore index 030839e..857e78a 100644 --- a/.gitignore +++ b/.gitignore @@ -2,4 +2,3 @@ /vector-0.9.1.tar.gz /vector-0.10.0.1.tar.gz /vector-0.10.9.1.tar.gz -/vector-0.10.12.3.tar.gz diff --git a/ghc-vector.spec b/ghc-vector.spec index 37fa2cf..dd52d31 100644 --- a/ghc-vector.spec +++ b/ghc-vector.spec @@ -4,8 +4,8 @@ Name: ghc-%{pkg_name} # part of haskell-platform -Version: 0.10.12.3 -Release: 1%{?dist} +Version: 0.10.9.1 +Release: 3%{?dist} Summary: Efficient Arrays License: BSD @@ -52,8 +52,6 @@ This package provides the Haskell %{pkg_name} library development files. %install %ghc_lib_install -rm %{buildroot}%{ghc_pkgdocdir}/LICENSE - %post devel %ghc_pkg_recache @@ -64,7 +62,7 @@ rm %{buildroot}%{ghc_pkgdocdir}/LICENSE %files -f %{name}.files -%license LICENSE +%doc LICENSE %files devel -f %{name}-devel.files @@ -72,9 +70,6 @@ rm %{buildroot}%{ghc_pkgdocdir}/LICENSE %changelog -* Thu Sep 17 2015 Jens Petersen - 0.10.12.3-1 -- update to 0.10.12.3 - * Thu Aug 20 2015 Peter Robinson 0.10.9.1-3 - rebuild for aarch64 hash issue diff --git a/sources b/sources index bc1ace6..15ea112 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -a9e325be278ca0f0e4d123a8c3f8ee79 vector-0.10.12.3.tar.gz +8e36ec90c874e6944ac4fdab80330287 vector-0.10.9.1.tar.gz From 289f1a987fde5fbda8012b815639ea203dff114e Mon Sep 17 00:00:00 2001 From: Dennis Gilmore Date: Wed, 3 Feb 2016 21:48:03 +0000 Subject: [PATCH 35/74] - Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild --- ghc-vector.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/ghc-vector.spec b/ghc-vector.spec index dd52d31..c8f0d77 100644 --- a/ghc-vector.spec +++ b/ghc-vector.spec @@ -5,7 +5,7 @@ Name: ghc-%{pkg_name} # part of haskell-platform Version: 0.10.9.1 -Release: 3%{?dist} +Release: 4%{?dist} Summary: Efficient Arrays License: BSD @@ -70,6 +70,9 @@ This package provides the Haskell %{pkg_name} library development files. %changelog +* Wed Feb 03 2016 Fedora Release Engineering - 0.10.9.1-4 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild + * Thu Aug 20 2015 Peter Robinson 0.10.9.1-3 - rebuild for aarch64 hash issue From adcc58afdc80caaff319732be244b2f3097823ce Mon Sep 17 00:00:00 2001 From: Jens Petersen Date: Mon, 7 Mar 2016 23:20:16 +0900 Subject: [PATCH 36/74] drop %ghc_arches_with_ghci --- ghc-vector.spec | 5 ----- vector-debian-no_ann_without_ghci.patch | 24 ------------------------ 2 files changed, 29 deletions(-) delete mode 100644 vector-debian-no_ann_without_ghci.patch diff --git a/ghc-vector.spec b/ghc-vector.spec index c8f0d77..12b55be 100644 --- a/ghc-vector.spec +++ b/ghc-vector.spec @@ -11,7 +11,6 @@ Summary: Efficient Arrays License: BSD Url: https://hackage.haskell.org/package/%{pkg_name} Source0: https://hackage.haskell.org/package/%{pkg_name}-%{version}/%{pkg_name}-%{version}.tar.gz -Patch1: vector-debian-no_ann_without_ghci.patch BuildRequires: ghc-Cabal-devel BuildRequires: ghc-rpm-macros @@ -39,10 +38,6 @@ This package provides the Haskell %{pkg_name} library development files. %prep %setup -q -n %{pkg_name}-%{version} -# Monad.hs fails on ppc too -%ifnarch %(echo %{ghc_arches_with_ghci} | sed -e s/ppc//) -%patch1 -p1 -b .orig -%endif %build diff --git a/vector-debian-no_ann_without_ghci.patch b/vector-debian-no_ann_without_ghci.patch deleted file mode 100644 index 21582db..0000000 --- a/vector-debian-no_ann_without_ghci.patch +++ /dev/null @@ -1,24 +0,0 @@ - http://hackage.haskell.org/trac/ghc/ticket/4268 - ---- haskell-vector-0.9.1.orig/Data/Vector/Fusion/Stream/Monadic.hs 2012-02-10 23:48:51.000000000 +0100 -+++ haskell-vector-0.9.1/Data/Vector/Fusion/Stream/Monadic.hs 2012-02-10 23:49:04.000000000 +0100 -@@ -94,15 +94,19 @@ - import Data.Word ( Word8, Word16, Word32, Word, Word64 ) - - #if __GLASGOW_HASKELL__ >= 700 -+#if 0 - import GHC.Exts ( SpecConstrAnnotation(..) ) - #endif -+#endif - - #include "vector.h" - - data SPEC = SPEC | SPEC2 - #if __GLASGOW_HASKELL__ >= 700 -+#if 0 - {-# ANN type SPEC ForceSpecConstr #-} - #endif -+#endif - - emptyStream :: String - {-# NOINLINE emptyStream #-} From eb97694bb007514b526ca1c944d7ab3d46f6d10d Mon Sep 17 00:00:00 2001 From: Jens Petersen Date: Tue, 7 Jun 2016 11:01:39 +0900 Subject: [PATCH 37/74] update to 0.11.0.0 --- .gitignore | 1 + ghc-vector.spec | 27 ++++++++++++++++++++++++--- sources | 2 +- 3 files changed, 26 insertions(+), 4 deletions(-) diff --git a/.gitignore b/.gitignore index 857e78a..9be819c 100644 --- a/.gitignore +++ b/.gitignore @@ -2,3 +2,4 @@ /vector-0.9.1.tar.gz /vector-0.10.0.1.tar.gz /vector-0.10.9.1.tar.gz +/vector-0.11.0.0.tar.gz diff --git a/ghc-vector.spec b/ghc-vector.spec index 12b55be..e739a4a 100644 --- a/ghc-vector.spec +++ b/ghc-vector.spec @@ -2,10 +2,12 @@ %global pkg_name vector +%bcond_with tests + Name: ghc-%{pkg_name} # part of haskell-platform -Version: 0.10.9.1 -Release: 4%{?dist} +Version: 0.11.0.0 +Release: 1%{?dist} Summary: Efficient Arrays License: BSD @@ -17,6 +19,14 @@ BuildRequires: ghc-rpm-macros # Begin cabal-rpm deps: BuildRequires: ghc-deepseq-devel BuildRequires: ghc-primitive-devel +%if %{with tests} +BuildRequires: ghc-QuickCheck-devel +BuildRequires: ghc-random-devel +BuildRequires: ghc-template-haskell-devel +BuildRequires: ghc-test-framework-devel +BuildRequires: ghc-test-framework-quickcheck2-devel +BuildRequires: ghc-transformers-devel +%endif # End cabal-rpm deps %description @@ -47,6 +57,14 @@ 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 + %post devel %ghc_pkg_recache @@ -57,7 +75,7 @@ This package provides the Haskell %{pkg_name} library development files. %files -f %{name}.files -%doc LICENSE +%license LICENSE %files devel -f %{name}-devel.files @@ -65,6 +83,9 @@ This package provides the Haskell %{pkg_name} library development files. %changelog +* Tue Jun 7 2016 Jens Petersen - 0.11.0.0-1 +- update to 0.11.0.0 + * Wed Feb 03 2016 Fedora Release Engineering - 0.10.9.1-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild diff --git a/sources b/sources index 15ea112..c578d06 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -8e36ec90c874e6944ac4fdab80330287 vector-0.10.9.1.tar.gz +a08605271abb3ed815135572a42b8524 vector-0.11.0.0.tar.gz From 43b8288971991eff3ccf58d3a4ab749a4cda8b19 Mon Sep 17 00:00:00 2001 From: Jens Petersen Date: Wed, 10 Aug 2016 09:41:55 +0900 Subject: [PATCH 38/74] allow newer base and ghc-prim --- ghc-vector.spec | 2 ++ 1 file changed, 2 insertions(+) diff --git a/ghc-vector.spec b/ghc-vector.spec index e739a4a..03fe56c 100644 --- a/ghc-vector.spec +++ b/ghc-vector.spec @@ -48,6 +48,8 @@ This package provides the Haskell %{pkg_name} library development files. %prep %setup -q -n %{pkg_name}-%{version} +cabal-tweak-dep-ver base '< 4.9' '< 4.10' +cabal-tweak-dep-ver ghc-prim '< 0.5' '< 0.6' %build From e23718b3f85ec6919b730b1b3a2358b8d85614d0 Mon Sep 17 00:00:00 2001 From: Jens Petersen Date: Tue, 27 Sep 2016 19:15:55 +0900 Subject: [PATCH 39/74] no longer remove license; use cabal_test --- ghc-vector.spec | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/ghc-vector.spec b/ghc-vector.spec index 03fe56c..18ff558 100644 --- a/ghc-vector.spec +++ b/ghc-vector.spec @@ -59,13 +59,9 @@ cabal-tweak-dep-ver ghc-prim '< 0.5' '< 0.6' %install %ghc_lib_install -rm %{buildroot}%{ghc_pkgdocdir}/LICENSE - %check -%if %{with tests} -%cabal test -%endif +%cabal_test %post devel From 11d3f42719d6f1fc1a3e0db26d6371a97bda1028 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Fri, 10 Feb 2017 10:52:35 +0000 Subject: [PATCH 40/74] - Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild --- ghc-vector.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/ghc-vector.spec b/ghc-vector.spec index 18ff558..181c160 100644 --- a/ghc-vector.spec +++ b/ghc-vector.spec @@ -7,7 +7,7 @@ Name: ghc-%{pkg_name} # part of haskell-platform Version: 0.11.0.0 -Release: 1%{?dist} +Release: 2%{?dist} Summary: Efficient Arrays License: BSD @@ -81,6 +81,9 @@ cabal-tweak-dep-ver ghc-prim '< 0.5' '< 0.6' %changelog +* Fri Feb 10 2017 Fedora Release Engineering - 0.11.0.0-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild + * Tue Jun 7 2016 Jens Petersen - 0.11.0.0-1 - update to 0.11.0.0 From 1892903b0e15becdb89f499fc999fda1d41bc838 Mon Sep 17 00:00:00 2001 From: Jens Petersen Date: Fri, 24 Feb 2017 17:48:25 +0900 Subject: [PATCH 41/74] refresh to cabal-rpm-0.11.1 --- ghc-vector.spec | 13 +++++++++---- 1 file changed, 9 insertions(+), 4 deletions(-) diff --git a/ghc-vector.spec b/ghc-vector.spec index 181c160..bdaa798 100644 --- a/ghc-vector.spec +++ b/ghc-vector.spec @@ -1,18 +1,20 @@ +# generated by cabal-rpm-0.11.1 # https://fedoraproject.org/wiki/Packaging:Haskell %global pkg_name vector +%global pkgver %{pkg_name}-%{version} %bcond_with tests Name: ghc-%{pkg_name} # part of haskell-platform Version: 0.11.0.0 -Release: 2%{?dist} +Release: 3%{?dist} Summary: Efficient Arrays 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 @@ -47,7 +49,7 @@ This package provides the Haskell %{pkg_name} library development files. %prep -%setup -q -n %{pkg_name}-%{version} +%setup -q -n %{pkgver} cabal-tweak-dep-ver base '< 4.9' '< 4.10' cabal-tweak-dep-ver ghc-prim '< 0.5' '< 0.6' @@ -77,10 +79,13 @@ cabal-tweak-dep-ver ghc-prim '< 0.5' '< 0.6' %files devel -f %{name}-devel.files -%doc README.md +%doc README.md changelog %changelog +* Fri Feb 24 2017 Jens Petersen - 0.11.0.0-3 +- refresh to cabal-rpm-0.11.1 + * Fri Feb 10 2017 Fedora Release Engineering - 0.11.0.0-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild From 6d142b0af4662c21e3f8cad8720096cd79d9177c Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Wed, 26 Jul 2017 10:00:38 +0000 Subject: [PATCH 42/74] - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild --- ghc-vector.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/ghc-vector.spec b/ghc-vector.spec index bdaa798..5097fe3 100644 --- a/ghc-vector.spec +++ b/ghc-vector.spec @@ -9,7 +9,7 @@ Name: ghc-%{pkg_name} # part of haskell-platform Version: 0.11.0.0 -Release: 3%{?dist} +Release: 4%{?dist} Summary: Efficient Arrays License: BSD @@ -83,6 +83,9 @@ cabal-tweak-dep-ver ghc-prim '< 0.5' '< 0.6' %changelog +* Wed Jul 26 2017 Fedora Release Engineering - 0.11.0.0-4 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild + * Fri Feb 24 2017 Jens Petersen - 0.11.0.0-3 - refresh to cabal-rpm-0.11.1 From 1d9c36f6c335ce5a41cd07b6e572aed9ad6802b7 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Wed, 2 Aug 2017 21:36:18 +0000 Subject: [PATCH 43/74] - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild --- ghc-vector.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/ghc-vector.spec b/ghc-vector.spec index 5097fe3..09b2c15 100644 --- a/ghc-vector.spec +++ b/ghc-vector.spec @@ -9,7 +9,7 @@ Name: ghc-%{pkg_name} # part of haskell-platform Version: 0.11.0.0 -Release: 4%{?dist} +Release: 5%{?dist} Summary: Efficient Arrays License: BSD @@ -83,6 +83,9 @@ cabal-tweak-dep-ver ghc-prim '< 0.5' '< 0.6' %changelog +* Wed Aug 02 2017 Fedora Release Engineering - 0.11.0.0-5 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild + * Wed Jul 26 2017 Fedora Release Engineering - 0.11.0.0-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild From aee439ad45aaf3c130160b6282f566daed88880d Mon Sep 17 00:00:00 2001 From: Jens Petersen Date: Wed, 24 Jan 2018 14:12:16 +0100 Subject: [PATCH 44/74] refresh to cabal-rpm-0.12.1 --- ghc-vector.spec | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/ghc-vector.spec b/ghc-vector.spec index 09b2c15..94fec09 100644 --- a/ghc-vector.spec +++ b/ghc-vector.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 vector @@ -39,9 +39,12 @@ and immutable), with a powerful loop optimisation framework. %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 @@ -66,6 +69,12 @@ cabal-tweak-dep-ver ghc-prim '< 0.5' '< 0.6' %cabal_test +%post -p /sbin/ldconfig + + +%postun -p /sbin/ldconfig + + %post devel %ghc_pkg_recache From 51e6748cbcdfce8d7a49ab36a2791051999ab8cc Mon Sep 17 00:00:00 2001 From: Jens Petersen Date: Wed, 24 Jan 2018 15:58:58 +0100 Subject: [PATCH 45/74] update to 0.12.0.1 --- .gitignore | 1 + ghc-vector.spec | 12 ++++++++---- sources | 2 +- 3 files changed, 10 insertions(+), 5 deletions(-) diff --git a/.gitignore b/.gitignore index 9be819c..ab5e220 100644 --- a/.gitignore +++ b/.gitignore @@ -3,3 +3,4 @@ /vector-0.10.0.1.tar.gz /vector-0.10.9.1.tar.gz /vector-0.11.0.0.tar.gz +/vector-0.12.0.1.tar.gz diff --git a/ghc-vector.spec b/ghc-vector.spec index 94fec09..6f4911c 100644 --- a/ghc-vector.spec +++ b/ghc-vector.spec @@ -8,8 +8,8 @@ Name: ghc-%{pkg_name} # part of haskell-platform -Version: 0.11.0.0 -Release: 5%{?dist} +Version: 0.12.0.1 +Release: 1%{?dist} Summary: Efficient Arrays License: BSD @@ -22,10 +22,12 @@ BuildRequires: ghc-rpm-macros BuildRequires: ghc-deepseq-devel BuildRequires: ghc-primitive-devel %if %{with tests} +BuildRequires: ghc-HUnit-devel BuildRequires: ghc-QuickCheck-devel BuildRequires: ghc-random-devel BuildRequires: ghc-template-haskell-devel BuildRequires: ghc-test-framework-devel +BuildRequires: ghc-test-framework-hunit-devel BuildRequires: ghc-test-framework-quickcheck2-devel BuildRequires: ghc-transformers-devel %endif @@ -53,8 +55,7 @@ This package provides the Haskell %{pkg_name} library development files. %prep %setup -q -n %{pkgver} -cabal-tweak-dep-ver base '< 4.9' '< 4.10' -cabal-tweak-dep-ver ghc-prim '< 0.5' '< 0.6' +cabal-tweak-dep-ver base '< 4.9' '< 4.11' %build @@ -92,6 +93,9 @@ cabal-tweak-dep-ver ghc-prim '< 0.5' '< 0.6' %changelog +* Wed Jan 24 2018 Jens Petersen - 0.12.0.1-1 +- update to 0.12.0.1 + * Wed Aug 02 2017 Fedora Release Engineering - 0.11.0.0-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild diff --git a/sources b/sources index c578d06..3eca9d2 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -a08605271abb3ed815135572a42b8524 vector-0.11.0.0.tar.gz +SHA512 (vector-0.12.0.1.tar.gz) = 17cae6c2e36e6e73190ebce0c3f38c4b8ec01d4336d2bb9b98f85ea299cab4140d4490493f6cbd472c1b0a32809f3ce344955ab6cd7dbacdca56ffa5aec4bad4 From 069169772b978acb4042c7f88ac3de23a2c0f695 Mon Sep 17 00:00:00 2001 From: Jens Petersen Date: Fri, 26 Jan 2018 09:53:37 +0100 Subject: [PATCH 46/74] refresh to cabal-rpm-0.12.1 --- ghc-vector.spec | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ghc-vector.spec b/ghc-vector.spec index 6f4911c..725daee 100644 --- a/ghc-vector.spec +++ b/ghc-vector.spec @@ -55,7 +55,7 @@ This package provides the Haskell %{pkg_name} library development files. %prep %setup -q -n %{pkgver} -cabal-tweak-dep-ver base '< 4.9' '< 4.11' +cabal-tweak-dep-ver base '< 4.10' '< 4.11' %build From f7e461eba915c4b6f10be760e3ec7d1087407e43 Mon Sep 17 00:00:00 2001 From: Jens Petersen Date: Sun, 4 Feb 2018 01:03:43 +0900 Subject: [PATCH 47/74] drop ldconfig scriptlets --- ghc-vector.spec | 6 ------ 1 file changed, 6 deletions(-) diff --git a/ghc-vector.spec b/ghc-vector.spec index 725daee..8ee1e69 100644 --- a/ghc-vector.spec +++ b/ghc-vector.spec @@ -70,12 +70,6 @@ cabal-tweak-dep-ver base '< 4.10' '< 4.11' %cabal_test -%post -p /sbin/ldconfig - - -%postun -p /sbin/ldconfig - - %post devel %ghc_pkg_recache From 297e398c59a2f897298e0153ea45fd1354d26c73 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Wed, 7 Feb 2018 12:18:49 +0000 Subject: [PATCH 48/74] - Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild Signed-off-by: Fedora Release Engineering --- ghc-vector.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/ghc-vector.spec b/ghc-vector.spec index 8ee1e69..1c04d0b 100644 --- a/ghc-vector.spec +++ b/ghc-vector.spec @@ -9,7 +9,7 @@ Name: ghc-%{pkg_name} # part of haskell-platform Version: 0.12.0.1 -Release: 1%{?dist} +Release: 2%{?dist} Summary: Efficient Arrays License: BSD @@ -87,6 +87,9 @@ cabal-tweak-dep-ver base '< 4.10' '< 4.11' %changelog +* Wed Feb 07 2018 Fedora Release Engineering - 0.12.0.1-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild + * Wed Jan 24 2018 Jens Petersen - 0.12.0.1-1 - update to 0.12.0.1 From cdcbe9e9555efc9f9f5ef2e47aeca98b4c34ef0f Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Fri, 13 Jul 2018 02:14:35 +0000 Subject: [PATCH 49/74] - Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild Signed-off-by: Fedora Release Engineering --- ghc-vector.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/ghc-vector.spec b/ghc-vector.spec index 1c04d0b..030eaec 100644 --- a/ghc-vector.spec +++ b/ghc-vector.spec @@ -9,7 +9,7 @@ Name: ghc-%{pkg_name} # part of haskell-platform Version: 0.12.0.1 -Release: 2%{?dist} +Release: 3%{?dist} Summary: Efficient Arrays License: BSD @@ -87,6 +87,9 @@ cabal-tweak-dep-ver base '< 4.10' '< 4.11' %changelog +* Fri Jul 13 2018 Fedora Release Engineering - 0.12.0.1-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild + * Wed Feb 07 2018 Fedora Release Engineering - 0.12.0.1-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild From 287407228264cdd2149128c6851dc82381788db6 Mon Sep 17 00:00:00 2001 From: Jens Petersen Date: Sun, 22 Jul 2018 00:24:28 +0900 Subject: [PATCH 50/74] remove part of haskell-platform comment --- ghc-vector.spec | 1 - 1 file changed, 1 deletion(-) diff --git a/ghc-vector.spec b/ghc-vector.spec index 030eaec..cee5efd 100644 --- a/ghc-vector.spec +++ b/ghc-vector.spec @@ -7,7 +7,6 @@ %bcond_with tests Name: ghc-%{pkg_name} -# part of haskell-platform Version: 0.12.0.1 Release: 3%{?dist} Summary: Efficient Arrays From 1ab2513c5440aa08233580cc045cefd5d1108729 Mon Sep 17 00:00:00 2001 From: Jens Petersen Date: Sun, 29 Jul 2018 00:53:28 +0900 Subject: [PATCH 51/74] revise .cabal --- ghc-vector.spec | 10 +- vector-0.12.0.1.cabal | 251 ++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 258 insertions(+), 3 deletions(-) create mode 100644 vector-0.12.0.1.cabal diff --git a/ghc-vector.spec b/ghc-vector.spec index cee5efd..160fa8f 100644 --- a/ghc-vector.spec +++ b/ghc-vector.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 vector @@ -8,12 +8,13 @@ Name: ghc-%{pkg_name} Version: 0.12.0.1 -Release: 3%{?dist} +Release: 4%{?dist} Summary: Efficient Arrays License: BSD Url: https://hackage.haskell.org/package/%{pkg_name} Source0: https://hackage.haskell.org/package/%{pkgver}/%{pkgver}.tar.gz +Source1: https://hackage.haskell.org/package/%{pkgver}/%{pkg_name}.cabal#/%{pkgver}.cabal BuildRequires: ghc-Cabal-devel BuildRequires: ghc-rpm-macros @@ -54,7 +55,7 @@ This package provides the Haskell %{pkg_name} library development files. %prep %setup -q -n %{pkgver} -cabal-tweak-dep-ver base '< 4.10' '< 4.11' +cp -p %{SOURCE1} %{pkg_name}.cabal %build @@ -86,6 +87,9 @@ cabal-tweak-dep-ver base '< 4.10' '< 4.11' %changelog +* Sat Jul 28 2018 Jens Petersen - 0.12.0.1-4 +- revise .cabal + * Fri Jul 13 2018 Fedora Release Engineering - 0.12.0.1-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild diff --git a/vector-0.12.0.1.cabal b/vector-0.12.0.1.cabal new file mode 100644 index 0000000..97b308a --- /dev/null +++ b/vector-0.12.0.1.cabal @@ -0,0 +1,251 @@ +Name: vector +Version: 0.12.0.1 +x-revision: 3 +-- don't forget to update the changelog file! +License: BSD3 +License-File: LICENSE +Author: Roman Leshchinskiy +Maintainer: Haskell Libraries Team +Copyright: (c) Roman Leshchinskiy 2008-2012 +Homepage: https://github.com/haskell/vector +Bug-Reports: https://github.com/haskell/vector/issues +Category: Data, Data Structures +Synopsis: Efficient Arrays +Description: + . + An efficient implementation of Int-indexed arrays (both mutable + and immutable), with a powerful loop optimisation framework . + . + It is structured as follows: + . + ["Data.Vector"] Boxed vectors of arbitrary types. + . + ["Data.Vector.Unboxed"] Unboxed vectors with an adaptive + representation based on data type families. + . + ["Data.Vector.Storable"] Unboxed vectors of 'Storable' types. + . + ["Data.Vector.Primitive"] Unboxed vectors of primitive types as + defined by the @primitive@ package. "Data.Vector.Unboxed" is more + flexible at no performance cost. + . + ["Data.Vector.Generic"] Generic interface to the vector types. + . + There is also a (draft) tutorial on common uses of vector. + . + * + +Tested-With: + GHC == 7.4.2, + GHC == 7.6.3, + GHC == 7.8.4, + GHC == 7.10.3, + GHC == 8.0.1 + +Cabal-Version: >=1.10 +Build-Type: Simple + +Extra-Source-Files: + changelog + README.md + tests/LICENSE + tests/Setup.hs + tests/Main.hs + benchmarks/vector-benchmarks.cabal + benchmarks/LICENSE + benchmarks/Setup.hs + benchmarks/Main.hs + benchmarks/Algo/AwShCC.hs + benchmarks/Algo/HybCC.hs + benchmarks/Algo/Leaffix.hs + benchmarks/Algo/ListRank.hs + benchmarks/Algo/Quickhull.hs + benchmarks/Algo/Rootfix.hs + benchmarks/Algo/Spectral.hs + benchmarks/Algo/Tridiag.hs + benchmarks/TestData/Graph.hs + benchmarks/TestData/ParenTree.hs + benchmarks/TestData/Random.hs + changelog + internal/GenUnboxTuple.hs + internal/unbox-tuple-instances + +Flag BoundsChecks + Description: Enable bounds checking + Default: True + Manual: True + +Flag UnsafeChecks + Description: Enable bounds checking in unsafe operations at the cost of a + significant performance penalty + Default: False + Manual: True + +Flag InternalChecks + Description: Enable internal consistency checks at the cost of a + significant performance penalty + Default: False + Manual: True + +Flag Wall + Description: Enable all -Wall warnings + Default: False + Manual: True + +Library + Default-Language: Haskell2010 + Other-Extensions: + BangPatterns + CPP + DeriveDataTypeable + ExistentialQuantification + FlexibleContexts + FlexibleInstances + GADTs + KindSignatures + MagicHash + MultiParamTypeClasses + Rank2Types + ScopedTypeVariables + StandaloneDeriving + TypeFamilies + + Exposed-Modules: + Data.Vector.Internal.Check + + Data.Vector.Fusion.Util + Data.Vector.Fusion.Stream.Monadic + Data.Vector.Fusion.Bundle.Size + Data.Vector.Fusion.Bundle.Monadic + Data.Vector.Fusion.Bundle + + Data.Vector.Generic.Mutable.Base + Data.Vector.Generic.Mutable + Data.Vector.Generic.Base + Data.Vector.Generic.New + Data.Vector.Generic + + Data.Vector.Primitive.Mutable + Data.Vector.Primitive + + Data.Vector.Storable.Internal + Data.Vector.Storable.Mutable + Data.Vector.Storable + + Data.Vector.Unboxed.Base + Data.Vector.Unboxed.Mutable + Data.Vector.Unboxed + + Data.Vector.Mutable + Data.Vector + + Include-Dirs: + include, internal + + Install-Includes: + vector.h + + Build-Depends: base >= 4.5 && < 4.13 + , primitive >= 0.5.0.1 && < 0.7 + , ghc-prim >= 0.2 && < 0.6 + , deepseq >= 1.1 && < 1.5 + if !impl(ghc > 8.0) + Build-Depends: semigroups >= 0.18 && < 0.19 + + Ghc-Options: -O2 -Wall + + if !flag(Wall) + Ghc-Options: -fno-warn-orphans + + if impl(ghc >= 8.0) && impl(ghc < 8.1) + Ghc-Options: -Wno-redundant-constraints + + if flag(BoundsChecks) + cpp-options: -DVECTOR_BOUNDS_CHECKS + + if flag(UnsafeChecks) + cpp-options: -DVECTOR_UNSAFE_CHECKS + + if flag(InternalChecks) + cpp-options: -DVECTOR_INTERNAL_CHECKS + +source-repository head + type: git + location: https://github.com/haskell/vector.git + + + +test-suite vector-tests-O0 + Default-Language: Haskell2010 + type: exitcode-stdio-1.0 + Main-Is: Main.hs + + other-modules: Boilerplater + Tests.Bundle + Tests.Move + Tests.Vector + Tests.Vector.UnitTests + Utilities + + hs-source-dirs: tests + Build-Depends: base >= 4.5 && < 5, template-haskell, vector, + random, + QuickCheck >= 2.9 && < 2.10 , HUnit, test-framework, + test-framework-hunit, test-framework-quickcheck2, + transformers >= 0.2.0.0 + + default-extensions: CPP, + ScopedTypeVariables, + PatternGuards, + MultiParamTypeClasses, + FlexibleContexts, + Rank2Types, + TypeSynonymInstances, + TypeFamilies, + TemplateHaskell + + Ghc-Options: -O0 + Ghc-Options: -Wall + + if !flag(Wall) + Ghc-Options: -fno-warn-orphans -fno-warn-missing-signatures + if impl(ghc >= 8.0) && impl( ghc < 8.1) + Ghc-Options: -Wno-redundant-constraints + + +test-suite vector-tests-O2 + Default-Language: Haskell2010 + type: exitcode-stdio-1.0 + Main-Is: Main.hs + + other-modules: Boilerplater + Tests.Bundle + Tests.Move + Tests.Vector + Tests.Vector.UnitTests + Utilities + + hs-source-dirs: tests + Build-Depends: base >= 4.5 && < 5, template-haskell, vector, + random, + QuickCheck >= 2.9 && < 2.10 , HUnit, test-framework, + test-framework-hunit, test-framework-quickcheck2, + transformers >= 0.2.0.0 + + default-extensions: CPP, + ScopedTypeVariables, + PatternGuards, + MultiParamTypeClasses, + FlexibleContexts, + Rank2Types, + TypeSynonymInstances, + TypeFamilies, + TemplateHaskell + + Ghc-Options: -O2 -Wall + + if !flag(Wall) + Ghc-Options: -fno-warn-orphans -fno-warn-missing-signatures + if impl(ghc >= 8.0) && impl(ghc < 8.1) + Ghc-Options: -Wno-redundant-constraints + From de5a91c3371ce0fa37c8a23e9d192deea90eacb3 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Thu, 31 Jan 2019 22:12:07 +0000 Subject: [PATCH 52/74] - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild Signed-off-by: Fedora Release Engineering --- ghc-vector.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/ghc-vector.spec b/ghc-vector.spec index 160fa8f..07ed716 100644 --- a/ghc-vector.spec +++ b/ghc-vector.spec @@ -8,7 +8,7 @@ Name: ghc-%{pkg_name} Version: 0.12.0.1 -Release: 4%{?dist} +Release: 5%{?dist} Summary: Efficient Arrays License: BSD @@ -87,6 +87,9 @@ cp -p %{SOURCE1} %{pkg_name}.cabal %changelog +* Thu Jan 31 2019 Fedora Release Engineering - 0.12.0.1-5 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild + * Sat Jul 28 2018 Jens Petersen - 0.12.0.1-4 - revise .cabal From 8546850be873edb6ad2a5c87ceaaa20f05233a4d Mon Sep 17 00:00:00 2001 From: Jens Petersen Date: Sun, 17 Feb 2019 22:47:44 +0800 Subject: [PATCH 53/74] refresh to cabal-rpm-0.13 --- ghc-vector.spec | 21 +++++++++++++++++---- 1 file changed, 17 insertions(+), 4 deletions(-) diff --git a/ghc-vector.spec b/ghc-vector.spec index 07ed716..ee0009e 100644 --- a/ghc-vector.spec +++ b/ghc-vector.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 vector @@ -8,17 +8,19 @@ Name: ghc-%{pkg_name} Version: 0.12.0.1 -Release: 5%{?dist} +Release: 6%{?dist} Summary: Efficient Arrays 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/%{pkgver}/%{pkg_name}.cabal#/%{pkgver}.cabal +# End cabal-rpm sources +# Begin cabal-rpm deps: BuildRequires: ghc-Cabal-devel BuildRequires: ghc-rpm-macros -# Begin cabal-rpm deps: BuildRequires: ghc-deepseq-devel BuildRequires: ghc-primitive-devel %if %{with tests} @@ -54,16 +56,22 @@ This package provides the Haskell %{pkg_name} library development files. %prep +# Begin cabal-rpm setup: %setup -q -n %{pkgver} -cp -p %{SOURCE1} %{pkg_name}.cabal +cp -bp %{SOURCE1} %{pkg_name}.cabal +# 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 %check @@ -79,7 +87,9 @@ cp -p %{SOURCE1} %{pkg_name}.cabal %files -f %{name}.files +# Begin cabal-rpm files: %license LICENSE +# End cabal-rpm files %files devel -f %{name}-devel.files @@ -87,6 +97,9 @@ cp -p %{SOURCE1} %{pkg_name}.cabal %changelog +* Sun Feb 17 2019 Jens Petersen - 0.12.0.1-6 +- refresh to cabal-rpm-0.13 + * Thu Jan 31 2019 Fedora Release Engineering - 0.12.0.1-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild From 0f48a5d5a16c11653a9fc644e11736f12c2cbccd Mon Sep 17 00:00:00 2001 From: Jens Petersen Date: Thu, 21 Feb 2019 12:29:40 +0800 Subject: [PATCH 54/74] update to 0.12.0.2 --- .gitignore | 1 + ghc-vector.spec | 10 +- sources | 2 +- vector-0.12.0.1.cabal | 251 ------------------------------------------ 4 files changed, 8 insertions(+), 256 deletions(-) delete mode 100644 vector-0.12.0.1.cabal diff --git a/.gitignore b/.gitignore index ab5e220..84a9379 100644 --- a/.gitignore +++ b/.gitignore @@ -4,3 +4,4 @@ /vector-0.10.9.1.tar.gz /vector-0.11.0.0.tar.gz /vector-0.12.0.1.tar.gz +/vector-0.12.0.2.tar.gz diff --git a/ghc-vector.spec b/ghc-vector.spec index ee0009e..f2e61f9 100644 --- a/ghc-vector.spec +++ b/ghc-vector.spec @@ -7,15 +7,14 @@ %bcond_with tests Name: ghc-%{pkg_name} -Version: 0.12.0.1 -Release: 6%{?dist} +Version: 0.12.0.2 +Release: 1%{?dist} Summary: Efficient Arrays 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/%{pkgver}/%{pkg_name}.cabal#/%{pkgver}.cabal # End cabal-rpm sources # Begin cabal-rpm deps: @@ -26,6 +25,7 @@ BuildRequires: ghc-primitive-devel %if %{with tests} BuildRequires: ghc-HUnit-devel BuildRequires: ghc-QuickCheck-devel +BuildRequires: ghc-base-orphans-devel BuildRequires: ghc-random-devel BuildRequires: ghc-template-haskell-devel BuildRequires: ghc-test-framework-devel @@ -58,7 +58,6 @@ This package provides the Haskell %{pkg_name} library development files. %prep # Begin cabal-rpm setup: %setup -q -n %{pkgver} -cp -bp %{SOURCE1} %{pkg_name}.cabal # End cabal-rpm setup @@ -97,6 +96,9 @@ cp -bp %{SOURCE1} %{pkg_name}.cabal %changelog +* Thu Feb 21 2019 Jens Petersen - 0.12.0.2-1 +- update to 0.12.0.2 + * Sun Feb 17 2019 Jens Petersen - 0.12.0.1-6 - refresh to cabal-rpm-0.13 diff --git a/sources b/sources index 3eca9d2..7c3845b 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (vector-0.12.0.1.tar.gz) = 17cae6c2e36e6e73190ebce0c3f38c4b8ec01d4336d2bb9b98f85ea299cab4140d4490493f6cbd472c1b0a32809f3ce344955ab6cd7dbacdca56ffa5aec4bad4 +SHA512 (vector-0.12.0.2.tar.gz) = e4d02046e82bb14f09e27aa6c08f08594778aee855e290b9f77fb3608f1a3e3524919eb6266dba97b1c4e0766de9fee7b0eb26a015d8cdceb1dcfd9ed2e64c40 diff --git a/vector-0.12.0.1.cabal b/vector-0.12.0.1.cabal deleted file mode 100644 index 97b308a..0000000 --- a/vector-0.12.0.1.cabal +++ /dev/null @@ -1,251 +0,0 @@ -Name: vector -Version: 0.12.0.1 -x-revision: 3 --- don't forget to update the changelog file! -License: BSD3 -License-File: LICENSE -Author: Roman Leshchinskiy -Maintainer: Haskell Libraries Team -Copyright: (c) Roman Leshchinskiy 2008-2012 -Homepage: https://github.com/haskell/vector -Bug-Reports: https://github.com/haskell/vector/issues -Category: Data, Data Structures -Synopsis: Efficient Arrays -Description: - . - An efficient implementation of Int-indexed arrays (both mutable - and immutable), with a powerful loop optimisation framework . - . - It is structured as follows: - . - ["Data.Vector"] Boxed vectors of arbitrary types. - . - ["Data.Vector.Unboxed"] Unboxed vectors with an adaptive - representation based on data type families. - . - ["Data.Vector.Storable"] Unboxed vectors of 'Storable' types. - . - ["Data.Vector.Primitive"] Unboxed vectors of primitive types as - defined by the @primitive@ package. "Data.Vector.Unboxed" is more - flexible at no performance cost. - . - ["Data.Vector.Generic"] Generic interface to the vector types. - . - There is also a (draft) tutorial on common uses of vector. - . - * - -Tested-With: - GHC == 7.4.2, - GHC == 7.6.3, - GHC == 7.8.4, - GHC == 7.10.3, - GHC == 8.0.1 - -Cabal-Version: >=1.10 -Build-Type: Simple - -Extra-Source-Files: - changelog - README.md - tests/LICENSE - tests/Setup.hs - tests/Main.hs - benchmarks/vector-benchmarks.cabal - benchmarks/LICENSE - benchmarks/Setup.hs - benchmarks/Main.hs - benchmarks/Algo/AwShCC.hs - benchmarks/Algo/HybCC.hs - benchmarks/Algo/Leaffix.hs - benchmarks/Algo/ListRank.hs - benchmarks/Algo/Quickhull.hs - benchmarks/Algo/Rootfix.hs - benchmarks/Algo/Spectral.hs - benchmarks/Algo/Tridiag.hs - benchmarks/TestData/Graph.hs - benchmarks/TestData/ParenTree.hs - benchmarks/TestData/Random.hs - changelog - internal/GenUnboxTuple.hs - internal/unbox-tuple-instances - -Flag BoundsChecks - Description: Enable bounds checking - Default: True - Manual: True - -Flag UnsafeChecks - Description: Enable bounds checking in unsafe operations at the cost of a - significant performance penalty - Default: False - Manual: True - -Flag InternalChecks - Description: Enable internal consistency checks at the cost of a - significant performance penalty - Default: False - Manual: True - -Flag Wall - Description: Enable all -Wall warnings - Default: False - Manual: True - -Library - Default-Language: Haskell2010 - Other-Extensions: - BangPatterns - CPP - DeriveDataTypeable - ExistentialQuantification - FlexibleContexts - FlexibleInstances - GADTs - KindSignatures - MagicHash - MultiParamTypeClasses - Rank2Types - ScopedTypeVariables - StandaloneDeriving - TypeFamilies - - Exposed-Modules: - Data.Vector.Internal.Check - - Data.Vector.Fusion.Util - Data.Vector.Fusion.Stream.Monadic - Data.Vector.Fusion.Bundle.Size - Data.Vector.Fusion.Bundle.Monadic - Data.Vector.Fusion.Bundle - - Data.Vector.Generic.Mutable.Base - Data.Vector.Generic.Mutable - Data.Vector.Generic.Base - Data.Vector.Generic.New - Data.Vector.Generic - - Data.Vector.Primitive.Mutable - Data.Vector.Primitive - - Data.Vector.Storable.Internal - Data.Vector.Storable.Mutable - Data.Vector.Storable - - Data.Vector.Unboxed.Base - Data.Vector.Unboxed.Mutable - Data.Vector.Unboxed - - Data.Vector.Mutable - Data.Vector - - Include-Dirs: - include, internal - - Install-Includes: - vector.h - - Build-Depends: base >= 4.5 && < 4.13 - , primitive >= 0.5.0.1 && < 0.7 - , ghc-prim >= 0.2 && < 0.6 - , deepseq >= 1.1 && < 1.5 - if !impl(ghc > 8.0) - Build-Depends: semigroups >= 0.18 && < 0.19 - - Ghc-Options: -O2 -Wall - - if !flag(Wall) - Ghc-Options: -fno-warn-orphans - - if impl(ghc >= 8.0) && impl(ghc < 8.1) - Ghc-Options: -Wno-redundant-constraints - - if flag(BoundsChecks) - cpp-options: -DVECTOR_BOUNDS_CHECKS - - if flag(UnsafeChecks) - cpp-options: -DVECTOR_UNSAFE_CHECKS - - if flag(InternalChecks) - cpp-options: -DVECTOR_INTERNAL_CHECKS - -source-repository head - type: git - location: https://github.com/haskell/vector.git - - - -test-suite vector-tests-O0 - Default-Language: Haskell2010 - type: exitcode-stdio-1.0 - Main-Is: Main.hs - - other-modules: Boilerplater - Tests.Bundle - Tests.Move - Tests.Vector - Tests.Vector.UnitTests - Utilities - - hs-source-dirs: tests - Build-Depends: base >= 4.5 && < 5, template-haskell, vector, - random, - QuickCheck >= 2.9 && < 2.10 , HUnit, test-framework, - test-framework-hunit, test-framework-quickcheck2, - transformers >= 0.2.0.0 - - default-extensions: CPP, - ScopedTypeVariables, - PatternGuards, - MultiParamTypeClasses, - FlexibleContexts, - Rank2Types, - TypeSynonymInstances, - TypeFamilies, - TemplateHaskell - - Ghc-Options: -O0 - Ghc-Options: -Wall - - if !flag(Wall) - Ghc-Options: -fno-warn-orphans -fno-warn-missing-signatures - if impl(ghc >= 8.0) && impl( ghc < 8.1) - Ghc-Options: -Wno-redundant-constraints - - -test-suite vector-tests-O2 - Default-Language: Haskell2010 - type: exitcode-stdio-1.0 - Main-Is: Main.hs - - other-modules: Boilerplater - Tests.Bundle - Tests.Move - Tests.Vector - Tests.Vector.UnitTests - Utilities - - hs-source-dirs: tests - Build-Depends: base >= 4.5 && < 5, template-haskell, vector, - random, - QuickCheck >= 2.9 && < 2.10 , HUnit, test-framework, - test-framework-hunit, test-framework-quickcheck2, - transformers >= 0.2.0.0 - - default-extensions: CPP, - ScopedTypeVariables, - PatternGuards, - MultiParamTypeClasses, - FlexibleContexts, - Rank2Types, - TypeSynonymInstances, - TypeFamilies, - TemplateHaskell - - Ghc-Options: -O2 -Wall - - if !flag(Wall) - Ghc-Options: -fno-warn-orphans -fno-warn-missing-signatures - if impl(ghc >= 8.0) && impl(ghc < 8.1) - Ghc-Options: -Wno-redundant-constraints - From 5cc2366dc0903f66e65fa578e643be186fb44ef1 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Thu, 25 Jul 2019 03:11:38 +0000 Subject: [PATCH 55/74] - Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild Signed-off-by: Fedora Release Engineering --- ghc-vector.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/ghc-vector.spec b/ghc-vector.spec index f2e61f9..01bcde9 100644 --- a/ghc-vector.spec +++ b/ghc-vector.spec @@ -8,7 +8,7 @@ Name: ghc-%{pkg_name} Version: 0.12.0.2 -Release: 1%{?dist} +Release: 2%{?dist} Summary: Efficient Arrays License: BSD @@ -96,6 +96,9 @@ This package provides the Haskell %{pkg_name} library development files. %changelog +* Thu Jul 25 2019 Fedora Release Engineering - 0.12.0.2-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild + * Thu Feb 21 2019 Jens Petersen - 0.12.0.2-1 - update to 0.12.0.2 From 057da051569abc5fd6636c3ca010596f3bc51742 Mon Sep 17 00:00:00 2001 From: Jens Petersen Date: Thu, 25 Jul 2019 04:26:46 +0000 Subject: [PATCH 56/74] refresh to cabal-rpm-1.0.0: lib doc/prof subpkgs and bin static BRs --- ghc-vector.spec | 48 ++++++++++++++++++++++++++++++++++++------------ 1 file changed, 36 insertions(+), 12 deletions(-) diff --git a/ghc-vector.spec b/ghc-vector.spec index 01bcde9..1ce6eba 100644 --- a/ghc-vector.spec +++ b/ghc-vector.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 vector @@ -19,6 +19,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-deepseq-devel BuildRequires: ghc-primitive-devel @@ -43,11 +49,8 @@ and immutable), with a powerful loop optimisation framework. %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} @@ -55,6 +58,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} @@ -77,14 +99,6 @@ This package provides the Haskell %{pkg_name} library development files. %cabal_test -%post devel -%ghc_pkg_recache - - -%postun devel -%ghc_pkg_recache - - %files -f %{name}.files # Begin cabal-rpm files: %license LICENSE @@ -95,6 +109,16 @@ This package provides the Haskell %{pkg_name} library development files. %doc README.md changelog +%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 - 0.12.0.2-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild From a368f2cafe22d8068a1971532d35f5fb8a6fe99b Mon Sep 17 00:00:00 2001 From: Jens Petersen Date: Thu, 25 Jul 2019 16:56:36 +0000 Subject: [PATCH 57/74] update to 0.12.0.3 --- .gitignore | 1 + ghc-vector.spec | 9 +- sources | 2 +- vector-0.12.0.3.cabal | 252 ++++++++++++++++++++++++++++++++++++++++++ 4 files changed, 261 insertions(+), 3 deletions(-) create mode 100644 vector-0.12.0.3.cabal diff --git a/.gitignore b/.gitignore index 84a9379..b900d8d 100644 --- a/.gitignore +++ b/.gitignore @@ -5,3 +5,4 @@ /vector-0.11.0.0.tar.gz /vector-0.12.0.1.tar.gz /vector-0.12.0.2.tar.gz +/vector-0.12.0.3.tar.gz diff --git a/ghc-vector.spec b/ghc-vector.spec index 1ce6eba..2b9132c 100644 --- a/ghc-vector.spec +++ b/ghc-vector.spec @@ -7,14 +7,15 @@ %bcond_with tests Name: ghc-%{pkg_name} -Version: 0.12.0.2 -Release: 2%{?dist} +Version: 0.12.0.3 +Release: 1%{?dist} Summary: Efficient Arrays 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/%{pkgver}/%{pkg_name}.cabal#/%{pkgver}.cabal # End cabal-rpm sources # Begin cabal-rpm deps: @@ -80,6 +81,7 @@ This package provides the Haskell %{pkg_name} profiling library. %prep # Begin cabal-rpm setup: %setup -q -n %{pkgver} +cp -bp %{SOURCE1} %{pkg_name}.cabal # End cabal-rpm setup @@ -120,6 +122,9 @@ This package provides the Haskell %{pkg_name} profiling library. %changelog +* Thu Jul 25 2019 Jens Petersen - 0.12.0.3-1 +- update to 0.12.0.3 + * Thu Jul 25 2019 Fedora Release Engineering - 0.12.0.2-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild diff --git a/sources b/sources index 7c3845b..f5f3ba4 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (vector-0.12.0.2.tar.gz) = e4d02046e82bb14f09e27aa6c08f08594778aee855e290b9f77fb3608f1a3e3524919eb6266dba97b1c4e0766de9fee7b0eb26a015d8cdceb1dcfd9ed2e64c40 +SHA512 (vector-0.12.0.3.tar.gz) = 176646ae612866064303cd200e9d940fec1645bb88176a89adb00df3b9a6df96200e3c9cf85a57af3a1481d6633b353da8e03d7a6c467c40e926275fe8d36853 diff --git a/vector-0.12.0.3.cabal b/vector-0.12.0.3.cabal new file mode 100644 index 0000000..630572f --- /dev/null +++ b/vector-0.12.0.3.cabal @@ -0,0 +1,252 @@ +Name: vector +Version: 0.12.0.3 +x-revision: 2 +-- don't forget to update the changelog file! +License: BSD3 +License-File: LICENSE +Author: Roman Leshchinskiy +Maintainer: Haskell Libraries Team +Copyright: (c) Roman Leshchinskiy 2008-2012 +Homepage: https://github.com/haskell/vector +Bug-Reports: https://github.com/haskell/vector/issues +Category: Data, Data Structures +Synopsis: Efficient Arrays +Description: + . + An efficient implementation of Int-indexed arrays (both mutable + and immutable), with a powerful loop optimisation framework . + . + It is structured as follows: + . + ["Data.Vector"] Boxed vectors of arbitrary types. + . + ["Data.Vector.Unboxed"] Unboxed vectors with an adaptive + representation based on data type families. + . + ["Data.Vector.Storable"] Unboxed vectors of 'Storable' types. + . + ["Data.Vector.Primitive"] Unboxed vectors of primitive types as + defined by the @primitive@ package. "Data.Vector.Unboxed" is more + flexible at no performance cost. + . + ["Data.Vector.Generic"] Generic interface to the vector types. + . + There is also a (draft) tutorial on common uses of vector. + . + * + +Tested-With: + GHC == 7.4.2, + GHC == 7.6.3, + GHC == 7.8.4, + GHC == 7.10.3, + GHC == 8.0.1 + +Cabal-Version: >=1.10 +Build-Type: Simple + +Extra-Source-Files: + changelog + README.md + tests/LICENSE + tests/Setup.hs + tests/Main.hs + benchmarks/vector-benchmarks.cabal + benchmarks/LICENSE + benchmarks/Setup.hs + benchmarks/Main.hs + benchmarks/Algo/AwShCC.hs + benchmarks/Algo/HybCC.hs + benchmarks/Algo/Leaffix.hs + benchmarks/Algo/ListRank.hs + benchmarks/Algo/Quickhull.hs + benchmarks/Algo/Rootfix.hs + benchmarks/Algo/Spectral.hs + benchmarks/Algo/Tridiag.hs + benchmarks/TestData/Graph.hs + benchmarks/TestData/ParenTree.hs + benchmarks/TestData/Random.hs + changelog + internal/GenUnboxTuple.hs + internal/unbox-tuple-instances + +Flag BoundsChecks + Description: Enable bounds checking + Default: True + Manual: True + +Flag UnsafeChecks + Description: Enable bounds checking in unsafe operations at the cost of a + significant performance penalty + Default: False + Manual: True + +Flag InternalChecks + Description: Enable internal consistency checks at the cost of a + significant performance penalty + Default: False + Manual: True + +Flag Wall + Description: Enable all -Wall warnings + Default: False + Manual: True + +Library + Default-Language: Haskell2010 + Other-Extensions: + BangPatterns + CPP + DeriveDataTypeable + ExistentialQuantification + FlexibleContexts + FlexibleInstances + GADTs + KindSignatures + MagicHash + MultiParamTypeClasses + Rank2Types + ScopedTypeVariables + StandaloneDeriving + TypeFamilies + + Exposed-Modules: + Data.Vector.Internal.Check + + Data.Vector.Fusion.Util + Data.Vector.Fusion.Stream.Monadic + Data.Vector.Fusion.Bundle.Size + Data.Vector.Fusion.Bundle.Monadic + Data.Vector.Fusion.Bundle + + Data.Vector.Generic.Mutable.Base + Data.Vector.Generic.Mutable + Data.Vector.Generic.Base + Data.Vector.Generic.New + Data.Vector.Generic + + Data.Vector.Primitive.Mutable + Data.Vector.Primitive + + Data.Vector.Storable.Internal + Data.Vector.Storable.Mutable + Data.Vector.Storable + + Data.Vector.Unboxed.Base + Data.Vector.Unboxed.Mutable + Data.Vector.Unboxed + + Data.Vector.Mutable + Data.Vector + + Include-Dirs: + include, internal + + Install-Includes: + vector.h + + Build-Depends: base >= 4.5 && < 4.14 + , primitive >= 0.5.0.1 && < 0.8 + , ghc-prim >= 0.2 && < 0.6 + , deepseq >= 1.1 && < 1.5 + if !impl(ghc > 8.0) + Build-Depends: fail == 4.9.* + , semigroups >= 0.18 && < 0.20 + + Ghc-Options: -O2 -Wall + + if !flag(Wall) + Ghc-Options: -fno-warn-orphans + + if impl(ghc >= 8.0) && impl(ghc < 8.1) + Ghc-Options: -Wno-redundant-constraints + + if flag(BoundsChecks) + cpp-options: -DVECTOR_BOUNDS_CHECKS + + if flag(UnsafeChecks) + cpp-options: -DVECTOR_UNSAFE_CHECKS + + if flag(InternalChecks) + cpp-options: -DVECTOR_INTERNAL_CHECKS + +source-repository head + type: git + location: https://github.com/haskell/vector.git + + + +test-suite vector-tests-O0 + Default-Language: Haskell2010 + type: exitcode-stdio-1.0 + Main-Is: Main.hs + + other-modules: Boilerplater + Tests.Bundle + Tests.Move + Tests.Vector + Tests.Vector.UnitTests + Utilities + + hs-source-dirs: tests + Build-Depends: base >= 4.5 && < 5, template-haskell, base-orphans >= 0.6, vector, + random, primitive, + QuickCheck >= 2.9 && < 2.10 , HUnit, test-framework, + test-framework-hunit, test-framework-quickcheck2, + transformers >= 0.2.0.0 + + default-extensions: CPP, + ScopedTypeVariables, + PatternGuards, + MultiParamTypeClasses, + FlexibleContexts, + Rank2Types, + TypeSynonymInstances, + TypeFamilies, + TemplateHaskell + + Ghc-Options: -O0 + Ghc-Options: -Wall + + if !flag(Wall) + Ghc-Options: -fno-warn-orphans -fno-warn-missing-signatures + if impl(ghc >= 8.0) && impl( ghc < 8.1) + Ghc-Options: -Wno-redundant-constraints + + +test-suite vector-tests-O2 + Default-Language: Haskell2010 + type: exitcode-stdio-1.0 + Main-Is: Main.hs + + other-modules: Boilerplater + Tests.Bundle + Tests.Move + Tests.Vector + Tests.Vector.UnitTests + Utilities + + hs-source-dirs: tests + Build-Depends: base >= 4.5 && < 5, template-haskell, base-orphans >= 0.6, vector, + random, primitive, + QuickCheck >= 2.9 && < 2.10 , HUnit, test-framework, + test-framework-hunit, test-framework-quickcheck2, + transformers >= 0.2.0.0 + + default-extensions: CPP, + ScopedTypeVariables, + PatternGuards, + MultiParamTypeClasses, + FlexibleContexts, + Rank2Types, + TypeSynonymInstances, + TypeFamilies, + TemplateHaskell + + Ghc-Options: -O2 -Wall + + if !flag(Wall) + Ghc-Options: -fno-warn-orphans -fno-warn-missing-signatures + if impl(ghc >= 8.0) && impl(ghc < 8.1) + Ghc-Options: -Wno-redundant-constraints + From e742a6f037dbff0f7a10bf532ee511d7ffd7399f Mon Sep 17 00:00:00 2001 From: Jens Petersen Date: Mon, 5 Aug 2019 18:32:45 +0800 Subject: [PATCH 58/74] BR prof for lib and static for executable --- ghc-vector.spec | 14 +++++--------- 1 file changed, 5 insertions(+), 9 deletions(-) diff --git a/ghc-vector.spec b/ghc-vector.spec index 2b9132c..266a1a7 100644 --- a/ghc-vector.spec +++ b/ghc-vector.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 vector @@ -20,15 +20,10 @@ Source1: https://hackage.haskell.org/package/%{pkgver}/%{pkg_name}.cabal# # 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-deepseq-devel -BuildRequires: ghc-primitive-devel +BuildRequires: ghc-base-prof +BuildRequires: ghc-deepseq-prof +BuildRequires: ghc-primitive-prof %if %{with tests} BuildRequires: ghc-HUnit-devel BuildRequires: ghc-QuickCheck-devel @@ -50,6 +45,7 @@ and immutable), with a powerful loop optimisation framework. %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 bbaccc4bc642052600bbbd500d87a08413c47ee6 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Tue, 28 Jan 2020 21:38:41 +0000 Subject: [PATCH 59/74] - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild Signed-off-by: Fedora Release Engineering --- ghc-vector.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/ghc-vector.spec b/ghc-vector.spec index 266a1a7..d2884c5 100644 --- a/ghc-vector.spec +++ b/ghc-vector.spec @@ -8,7 +8,7 @@ Name: ghc-%{pkg_name} Version: 0.12.0.3 -Release: 1%{?dist} +Release: 2%{?dist} Summary: Efficient Arrays License: BSD @@ -118,6 +118,9 @@ cp -bp %{SOURCE1} %{pkg_name}.cabal %changelog +* Tue Jan 28 2020 Fedora Release Engineering - 0.12.0.3-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild + * Thu Jul 25 2019 Jens Petersen - 0.12.0.3-1 - update to 0.12.0.3 From fec073d78c8cc65c3695f92a62dbc15884db37d5 Mon Sep 17 00:00:00 2001 From: Jens Petersen Date: Sat, 8 Feb 2020 22:52:42 +0800 Subject: [PATCH 60/74] refresh to cabal-rpm-2.0.2 --- ghc-vector.spec | 28 ++++++++++++---------------- 1 file changed, 12 insertions(+), 16 deletions(-) diff --git a/ghc-vector.spec b/ghc-vector.spec index d2884c5..73f900f 100644 --- a/ghc-vector.spec +++ b/ghc-vector.spec @@ -1,11 +1,9 @@ -# generated by cabal-rpm-1.0.1 +# generated by cabal-rpm-2.0.2 # https://fedoraproject.org/wiki/Packaging:Haskell %global pkg_name vector %global pkgver %{pkg_name}-%{version} -%bcond_with tests - Name: ghc-%{pkg_name} Version: 0.12.0.3 Release: 2%{?dist} @@ -24,17 +22,6 @@ BuildRequires: ghc-rpm-macros BuildRequires: ghc-base-prof BuildRequires: ghc-deepseq-prof BuildRequires: ghc-primitive-prof -%if %{with tests} -BuildRequires: ghc-HUnit-devel -BuildRequires: ghc-QuickCheck-devel -BuildRequires: ghc-base-orphans-devel -BuildRequires: ghc-random-devel -BuildRequires: ghc-template-haskell-devel -BuildRequires: ghc-test-framework-devel -BuildRequires: ghc-test-framework-hunit-devel -BuildRequires: ghc-test-framework-quickcheck2-devel -BuildRequires: ghc-transformers-devel -%endif # End cabal-rpm deps %description @@ -58,6 +45,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. @@ -68,6 +56,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. @@ -93,8 +82,14 @@ cp -bp %{SOURCE1} %{pkg_name}.cabal # End cabal-rpm install -%check -%cabal_test +%if 0%{?fedora} < 31 || 0%{?rhel} < 8 +%post devel +%ghc_pkg_recache + + +%postun devel +%ghc_pkg_recache +%endif %files -f %{name}.files @@ -109,6 +104,7 @@ cp -bp %{SOURCE1} %{pkg_name}.cabal %if %{with haddock} %files doc -f %{name}-doc.files +%license LICENSE %endif From 7f972625075aed32418dfb33b9d68a4e9cf42c01 Mon Sep 17 00:00:00 2001 From: Jens Petersen Date: Fri, 14 Feb 2020 12:32:25 +0800 Subject: [PATCH 61/74] update to 0.12.1.2 --- .gitignore | 1 + ghc-vector.spec | 29 ++++- sources | 2 +- vector-0.12.0.3.cabal | 252 ------------------------------------------ 4 files changed, 26 insertions(+), 258 deletions(-) delete mode 100644 vector-0.12.0.3.cabal diff --git a/.gitignore b/.gitignore index b900d8d..9babc35 100644 --- a/.gitignore +++ b/.gitignore @@ -6,3 +6,4 @@ /vector-0.12.0.1.tar.gz /vector-0.12.0.2.tar.gz /vector-0.12.0.3.tar.gz +/vector-0.12.1.2.tar.gz diff --git a/ghc-vector.spec b/ghc-vector.spec index 73f900f..2d05f57 100644 --- a/ghc-vector.spec +++ b/ghc-vector.spec @@ -4,16 +4,17 @@ %global pkg_name vector %global pkgver %{pkg_name}-%{version} +%bcond_without tests + Name: ghc-%{pkg_name} -Version: 0.12.0.3 -Release: 2%{?dist} +Version: 0.12.1.2 +Release: 1%{?dist} Summary: Efficient Arrays 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/%{pkgver}/%{pkg_name}.cabal#/%{pkgver}.cabal # End cabal-rpm sources # Begin cabal-rpm deps: @@ -22,6 +23,18 @@ BuildRequires: ghc-rpm-macros BuildRequires: ghc-base-prof BuildRequires: ghc-deepseq-prof BuildRequires: ghc-primitive-prof +%if %{with tests} +BuildRequires: ghc-HUnit-devel +BuildRequires: ghc-QuickCheck-devel +BuildRequires: ghc-base-orphans-devel +BuildRequires: ghc-random-devel +BuildRequires: ghc-semigroups-devel +BuildRequires: ghc-tasty-devel +BuildRequires: ghc-tasty-hunit-devel +BuildRequires: ghc-tasty-quickcheck-devel +BuildRequires: ghc-template-haskell-devel +BuildRequires: ghc-transformers-devel +%endif # End cabal-rpm deps %description @@ -66,7 +79,6 @@ This package provides the Haskell %{pkg_name} profiling library. %prep # Begin cabal-rpm setup: %setup -q -n %{pkgver} -cp -bp %{SOURCE1} %{pkg_name}.cabal # End cabal-rpm setup @@ -82,6 +94,10 @@ cp -bp %{SOURCE1} %{pkg_name}.cabal # End cabal-rpm install +%check +%cabal_test + + %if 0%{?fedora} < 31 || 0%{?rhel} < 8 %post devel %ghc_pkg_recache @@ -99,7 +115,7 @@ cp -bp %{SOURCE1} %{pkg_name}.cabal %files devel -f %{name}-devel.files -%doc README.md changelog +%doc README.md changelog.md %if %{with haddock} @@ -114,6 +130,9 @@ cp -bp %{SOURCE1} %{pkg_name}.cabal %changelog +* Fri Feb 14 2020 Jens Petersen - 0.12.1.2-1 +- update to 0.12.1.2 + * Tue Jan 28 2020 Fedora Release Engineering - 0.12.0.3-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild diff --git a/sources b/sources index f5f3ba4..ba98078 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (vector-0.12.0.3.tar.gz) = 176646ae612866064303cd200e9d940fec1645bb88176a89adb00df3b9a6df96200e3c9cf85a57af3a1481d6633b353da8e03d7a6c467c40e926275fe8d36853 +SHA512 (vector-0.12.1.2.tar.gz) = 36d0237cf7c5a6b78f88b33ff09ea8b19baeaf85609efdeba9ab802ca588956457d4607304b73e8d58e9e802a9101c23da62caee71508f069047a6d531e50170 diff --git a/vector-0.12.0.3.cabal b/vector-0.12.0.3.cabal deleted file mode 100644 index 630572f..0000000 --- a/vector-0.12.0.3.cabal +++ /dev/null @@ -1,252 +0,0 @@ -Name: vector -Version: 0.12.0.3 -x-revision: 2 --- don't forget to update the changelog file! -License: BSD3 -License-File: LICENSE -Author: Roman Leshchinskiy -Maintainer: Haskell Libraries Team -Copyright: (c) Roman Leshchinskiy 2008-2012 -Homepage: https://github.com/haskell/vector -Bug-Reports: https://github.com/haskell/vector/issues -Category: Data, Data Structures -Synopsis: Efficient Arrays -Description: - . - An efficient implementation of Int-indexed arrays (both mutable - and immutable), with a powerful loop optimisation framework . - . - It is structured as follows: - . - ["Data.Vector"] Boxed vectors of arbitrary types. - . - ["Data.Vector.Unboxed"] Unboxed vectors with an adaptive - representation based on data type families. - . - ["Data.Vector.Storable"] Unboxed vectors of 'Storable' types. - . - ["Data.Vector.Primitive"] Unboxed vectors of primitive types as - defined by the @primitive@ package. "Data.Vector.Unboxed" is more - flexible at no performance cost. - . - ["Data.Vector.Generic"] Generic interface to the vector types. - . - There is also a (draft) tutorial on common uses of vector. - . - * - -Tested-With: - GHC == 7.4.2, - GHC == 7.6.3, - GHC == 7.8.4, - GHC == 7.10.3, - GHC == 8.0.1 - -Cabal-Version: >=1.10 -Build-Type: Simple - -Extra-Source-Files: - changelog - README.md - tests/LICENSE - tests/Setup.hs - tests/Main.hs - benchmarks/vector-benchmarks.cabal - benchmarks/LICENSE - benchmarks/Setup.hs - benchmarks/Main.hs - benchmarks/Algo/AwShCC.hs - benchmarks/Algo/HybCC.hs - benchmarks/Algo/Leaffix.hs - benchmarks/Algo/ListRank.hs - benchmarks/Algo/Quickhull.hs - benchmarks/Algo/Rootfix.hs - benchmarks/Algo/Spectral.hs - benchmarks/Algo/Tridiag.hs - benchmarks/TestData/Graph.hs - benchmarks/TestData/ParenTree.hs - benchmarks/TestData/Random.hs - changelog - internal/GenUnboxTuple.hs - internal/unbox-tuple-instances - -Flag BoundsChecks - Description: Enable bounds checking - Default: True - Manual: True - -Flag UnsafeChecks - Description: Enable bounds checking in unsafe operations at the cost of a - significant performance penalty - Default: False - Manual: True - -Flag InternalChecks - Description: Enable internal consistency checks at the cost of a - significant performance penalty - Default: False - Manual: True - -Flag Wall - Description: Enable all -Wall warnings - Default: False - Manual: True - -Library - Default-Language: Haskell2010 - Other-Extensions: - BangPatterns - CPP - DeriveDataTypeable - ExistentialQuantification - FlexibleContexts - FlexibleInstances - GADTs - KindSignatures - MagicHash - MultiParamTypeClasses - Rank2Types - ScopedTypeVariables - StandaloneDeriving - TypeFamilies - - Exposed-Modules: - Data.Vector.Internal.Check - - Data.Vector.Fusion.Util - Data.Vector.Fusion.Stream.Monadic - Data.Vector.Fusion.Bundle.Size - Data.Vector.Fusion.Bundle.Monadic - Data.Vector.Fusion.Bundle - - Data.Vector.Generic.Mutable.Base - Data.Vector.Generic.Mutable - Data.Vector.Generic.Base - Data.Vector.Generic.New - Data.Vector.Generic - - Data.Vector.Primitive.Mutable - Data.Vector.Primitive - - Data.Vector.Storable.Internal - Data.Vector.Storable.Mutable - Data.Vector.Storable - - Data.Vector.Unboxed.Base - Data.Vector.Unboxed.Mutable - Data.Vector.Unboxed - - Data.Vector.Mutable - Data.Vector - - Include-Dirs: - include, internal - - Install-Includes: - vector.h - - Build-Depends: base >= 4.5 && < 4.14 - , primitive >= 0.5.0.1 && < 0.8 - , ghc-prim >= 0.2 && < 0.6 - , deepseq >= 1.1 && < 1.5 - if !impl(ghc > 8.0) - Build-Depends: fail == 4.9.* - , semigroups >= 0.18 && < 0.20 - - Ghc-Options: -O2 -Wall - - if !flag(Wall) - Ghc-Options: -fno-warn-orphans - - if impl(ghc >= 8.0) && impl(ghc < 8.1) - Ghc-Options: -Wno-redundant-constraints - - if flag(BoundsChecks) - cpp-options: -DVECTOR_BOUNDS_CHECKS - - if flag(UnsafeChecks) - cpp-options: -DVECTOR_UNSAFE_CHECKS - - if flag(InternalChecks) - cpp-options: -DVECTOR_INTERNAL_CHECKS - -source-repository head - type: git - location: https://github.com/haskell/vector.git - - - -test-suite vector-tests-O0 - Default-Language: Haskell2010 - type: exitcode-stdio-1.0 - Main-Is: Main.hs - - other-modules: Boilerplater - Tests.Bundle - Tests.Move - Tests.Vector - Tests.Vector.UnitTests - Utilities - - hs-source-dirs: tests - Build-Depends: base >= 4.5 && < 5, template-haskell, base-orphans >= 0.6, vector, - random, primitive, - QuickCheck >= 2.9 && < 2.10 , HUnit, test-framework, - test-framework-hunit, test-framework-quickcheck2, - transformers >= 0.2.0.0 - - default-extensions: CPP, - ScopedTypeVariables, - PatternGuards, - MultiParamTypeClasses, - FlexibleContexts, - Rank2Types, - TypeSynonymInstances, - TypeFamilies, - TemplateHaskell - - Ghc-Options: -O0 - Ghc-Options: -Wall - - if !flag(Wall) - Ghc-Options: -fno-warn-orphans -fno-warn-missing-signatures - if impl(ghc >= 8.0) && impl( ghc < 8.1) - Ghc-Options: -Wno-redundant-constraints - - -test-suite vector-tests-O2 - Default-Language: Haskell2010 - type: exitcode-stdio-1.0 - Main-Is: Main.hs - - other-modules: Boilerplater - Tests.Bundle - Tests.Move - Tests.Vector - Tests.Vector.UnitTests - Utilities - - hs-source-dirs: tests - Build-Depends: base >= 4.5 && < 5, template-haskell, base-orphans >= 0.6, vector, - random, primitive, - QuickCheck >= 2.9 && < 2.10 , HUnit, test-framework, - test-framework-hunit, test-framework-quickcheck2, - transformers >= 0.2.0.0 - - default-extensions: CPP, - ScopedTypeVariables, - PatternGuards, - MultiParamTypeClasses, - FlexibleContexts, - Rank2Types, - TypeSynonymInstances, - TypeFamilies, - TemplateHaskell - - Ghc-Options: -O2 -Wall - - if !flag(Wall) - Ghc-Options: -fno-warn-orphans -fno-warn-missing-signatures - if impl(ghc >= 8.0) && impl(ghc < 8.1) - Ghc-Options: -Wno-redundant-constraints - From 8d3e118e2de3696e72803917881dc791155745dc Mon Sep 17 00:00:00 2001 From: Jens Petersen Date: Fri, 21 Feb 2020 18:07:51 +0800 Subject: [PATCH 62/74] disable tests since they hang --- ghc-vector.spec | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/ghc-vector.spec b/ghc-vector.spec index 2d05f57..bfebd9a 100644 --- a/ghc-vector.spec +++ b/ghc-vector.spec @@ -4,7 +4,8 @@ %global pkg_name vector %global pkgver %{pkg_name}-%{version} -%bcond_without tests +# testsuite seems to hang +%bcond_with tests Name: ghc-%{pkg_name} Version: 0.12.1.2 From a2b0f0bd895b89d0d8b1b81e3127f006c3fe32c0 Mon Sep 17 00:00:00 2001 From: Jens Petersen Date: Thu, 4 Jun 2020 19:28:55 +0800 Subject: [PATCH 63/74] refresh to cabal-rpm-2.0.5 --- ghc-vector.spec | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/ghc-vector.spec b/ghc-vector.spec index bfebd9a..892645d 100644 --- a/ghc-vector.spec +++ b/ghc-vector.spec @@ -1,5 +1,5 @@ -# generated by cabal-rpm-2.0.2 -# https://fedoraproject.org/wiki/Packaging:Haskell +# generated by cabal-rpm-2.0.5 +# https://docs.fedoraproject.org/en-US/packaging-guidelines/Haskell/ %global pkg_name vector %global pkgver %{pkg_name}-%{version} @@ -92,6 +92,7 @@ This package provides the Haskell %{pkg_name} profiling library. %install # Begin cabal-rpm install %ghc_lib_install +chmod a-x README.md changelog.md # End cabal-rpm install From 5d7c1b3f9654ba79d95c7cca0e26700c950dd174 Mon Sep 17 00:00:00 2001 From: Jens Petersen Date: Fri, 19 Jun 2020 16:57:33 +0800 Subject: [PATCH 64/74] refresh to cabal-rpm-2.0.6 --- ghc-vector.spec | 14 ++------------ 1 file changed, 2 insertions(+), 12 deletions(-) diff --git a/ghc-vector.spec b/ghc-vector.spec index 892645d..dcb814d 100644 --- a/ghc-vector.spec +++ b/ghc-vector.spec @@ -1,4 +1,4 @@ -# generated by cabal-rpm-2.0.5 +# generated by cabal-rpm-2.0.6 # https://docs.fedoraproject.org/en-US/packaging-guidelines/Haskell/ %global pkg_name vector @@ -80,6 +80,7 @@ This package provides the Haskell %{pkg_name} profiling library. %prep # Begin cabal-rpm setup: %setup -q -n %{pkgver} +chmod a-x README.md changelog.md # End cabal-rpm setup @@ -92,7 +93,6 @@ This package provides the Haskell %{pkg_name} profiling library. %install # Begin cabal-rpm install %ghc_lib_install -chmod a-x README.md changelog.md # End cabal-rpm install @@ -100,16 +100,6 @@ chmod a-x README.md changelog.md %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 2ea8480155dad54cab921f0f2f4f9b155022cad1 Mon Sep 17 00:00:00 2001 From: Jens Petersen Date: Fri, 17 Jul 2020 18:47:07 +0800 Subject: [PATCH 65/74] bump release --- ghc-vector.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/ghc-vector.spec b/ghc-vector.spec index dcb814d..e6f7f8b 100644 --- a/ghc-vector.spec +++ b/ghc-vector.spec @@ -9,7 +9,7 @@ Name: ghc-%{pkg_name} Version: 0.12.1.2 -Release: 1%{?dist} +Release: 2%{?dist} Summary: Efficient Arrays License: BSD @@ -122,6 +122,9 @@ chmod a-x README.md changelog.md %changelog +* Fri Jul 17 2020 Jens Petersen - 0.12.1.2-2 +- refresh to cabal-rpm-2.0.6 + * Fri Feb 14 2020 Jens Petersen - 0.12.1.2-1 - update to 0.12.1.2 From 2b07b8f3ffd97ac8f3015c2e1d2b042218778eb6 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Mon, 27 Jul 2020 19:50:27 +0000 Subject: [PATCH 66/74] - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild Signed-off-by: Fedora Release Engineering --- ghc-vector.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/ghc-vector.spec b/ghc-vector.spec index e6f7f8b..d71a28d 100644 --- a/ghc-vector.spec +++ b/ghc-vector.spec @@ -9,7 +9,7 @@ Name: ghc-%{pkg_name} Version: 0.12.1.2 -Release: 2%{?dist} +Release: 3%{?dist} Summary: Efficient Arrays License: BSD @@ -122,6 +122,9 @@ chmod a-x README.md changelog.md %changelog +* Mon Jul 27 2020 Fedora Release Engineering - 0.12.1.2-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild + * Fri Jul 17 2020 Jens Petersen - 0.12.1.2-2 - refresh to cabal-rpm-2.0.6 From 90204f6b7efc329df511a853e2087802d6c4669b Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Sat, 1 Aug 2020 01:40:23 +0000 Subject: [PATCH 67/74] - Second attempt - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild Signed-off-by: Fedora Release Engineering --- ghc-vector.spec | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/ghc-vector.spec b/ghc-vector.spec index d71a28d..31f890b 100644 --- a/ghc-vector.spec +++ b/ghc-vector.spec @@ -9,7 +9,7 @@ Name: ghc-%{pkg_name} Version: 0.12.1.2 -Release: 3%{?dist} +Release: 4%{?dist} Summary: Efficient Arrays License: BSD @@ -122,6 +122,10 @@ chmod a-x README.md changelog.md %changelog +* Sat Aug 01 2020 Fedora Release Engineering - 0.12.1.2-4 +- Second attempt - Rebuilt for + https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild + * Mon Jul 27 2020 Fedora Release Engineering - 0.12.1.2-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild From ff5faf006d75808496c4d7db2f5e17298bd92c20 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Tue, 26 Jan 2021 07:54:31 +0000 Subject: [PATCH 68/74] - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild Signed-off-by: Fedora Release Engineering --- ghc-vector.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/ghc-vector.spec b/ghc-vector.spec index 31f890b..94d2d4c 100644 --- a/ghc-vector.spec +++ b/ghc-vector.spec @@ -9,7 +9,7 @@ Name: ghc-%{pkg_name} Version: 0.12.1.2 -Release: 4%{?dist} +Release: 5%{?dist} Summary: Efficient Arrays License: BSD @@ -122,6 +122,9 @@ chmod a-x README.md changelog.md %changelog +* Tue Jan 26 2021 Fedora Release Engineering - 0.12.1.2-5 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild + * Sat Aug 01 2020 Fedora Release Engineering - 0.12.1.2-4 - Second attempt - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild From 7d99777f4d01d7f7fdbbac1c472021d3765c1036 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Thu, 22 Jul 2021 01:26:36 +0000 Subject: [PATCH 69/74] - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild Signed-off-by: Fedora Release Engineering --- ghc-vector.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/ghc-vector.spec b/ghc-vector.spec index 94d2d4c..6a12473 100644 --- a/ghc-vector.spec +++ b/ghc-vector.spec @@ -9,7 +9,7 @@ Name: ghc-%{pkg_name} Version: 0.12.1.2 -Release: 5%{?dist} +Release: 6%{?dist} Summary: Efficient Arrays License: BSD @@ -122,6 +122,9 @@ chmod a-x README.md changelog.md %changelog +* Thu Jul 22 2021 Fedora Release Engineering - 0.12.1.2-6 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild + * Tue Jan 26 2021 Fedora Release Engineering - 0.12.1.2-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild From e66433b57be7884af27d0e1804364990151de3ce Mon Sep 17 00:00:00 2001 From: Jens Petersen Date: Thu, 8 Jul 2021 00:30:14 +0800 Subject: [PATCH 70/74] refresh to cabal-rpm-2.0.9 --- ghc-vector.spec | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/ghc-vector.spec b/ghc-vector.spec index 6a12473..48687d2 100644 --- a/ghc-vector.spec +++ b/ghc-vector.spec @@ -1,4 +1,4 @@ -# generated by cabal-rpm-2.0.6 +# generated by cabal-rpm-2.0.9 # https://docs.fedoraproject.org/en-US/packaging-guidelines/Haskell/ %global pkg_name vector @@ -60,6 +60,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. @@ -80,7 +81,6 @@ This package provides the Haskell %{pkg_name} profiling library. %prep # Begin cabal-rpm setup: %setup -q -n %{pkgver} -chmod a-x README.md changelog.md # End cabal-rpm setup @@ -97,7 +97,9 @@ chmod a-x README.md changelog.md %check +%if %{with tests} %cabal_test +%endif %files -f %{name}.files From 6fce3108e529da20d585966accd8188092128644 Mon Sep 17 00:00:00 2001 From: Jens Petersen Date: Thu, 8 Jul 2021 11:38:42 +0800 Subject: [PATCH 71/74] update to 0.12.3.0 --- .gitignore | 1 + ghc-vector.spec | 9 ++++++--- sources | 2 +- 3 files changed, 8 insertions(+), 4 deletions(-) diff --git a/.gitignore b/.gitignore index 9babc35..d68c606 100644 --- a/.gitignore +++ b/.gitignore @@ -7,3 +7,4 @@ /vector-0.12.0.2.tar.gz /vector-0.12.0.3.tar.gz /vector-0.12.1.2.tar.gz +/vector-0.12.3.0.tar.gz diff --git a/ghc-vector.spec b/ghc-vector.spec index 48687d2..d164d0e 100644 --- a/ghc-vector.spec +++ b/ghc-vector.spec @@ -8,8 +8,8 @@ %bcond_with tests Name: ghc-%{pkg_name} -Version: 0.12.1.2 -Release: 6%{?dist} +Version: 0.12.3.0 +Release: 1%{?dist} Summary: Efficient Arrays License: BSD @@ -28,8 +28,8 @@ BuildRequires: ghc-primitive-prof BuildRequires: ghc-HUnit-devel BuildRequires: ghc-QuickCheck-devel BuildRequires: ghc-base-orphans-devel +BuildRequires: ghc-doctest-devel BuildRequires: ghc-random-devel -BuildRequires: ghc-semigroups-devel BuildRequires: ghc-tasty-devel BuildRequires: ghc-tasty-hunit-devel BuildRequires: ghc-tasty-quickcheck-devel @@ -124,6 +124,9 @@ This package provides the Haskell %{pkg_name} profiling library. %changelog +* Thu Aug 5 2021 Jens Petersen - 0.12.3.0-1 +- update to 0.12.3.0 + * Thu Jul 22 2021 Fedora Release Engineering - 0.12.1.2-6 - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild diff --git a/sources b/sources index ba98078..9c0a210 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (vector-0.12.1.2.tar.gz) = 36d0237cf7c5a6b78f88b33ff09ea8b19baeaf85609efdeba9ab802ca588956457d4607304b73e8d58e9e802a9101c23da62caee71508f069047a6d531e50170 +SHA512 (vector-0.12.3.0.tar.gz) = 7078f5179913f385f67e21150d1d0a1d80f6a5419a8be54728ecd0eadd1c26be262736df8f345e88d9cffeadb0248f19256d7df282fcdd524d36691cb2563fff From bc4d35a6336173b69f7bcd6e2c072b870a4d1d02 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Thu, 20 Jan 2022 05:45:51 +0000 Subject: [PATCH 72/74] - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild Signed-off-by: Fedora Release Engineering --- ghc-vector.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/ghc-vector.spec b/ghc-vector.spec index d164d0e..e4fcbd6 100644 --- a/ghc-vector.spec +++ b/ghc-vector.spec @@ -9,7 +9,7 @@ Name: ghc-%{pkg_name} Version: 0.12.3.0 -Release: 1%{?dist} +Release: 2%{?dist} Summary: Efficient Arrays License: BSD @@ -124,6 +124,9 @@ This package provides the Haskell %{pkg_name} profiling library. %changelog +* Thu Jan 20 2022 Fedora Release Engineering - 0.12.3.0-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild + * Thu Aug 5 2021 Jens Petersen - 0.12.3.0-1 - update to 0.12.3.0 From 0206f3baeed11f19f9600200afbd67c2c505e2b8 Mon Sep 17 00:00:00 2001 From: Jens Petersen Date: Tue, 7 Jun 2022 15:08:28 +0800 Subject: [PATCH 73/74] update to 0.12.3.1 --- .gitignore | 1 + ghc-vector.spec | 10 +- sources | 2 +- vector-0.12.3.1.cabal | 291 ++++++++++++++++++++++++++++++++++++++++++ 4 files changed, 301 insertions(+), 3 deletions(-) create mode 100644 vector-0.12.3.1.cabal diff --git a/.gitignore b/.gitignore index d68c606..01c2a8b 100644 --- a/.gitignore +++ b/.gitignore @@ -8,3 +8,4 @@ /vector-0.12.0.3.tar.gz /vector-0.12.1.2.tar.gz /vector-0.12.3.0.tar.gz +/vector-0.12.3.1.tar.gz diff --git a/ghc-vector.spec b/ghc-vector.spec index e4fcbd6..d189733 100644 --- a/ghc-vector.spec +++ b/ghc-vector.spec @@ -8,17 +8,19 @@ %bcond_with tests Name: ghc-%{pkg_name} -Version: 0.12.3.0 -Release: 2%{?dist} +Version: 0.12.3.1 +Release: 1%{?dist} Summary: Efficient Arrays 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/%{pkgver}/%{pkg_name}.cabal#/%{pkgver}.cabal # End cabal-rpm sources # Begin cabal-rpm deps: +BuildRequires: dos2unix BuildRequires: ghc-Cabal-devel BuildRequires: ghc-rpm-macros BuildRequires: ghc-base-prof @@ -81,6 +83,7 @@ This package provides the Haskell %{pkg_name} profiling library. %prep # Begin cabal-rpm setup: %setup -q -n %{pkgver} +dos2unix -k -n %{SOURCE1} %{pkg_name}.cabal # End cabal-rpm setup @@ -124,6 +127,9 @@ This package provides the Haskell %{pkg_name} profiling library. %changelog +* Tue Jun 07 2022 Jens Petersen - 0.12.3.1-1 +- https://hackage.haskell.org/package/vector-0.12.3.1/changelog + * Thu Jan 20 2022 Fedora Release Engineering - 0.12.3.0-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild diff --git a/sources b/sources index 9c0a210..28006a4 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (vector-0.12.3.0.tar.gz) = 7078f5179913f385f67e21150d1d0a1d80f6a5419a8be54728ecd0eadd1c26be262736df8f345e88d9cffeadb0248f19256d7df282fcdd524d36691cb2563fff +SHA512 (vector-0.12.3.1.tar.gz) = bf117d53c7844c010dc1cee8b778851bd714155fd34e671ae2eb7bd324427de972389eb9f3f315832f20e7bbbecc93ec0f6296ab10e4935957d2a4e14c6cfd98 diff --git a/vector-0.12.3.1.cabal b/vector-0.12.3.1.cabal new file mode 100644 index 0000000..f75e095 --- /dev/null +++ b/vector-0.12.3.1.cabal @@ -0,0 +1,291 @@ +Name: vector +Version: 0.12.3.1 +x-revision: 2 +-- don't forget to update the changelog file! +License: BSD3 +License-File: LICENSE +Author: Roman Leshchinskiy +Maintainer: Haskell Libraries Team +Copyright: (c) Roman Leshchinskiy 2008-2012 +Homepage: https://github.com/haskell/vector +Bug-Reports: https://github.com/haskell/vector/issues +Category: Data, Data Structures +Synopsis: Efficient Arrays +Description: + . + An efficient implementation of Int-indexed arrays (both mutable + and immutable), with a powerful loop optimisation framework . + . + It is structured as follows: + . + ["Data.Vector"] Boxed vectors of arbitrary types. + . + ["Data.Vector.Unboxed"] Unboxed vectors with an adaptive + representation based on data type families. + . + ["Data.Vector.Storable"] Unboxed vectors of 'Storable' types. + . + ["Data.Vector.Primitive"] Unboxed vectors of primitive types as + defined by the @primitive@ package. "Data.Vector.Unboxed" is more + flexible at no performance cost. + . + ["Data.Vector.Generic"] Generic interface to the vector types. + . + There is also a (draft) tutorial on common uses of vector. + . + * + +Tested-With: + GHC == 7.4.2, + GHC == 7.6.3, + GHC == 7.8.4, + GHC == 7.10.3, + GHC == 8.0.2, + GHC == 8.2.2, + GHC == 8.4.4, + GHC == 8.6.5, + GHC == 8.8.1, + GHC == 8.10.1 + + +Cabal-Version: >=1.10 +Build-Type: Simple + +Extra-Source-Files: + changelog.md + README.md + tests/LICENSE + tests/Setup.hs + tests/Main.hs + benchmarks/vector-benchmarks.cabal + benchmarks/LICENSE + benchmarks/Setup.hs + benchmarks/Main.hs + benchmarks/Algo/AwShCC.hs + benchmarks/Algo/HybCC.hs + benchmarks/Algo/Leaffix.hs + benchmarks/Algo/ListRank.hs + benchmarks/Algo/Quickhull.hs + benchmarks/Algo/Rootfix.hs + benchmarks/Algo/Spectral.hs + benchmarks/Algo/Tridiag.hs + benchmarks/TestData/Graph.hs + benchmarks/TestData/ParenTree.hs + benchmarks/TestData/Random.hs + internal/GenUnboxTuple.hs + internal/unbox-tuple-instances + + + +Flag BoundsChecks + Description: Enable bounds checking + Default: True + Manual: True + +Flag UnsafeChecks + Description: Enable bounds checking in unsafe operations at the cost of a + significant performance penalty + Default: False + Manual: True + +Flag InternalChecks + Description: Enable internal consistency checks at the cost of a + significant performance penalty + Default: False + Manual: True + +Flag Wall + Description: Enable all -Wall warnings + Default: False + Manual: True + + +Library + Default-Language: Haskell2010 + Other-Extensions: + BangPatterns + CPP + DeriveDataTypeable + ExistentialQuantification + FlexibleContexts + FlexibleInstances + GADTs + KindSignatures + MagicHash + MultiParamTypeClasses + Rank2Types + ScopedTypeVariables + StandaloneDeriving + TypeFamilies + + Exposed-Modules: + Data.Vector.Internal.Check + + Data.Vector.Fusion.Util + Data.Vector.Fusion.Stream.Monadic + Data.Vector.Fusion.Bundle.Size + Data.Vector.Fusion.Bundle.Monadic + Data.Vector.Fusion.Bundle + + Data.Vector.Generic.Mutable.Base + Data.Vector.Generic.Mutable + Data.Vector.Generic.Base + Data.Vector.Generic.New + Data.Vector.Generic + + Data.Vector.Primitive.Mutable + Data.Vector.Primitive + + Data.Vector.Storable.Internal + Data.Vector.Storable.Mutable + Data.Vector.Storable + + Data.Vector.Unboxed.Base + Data.Vector.Unboxed.Mutable + Data.Vector.Unboxed + + Data.Vector.Mutable + Data.Vector + + Include-Dirs: + include, internal + + Install-Includes: + vector.h + + Build-Depends: base >= 4.5 && < 4.18 + , primitive >= 0.6.4.0 && < 0.8 + , ghc-prim >= 0.2 && < 0.10 + , deepseq >= 1.1 && < 1.5 + if !impl(ghc > 8.0) + Build-Depends: fail == 4.9.* + , semigroups >= 0.18 && < 0.21 + + Ghc-Options: -O2 -Wall + + if !flag(Wall) + Ghc-Options: -fno-warn-orphans + + if impl(ghc >= 8.0) && impl(ghc < 8.1) + Ghc-Options: -Wno-redundant-constraints + + if flag(BoundsChecks) + cpp-options: -DVECTOR_BOUNDS_CHECKS + + if flag(UnsafeChecks) + cpp-options: -DVECTOR_UNSAFE_CHECKS + + if flag(InternalChecks) + cpp-options: -DVECTOR_INTERNAL_CHECKS + +source-repository head + type: git + location: https://github.com/haskell/vector.git + + + +test-suite vector-tests-O0 + Default-Language: Haskell2010 + type: exitcode-stdio-1.0 + Main-Is: Main.hs + + other-modules: Boilerplater + Tests.Bundle + Tests.Move + Tests.Vector + Tests.Vector.Property + Tests.Vector.Boxed + Tests.Vector.Storable + Tests.Vector.Primitive + Tests.Vector.Unboxed + Tests.Vector.UnitTests + Utilities + + hs-source-dirs: tests + Build-Depends: base >= 4.5 && < 5, template-haskell, base-orphans >= 0.6, vector, + primitive, random, + QuickCheck >= 2.9 && < 2.15, HUnit, tasty, + tasty-hunit, tasty-quickcheck, + transformers >= 0.2.0.0 + if !impl(ghc > 8.0) + Build-Depends: semigroups + + default-extensions: CPP, + ScopedTypeVariables, + PatternGuards, + MultiParamTypeClasses, + FlexibleContexts, + Rank2Types, + TypeSynonymInstances, + TypeFamilies, + TemplateHaskell + + Ghc-Options: -O0 -threaded + Ghc-Options: -Wall + + if !flag(Wall) + Ghc-Options: -fno-warn-orphans -fno-warn-missing-signatures + if impl(ghc >= 8.0) && impl( ghc < 8.1) + Ghc-Options: -Wno-redundant-constraints + + +test-suite vector-tests-O2 + Default-Language: Haskell2010 + type: exitcode-stdio-1.0 + Main-Is: Main.hs + + other-modules: Boilerplater + Tests.Bundle + Tests.Move + Tests.Vector + Tests.Vector.Property + Tests.Vector.Boxed + Tests.Vector.Storable + Tests.Vector.Primitive + Tests.Vector.Unboxed + Tests.Vector.UnitTests + Utilities + + hs-source-dirs: tests + Build-Depends: base >= 4.5 && < 5, template-haskell, base-orphans >= 0.6, vector, + primitive, random, + QuickCheck >= 2.9 && < 2.15, HUnit, tasty, + tasty-hunit, tasty-quickcheck, + transformers >= 0.2.0.0 + if !impl(ghc > 8.0) + Build-Depends: semigroups + + default-extensions: CPP, + ScopedTypeVariables, + PatternGuards, + MultiParamTypeClasses, + FlexibleContexts, + Rank2Types, + TypeSynonymInstances, + TypeFamilies, + TemplateHaskell + + + Ghc-Options: -Wall + Ghc-Options: -O2 -threaded + if !flag(Wall) + Ghc-Options: -fno-warn-orphans -fno-warn-missing-signatures + if impl(ghc >= 8.0) && impl(ghc < 8.1) + Ghc-Options: -Wno-redundant-constraints + +test-suite vector-doctest + type: exitcode-stdio-1.0 + main-is: doctests.hs + hs-source-dirs: tests + default-language: Haskell2010 + -- Older GHC don't support DerivingVia + if impl(ghc < 8.6) + buildable: False + -- GHC 8.10 fails to run doctests for some reason + if impl(ghc >= 8.10) && impl(ghc < 8.11) + buildable: False + build-depends: + base -any + , doctest >=0.15 && <0.19 + , primitive >= 0.6.4.0 && < 0.8 + , vector -any From 2651072ac848e7e09dbebac00f88829bf9a91935 Mon Sep 17 00:00:00 2001 From: MSVSphere Packaging Team Date: Mon, 30 Oct 2023 22:09:03 +0300 Subject: [PATCH 74/74] 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 28006a4..0000000 --- a/sources +++ /dev/null @@ -1 +0,0 @@ -SHA512 (vector-0.12.3.1.tar.gz) = bf117d53c7844c010dc1cee8b778851bd714155fd34e671ae2eb7bd324427de972389eb9f3f315832f20e7bbbecc93ec0f6296ab10e4935957d2a4e14c6cfd98