From f562aecca6461f68b9eb62920a0e76b8f68f8cf3 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Mon, 3 Jan 2011 15:15:35 +0000 Subject: [PATCH 01/54] 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 5d84deb930042f6b872c42f46f1fb133df5097bc Mon Sep 17 00:00:00 2001 From: Ben Boeckel Date: Sat, 15 Jan 2011 13:25:24 -0500 Subject: [PATCH 02/54] - Update to 0.3 --- .gitignore | 1 + ghc-safe.spec | 59 +++++++++++++++++++++++++++++++++++++++++++++++++++ sources | 1 + 3 files changed, 61 insertions(+) create mode 100644 ghc-safe.spec diff --git a/.gitignore b/.gitignore index e69de29..2955ad0 100644 --- a/.gitignore +++ b/.gitignore @@ -0,0 +1 @@ +/safe-0.3.tar.gz diff --git a/ghc-safe.spec b/ghc-safe.spec new file mode 100644 index 0000000..28cfeef --- /dev/null +++ b/ghc-safe.spec @@ -0,0 +1,59 @@ +%global pkg_name safe + +%global common_summary Library for safe (pattern match free) functions + +%global common_description Partial functions from the base library, such as @head@ and \ +@!!@, modified to return more descriptive error messages, \ +programmer defined error messages, @Maybe@ wrapped results \ +and default values. These functions can be used to reduce the \ +number of unsafe pattern matches in your code. + +# debuginfo is not useful for ghc +%global debug_package %{nil} + +Name: ghc-%{pkg_name} +Version: 0.3 +Release: 1%{?dist} +Summary: %{common_summary} + +Group: System Environment/Libraries +License: BSD +URL: http://hackage.haskell.org/package/%{pkg_name} +Source0: http://hackage.haskell.org/packages/archive/%{pkg_name}/%{version}/%{pkg_name}-%{version}.tar.gz +# fedora ghc archs: +ExclusiveArch: %{ix86} x86_64 ppc alpha +BuildRequires: ghc, ghc-doc, ghc-prof +BuildRequires: ghc-rpm-macros >= 0.7.3 +BuildRequires: hscolour + +%description +%{common_description} +%if %{with shared} +This package provides the shared library. +%endif + + +%prep +%setup -q -n %{pkg_name}-%{version} + + +%build +%ghc_lib_build + + +%install +%ghc_lib_install + + +%{?ghc_lib_package} + + +%changelog +* Sat Jan 15 2011 Ben Boeckel - 0.3-1 +- Update to 0.3 + +* Fri Sep 03 2010 Ben Boeckel - 0.2-1 +- Initial package + +* Fri Sep 3 2010 Fedora Haskell SIG - 0.2-0 +- initial packaging for Fedora automatically generated by cabal2spec-0.22.2 diff --git a/sources b/sources index e69de29..53d7169 100644 --- a/sources +++ b/sources @@ -0,0 +1 @@ +bc409bdcd76775cf587b12b525ac09c5 safe-0.3.tar.gz From a6df0a7092faeb191b85d2affb272cfe04ad21f1 Mon Sep 17 00:00:00 2001 From: Dennis Gilmore Date: Tue, 8 Feb 2011 19:32:26 -0600 Subject: [PATCH 03/54] - Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild --- ghc-safe.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/ghc-safe.spec b/ghc-safe.spec index 28cfeef..d2dd69a 100644 --- a/ghc-safe.spec +++ b/ghc-safe.spec @@ -13,7 +13,7 @@ number of unsafe pattern matches in your code. Name: ghc-%{pkg_name} Version: 0.3 -Release: 1%{?dist} +Release: 2%{?dist} Summary: %{common_summary} Group: System Environment/Libraries @@ -49,6 +49,9 @@ This package provides the shared library. %changelog +* Tue Feb 08 2011 Fedora Release Engineering - 0.3-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild + * Sat Jan 15 2011 Ben Boeckel - 0.3-1 - Update to 0.3 From 11d8ed528558eb4e37a334c27bb62fe403128508 Mon Sep 17 00:00:00 2001 From: "Fabio M. Di Nitto" Date: Thu, 10 Mar 2011 09:15:38 +0100 Subject: [PATCH 04/54] Enable build on sparcv9 Signed-off-by: Fabio M. Di Nitto --- ghc-safe.spec | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/ghc-safe.spec b/ghc-safe.spec index d2dd69a..4ee9ed1 100644 --- a/ghc-safe.spec +++ b/ghc-safe.spec @@ -13,7 +13,7 @@ number of unsafe pattern matches in your code. Name: ghc-%{pkg_name} Version: 0.3 -Release: 2%{?dist} +Release: 3%{?dist} Summary: %{common_summary} Group: System Environment/Libraries @@ -21,7 +21,7 @@ License: BSD URL: http://hackage.haskell.org/package/%{pkg_name} Source0: http://hackage.haskell.org/packages/archive/%{pkg_name}/%{version}/%{pkg_name}-%{version}.tar.gz # fedora ghc archs: -ExclusiveArch: %{ix86} x86_64 ppc alpha +ExclusiveArch: %{ix86} x86_64 ppc alpha sparcv9 BuildRequires: ghc, ghc-doc, ghc-prof BuildRequires: ghc-rpm-macros >= 0.7.3 BuildRequires: hscolour @@ -49,6 +49,9 @@ This package provides the shared library. %changelog +* Thu Mar 10 2011 Fabio M. Di Nitto - 0.3-3 +- Enable build on sparcv9 + * Tue Feb 08 2011 Fedora Release Engineering - 0.3-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild From 7612bb70c2eed25104264fda15c0e5331c9c5e77 Mon Sep 17 00:00:00 2001 From: Jens Petersen Date: Fri, 24 Jun 2011 19:23:32 +0900 Subject: [PATCH 05/54] use BR ghc-Cabal-devel and update deps (cabal2spec-0.23.2) --- ghc-safe.spec | 27 ++++++++++++--------------- 1 file changed, 12 insertions(+), 15 deletions(-) diff --git a/ghc-safe.spec b/ghc-safe.spec index 4ee9ed1..c135eec 100644 --- a/ghc-safe.spec +++ b/ghc-safe.spec @@ -2,35 +2,29 @@ %global common_summary Library for safe (pattern match free) functions -%global common_description Partial functions from the base library, such as @head@ and \ -@!!@, modified to return more descriptive error messages, \ -programmer defined error messages, @Maybe@ wrapped results \ +%global common_description Partial functions from the base library, such as head and \ +!!, modified to return more descriptive error messages, \ +programmer defined error messages, Maybe wrapped results \ and default values. These functions can be used to reduce the \ number of unsafe pattern matches in your code. -# debuginfo is not useful for ghc -%global debug_package %{nil} - Name: ghc-%{pkg_name} Version: 0.3 -Release: 3%{?dist} +Release: 4%{?dist} Summary: %{common_summary} Group: System Environment/Libraries License: BSD URL: http://hackage.haskell.org/package/%{pkg_name} Source0: http://hackage.haskell.org/packages/archive/%{pkg_name}/%{version}/%{pkg_name}-%{version}.tar.gz -# fedora ghc archs: -ExclusiveArch: %{ix86} x86_64 ppc alpha sparcv9 -BuildRequires: ghc, ghc-doc, ghc-prof -BuildRequires: ghc-rpm-macros >= 0.7.3 +ExclusiveArch: %{ghc_arches} +BuildRequires: ghc-Cabal-devel +BuildRequires: ghc-rpm-macros BuildRequires: hscolour +BuildRequires: ghc-base-prof %description %{common_description} -%if %{with shared} -This package provides the shared library. -%endif %prep @@ -45,10 +39,13 @@ This package provides the shared library. %ghc_lib_install -%{?ghc_lib_package} +%ghc_lib_package %changelog +* Fri Jun 24 2011 Jens Petersen - 0.3-4 +- BR ghc-Cabal-devel instead of ghc-prof and use ghc_arches (cabal2spec-0.23.2) + * Thu Mar 10 2011 Fabio M. Di Nitto - 0.3-3 - Enable build on sparcv9 From 1fb6d8f06419893797435bbfcfc75b082fe1c296 Mon Sep 17 00:00:00 2001 From: Ben Boeckel Date: Sat, 9 Jul 2011 01:40:34 -0400 Subject: [PATCH 06/54] Update to cabal2spec-0.24 --- ghc-safe.spec | 42 +++++++++++++++++++++++++++++++++++++++--- 1 file changed, 39 insertions(+), 3 deletions(-) diff --git a/ghc-safe.spec b/ghc-safe.spec index c135eec..3728ad2 100644 --- a/ghc-safe.spec +++ b/ghc-safe.spec @@ -1,3 +1,7 @@ +# For Haskell Packaging Guidelines see: +# - https://fedoraproject.org/wiki/Packaging:Haskell +# - https://fedoraproject.org/wiki/PackagingDrafts/Haskell + %global pkg_name safe %global common_summary Library for safe (pattern match free) functions @@ -10,23 +14,39 @@ number of unsafe pattern matches in your code. Name: ghc-%{pkg_name} Version: 0.3 -Release: 4%{?dist} +Release: 5%{?dist} Summary: %{common_summary} Group: System Environment/Libraries License: BSD +# BEGIN: cabal2spec-0.24 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 BuildRequires: hscolour -BuildRequires: ghc-base-prof +# END: cabal2spec-0.24 %description %{common_description} +%package -n ghc-%{pkg_name}-devel +Summary: Development files for %{common_summary} +Group: Development/Libraries +# BEGIN: cabal2spec-0.24 +%{?ghc_devel_requires} +Obsoletes: ghc-%{pkg_name}-prof < %{version}-%{release} +Provides: ghc-%{pkg_name}-prof = %{version}-%{release} +# END: cabal2spec-0.24 + +%description -n ghc-%{pkg_name}-devel +%{common_description} + +This package contains the development files. + + %prep %setup -q -n %{pkg_name}-%{version} @@ -39,10 +59,26 @@ BuildRequires: ghc-base-prof %ghc_lib_install -%ghc_lib_package +%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 +%defattr(-,root,root,-) +%endif + +%files -n ghc-%{pkg_name}-devel -f ghc-%{pkg_name}-devel.files +%defattr(-,root,root,-) %changelog +* Sat Jul 09 2011 Ben Boeckel - 0.3-5 +- Update to cabal2spec-0.24 + * Fri Jun 24 2011 Jens Petersen - 0.3-4 - BR ghc-Cabal-devel instead of ghc-prof and use ghc_arches (cabal2spec-0.23.2) From 6320a969555de17478c07d676fbc840d1fc524ee Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marcela=20Ma=C5=A1l=C3=A1=C5=88ov=C3=A1?= Date: Tue, 11 Oct 2011 19:22:52 +0200 Subject: [PATCH 07/54] rebuild with new gmp --- ghc-safe.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/ghc-safe.spec b/ghc-safe.spec index 3728ad2..bd5fd46 100644 --- a/ghc-safe.spec +++ b/ghc-safe.spec @@ -14,7 +14,7 @@ number of unsafe pattern matches in your code. Name: ghc-%{pkg_name} Version: 0.3 -Release: 5%{?dist} +Release: 5%{?dist}.1 Summary: %{common_summary} Group: System Environment/Libraries @@ -76,6 +76,9 @@ This package contains the development files. %changelog +* Tue Oct 11 2011 Peter Schiffer - 0.3-5.1 +- rebuild with new gmp + * Sat Jul 09 2011 Ben Boeckel - 0.3-5 - Update to cabal2spec-0.24 From cc37d2159d6eac3a2b475e9c244fabe0347c44d4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marcela=20Ma=C5=A1l=C3=A1=C5=88ov=C3=A1?= Date: Fri, 21 Oct 2011 04:22:02 +0200 Subject: [PATCH 08/54] rebuild with new gmp without compat lib --- ghc-safe.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/ghc-safe.spec b/ghc-safe.spec index bd5fd46..2226b09 100644 --- a/ghc-safe.spec +++ b/ghc-safe.spec @@ -14,7 +14,7 @@ number of unsafe pattern matches in your code. Name: ghc-%{pkg_name} Version: 0.3 -Release: 5%{?dist}.1 +Release: 5%{?dist}.2 Summary: %{common_summary} Group: System Environment/Libraries @@ -76,6 +76,9 @@ This package contains the development files. %changelog +* Fri Oct 21 2011 Marcela Mašláňová - 0.3-5.2 +- rebuild with new gmp without compat lib + * Tue Oct 11 2011 Peter Schiffer - 0.3-5.1 - rebuild with new gmp From 8a7bcb37e03ff7e101a5caaf9fd3d334972c361f Mon Sep 17 00:00:00 2001 From: Jens Petersen Date: Fri, 6 Jan 2012 11:52:21 +0900 Subject: [PATCH 09/54] update to 0.3.3 and cabal2spec-0.25.2 --- .gitignore | 1 + ghc-safe.spec | 51 +++++++++++++++++---------------------------------- sources | 2 +- 3 files changed, 19 insertions(+), 35 deletions(-) diff --git a/.gitignore b/.gitignore index 2955ad0..85dea93 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1,2 @@ /safe-0.3.tar.gz +/safe-0.3.3.tar.gz diff --git a/ghc-safe.spec b/ghc-safe.spec index 2226b09..9efb431 100644 --- a/ghc-safe.spec +++ b/ghc-safe.spec @@ -1,6 +1,6 @@ -# 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 safe @@ -13,40 +13,25 @@ and default values. These functions can be used to reduce the \ number of unsafe pattern matches in your code. Name: ghc-%{pkg_name} -Version: 0.3 -Release: 5%{?dist}.2 +Version: 0.3.3 +Release: 1%{?dist} Summary: %{common_summary} Group: System Environment/Libraries License: BSD -# BEGIN: cabal2spec-0.24 +# 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 -BuildRequires: hscolour -# END: cabal2spec-0.24 +BuildRequires: ghc-rpm-macros %{!?without_hscolour:hscolour} +# END cabal2spec +BuildRequires: ghc-base-prof %description %{common_description} -%package -n ghc-%{pkg_name}-devel -Summary: Development files for %{common_summary} -Group: Development/Libraries -# BEGIN: cabal2spec-0.24 -%{?ghc_devel_requires} -Obsoletes: ghc-%{pkg_name}-prof < %{version}-%{release} -Provides: ghc-%{pkg_name}-prof = %{version}-%{release} -# END: cabal2spec-0.24 - -%description -n ghc-%{pkg_name}-devel -%{common_description} - -This package contains the development files. - - %prep %setup -q -n %{pkg_name}-%{version} @@ -59,23 +44,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 -%defattr(-,root,root,-) -%endif -%files -n ghc-%{pkg_name}-devel -f ghc-%{pkg_name}-devel.files -%defattr(-,root,root,-) +%ghc_files %changelog +* Fri Jan 6 2012 Jens Petersen - 0.3.3-1 +- update to 0.3.3 and cabal2spec-0.25.2 + * Fri Oct 21 2011 Marcela Mašláňová - 0.3-5.2 - rebuild with new gmp without compat lib diff --git a/sources b/sources index 53d7169..e8fef98 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -bc409bdcd76775cf587b12b525ac09c5 safe-0.3.tar.gz +5df09a74ef9ce6d98c7fd7f97a9eb73e safe-0.3.3.tar.gz From 544bda4d4f84ba1cf07b503df30ae70a1ca9ac17 Mon Sep 17 00:00:00 2001 From: Jens Petersen Date: Fri, 23 Mar 2012 12:56:32 +0900 Subject: [PATCH 10/54] add license to ghc_files --- ghc-safe.spec | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/ghc-safe.spec b/ghc-safe.spec index 9efb431..d889cad 100644 --- a/ghc-safe.spec +++ b/ghc-safe.spec @@ -14,7 +14,7 @@ number of unsafe pattern matches in your code. Name: ghc-%{pkg_name} Version: 0.3.3 -Release: 1%{?dist} +Release: 2%{?dist} Summary: %{common_summary} Group: System Environment/Libraries @@ -52,10 +52,13 @@ BuildRequires: ghc-base-prof %ghc_devel_post_postun -%ghc_files +%ghc_files LICENSE %changelog +* Fri Mar 23 2012 Jens Petersen - 0.3.3-2 +- add license to ghc_files + * Fri Jan 6 2012 Jens Petersen - 0.3.3-1 - update to 0.3.3 and cabal2spec-0.25.2 From 056cc7c32335dabd7ca31395961aec89c3c23cc4 Mon Sep 17 00:00:00 2001 From: Jens Petersen Date: Mon, 16 Jul 2012 11:14:37 +0900 Subject: [PATCH 11/54] change prof BRs to devel --- ghc-safe.spec | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/ghc-safe.spec b/ghc-safe.spec index d889cad..3035f9e 100644 --- a/ghc-safe.spec +++ b/ghc-safe.spec @@ -14,7 +14,7 @@ number of unsafe pattern matches in your code. Name: ghc-%{pkg_name} Version: 0.3.3 -Release: 2%{?dist} +Release: 3%{?dist} Summary: %{common_summary} Group: System Environment/Libraries @@ -26,7 +26,7 @@ ExclusiveArch: %{ghc_arches} BuildRequires: ghc-Cabal-devel BuildRequires: ghc-rpm-macros %{!?without_hscolour:hscolour} # END cabal2spec -BuildRequires: ghc-base-prof +BuildRequires: ghc-base-devel %description %{common_description} @@ -56,6 +56,9 @@ BuildRequires: ghc-base-prof %changelog +* Mon Jul 16 2012 Jens Petersen - 0.3.3-3 +- change prof BRs to devel + * Fri Mar 23 2012 Jens Petersen - 0.3.3-2 - add license to ghc_files From b9768b94b6b38febd0ca18d5eb689fc888754092 Mon Sep 17 00:00:00 2001 From: Dennis Gilmore Date: Thu, 19 Jul 2012 00:59:47 -0500 Subject: [PATCH 12/54] - Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild --- ghc-safe.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/ghc-safe.spec b/ghc-safe.spec index 3035f9e..695379b 100644 --- a/ghc-safe.spec +++ b/ghc-safe.spec @@ -14,7 +14,7 @@ number of unsafe pattern matches in your code. Name: ghc-%{pkg_name} Version: 0.3.3 -Release: 3%{?dist} +Release: 4%{?dist} Summary: %{common_summary} Group: System Environment/Libraries @@ -56,6 +56,9 @@ BuildRequires: ghc-base-devel %changelog +* Thu Jul 19 2012 Fedora Release Engineering - 0.3.3-4 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild + * Mon Jul 16 2012 Jens Petersen - 0.3.3-3 - change prof BRs to devel From d9c41db01c181c3a34e095ebe13174d537e4a3f9 Mon Sep 17 00:00:00 2001 From: Jens Petersen Date: Sun, 18 Nov 2012 01:28:16 +0900 Subject: [PATCH 13/54] update with cabal-rpm --- ghc-safe.spec | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/ghc-safe.spec b/ghc-safe.spec index 695379b..9c6288a 100644 --- a/ghc-safe.spec +++ b/ghc-safe.spec @@ -1,4 +1,3 @@ -# cabal2spec-0.25.2 # https://fedoraproject.org/wiki/Packaging:Haskell # https://fedoraproject.org/wiki/PackagingDrafts/Haskell @@ -14,19 +13,17 @@ number of unsafe pattern matches in your code. Name: ghc-%{pkg_name} Version: 0.3.3 -Release: 4%{?dist} +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 -ExclusiveArch: %{ghc_arches} + BuildRequires: ghc-Cabal-devel -BuildRequires: ghc-rpm-macros %{!?without_hscolour:hscolour} -# END cabal2spec -BuildRequires: ghc-base-devel +BuildRequires: ghc-rpm-macros +# Begin cabal-rpm deps: +# End cabal-rpm deps %description %{common_description} @@ -56,6 +53,9 @@ BuildRequires: ghc-base-devel %changelog +* Sat Nov 17 2012 Jens Petersen - 0.3.3-5 +- update with cabal-rpm + * Thu Jul 19 2012 Fedora Release Engineering - 0.3.3-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild From 9964e6db96c65635e1855c24104ee5894c908c64 Mon Sep 17 00:00:00 2001 From: Dennis Gilmore Date: Wed, 13 Feb 2013 17:17:31 -0600 Subject: [PATCH 14/54] - Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild --- ghc-safe.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/ghc-safe.spec b/ghc-safe.spec index 9c6288a..3940ed1 100644 --- a/ghc-safe.spec +++ b/ghc-safe.spec @@ -13,7 +13,7 @@ number of unsafe pattern matches in your code. Name: ghc-%{pkg_name} Version: 0.3.3 -Release: 5%{?dist} +Release: 6%{?dist} Summary: %{common_summary} License: BSD @@ -53,6 +53,9 @@ BuildRequires: ghc-rpm-macros %changelog +* Wed Feb 13 2013 Fedora Release Engineering - 0.3.3-6 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild + * Sat Nov 17 2012 Jens Petersen - 0.3.3-5 - update with cabal-rpm From 2e3424e2e7f33dac1d4de0e7d9fcd1e9ad115eb2 Mon Sep 17 00:00:00 2001 From: Jens Petersen Date: Wed, 5 Jun 2013 15:22:01 +0900 Subject: [PATCH 15/54] update to new simplified Haskell Packaging Guidelines --- ghc-safe.spec | 47 +++++++++++++++++++++++++++++------------------ 1 file changed, 29 insertions(+), 18 deletions(-) diff --git a/ghc-safe.spec b/ghc-safe.spec index 3940ed1..45a8515 100644 --- a/ghc-safe.spec +++ b/ghc-safe.spec @@ -1,20 +1,11 @@ # https://fedoraproject.org/wiki/Packaging:Haskell -# https://fedoraproject.org/wiki/PackagingDrafts/Haskell %global pkg_name safe -%global common_summary Library for safe (pattern match free) functions - -%global common_description Partial functions from the base library, such as head and \ -!!, modified to return more descriptive error messages, \ -programmer defined error messages, Maybe wrapped results \ -and default values. These functions can be used to reduce the \ -number of unsafe pattern matches in your code. - Name: ghc-%{pkg_name} Version: 0.3.3 -Release: 6%{?dist} -Summary: %{common_summary} +Release: 7%{?dist} +Summary: Library for safe (pattern match free) functions License: BSD URL: http://hackage.haskell.org/package/%{pkg_name} @@ -22,11 +13,24 @@ Source0: http://hackage.haskell.org/packages/archive/%{pkg_name}/%{versio BuildRequires: ghc-Cabal-devel BuildRequires: ghc-rpm-macros -# Begin cabal-rpm deps: -# End cabal-rpm deps %description -%{common_description} +Partial functions from the base library, such as head and +!!, modified to return more descriptive error messages, +programmer defined error messages, Maybe wrapped results +and default values. These functions can be used to reduce the +number of unsafe pattern matches in your code. + + +%package devel +Summary: Haskell %{pkg_name} library development files +Requires: ghc-compiler = %{ghc_version} +Requires(post): ghc-compiler = %{ghc_version} +Requires(postun): ghc-compiler = %{ghc_version} +Requires: %{name} = %{version}-%{release} + +%description devel +This package provides the Haskell %{pkg_name} library development files. %prep @@ -41,18 +45,25 @@ BuildRequires: ghc-rpm-macros %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 Jun 05 2013 Jens Petersen - 0.3.3-7 +- update to new simplified Haskell Packaging Guidelines + * Wed Feb 13 2013 Fedora Release Engineering - 0.3.3-6 - Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild From 2cd42e06ba7af919ff2f84e970fcd56028852aa8 Mon Sep 17 00:00:00 2001 From: Jens Petersen Date: Wed, 5 Jun 2013 15:25:38 +0900 Subject: [PATCH 16/54] remove trailing spaces from description --- ghc-safe.spec | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/ghc-safe.spec b/ghc-safe.spec index 45a8515..e175489 100644 --- a/ghc-safe.spec +++ b/ghc-safe.spec @@ -15,11 +15,11 @@ BuildRequires: ghc-Cabal-devel BuildRequires: ghc-rpm-macros %description -Partial functions from the base library, such as head and -!!, modified to return more descriptive error messages, -programmer defined error messages, Maybe wrapped results -and default values. These functions can be used to reduce the -number of unsafe pattern matches in your code. +Partial functions from the base library, such as head and +!!, modified to return more descriptive error messages, +programmer defined error messages, Maybe wrapped results +and default values. These functions can be used to reduce +the number of unsafe pattern matches in your code. %package devel From 744eed4d595ce1eee0adf6bf4914eca89e16f323 Mon Sep 17 00:00:00 2001 From: Dennis Gilmore Date: Sat, 3 Aug 2013 08:58:28 -0500 Subject: [PATCH 17/54] - Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild --- ghc-safe.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/ghc-safe.spec b/ghc-safe.spec index e175489..ba6b6ce 100644 --- a/ghc-safe.spec +++ b/ghc-safe.spec @@ -4,7 +4,7 @@ Name: ghc-%{pkg_name} Version: 0.3.3 -Release: 7%{?dist} +Release: 8%{?dist} Summary: Library for safe (pattern match free) functions License: BSD @@ -61,6 +61,9 @@ This package provides the Haskell %{pkg_name} library development files. %changelog +* Sat Aug 03 2013 Fedora Release Engineering - 0.3.3-8 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild + * Wed Jun 05 2013 Jens Petersen - 0.3.3-7 - update to new simplified Haskell Packaging Guidelines From b8ee89218b2e5a9560b723f808adf78c88a7e01f Mon Sep 17 00:00:00 2001 From: Dennis Gilmore Date: Sat, 7 Jun 2014 10:12:06 -0500 Subject: [PATCH 18/54] - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild --- ghc-safe.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/ghc-safe.spec b/ghc-safe.spec index ba6b6ce..60bb881 100644 --- a/ghc-safe.spec +++ b/ghc-safe.spec @@ -4,7 +4,7 @@ Name: ghc-%{pkg_name} Version: 0.3.3 -Release: 8%{?dist} +Release: 9%{?dist} Summary: Library for safe (pattern match free) functions License: BSD @@ -61,6 +61,9 @@ This package provides the Haskell %{pkg_name} library development files. %changelog +* Sat Jun 07 2014 Fedora Release Engineering - 0.3.3-9 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild + * Sat Aug 03 2013 Fedora Release Engineering - 0.3.3-8 - Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild From f07c5b54d36bbdd41b32b79e4b84bf52d18464f9 Mon Sep 17 00:00:00 2001 From: Peter Robinson Date: Sat, 16 Aug 2014 15:44:33 +0000 Subject: [PATCH 19/54] - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild --- ghc-safe.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/ghc-safe.spec b/ghc-safe.spec index 60bb881..4fafc28 100644 --- a/ghc-safe.spec +++ b/ghc-safe.spec @@ -4,7 +4,7 @@ Name: ghc-%{pkg_name} Version: 0.3.3 -Release: 9%{?dist} +Release: 10%{?dist} Summary: Library for safe (pattern match free) functions License: BSD @@ -61,6 +61,9 @@ This package provides the Haskell %{pkg_name} library development files. %changelog +* Sat Aug 16 2014 Fedora Release Engineering - 0.3.3-10 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild + * Sat Jun 07 2014 Fedora Release Engineering - 0.3.3-9 - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild From c2fccff226ab34a4bdf21b09b8c5cab8adec3b23 Mon Sep 17 00:00:00 2001 From: Jens Petersen Date: Tue, 20 Jan 2015 18:43:50 +0900 Subject: [PATCH 20/54] update to 0.3.8 --- .gitignore | 1 + ghc-safe.spec | 44 ++++++++++++++++++++++++++++++++++---------- sources | 2 +- 3 files changed, 36 insertions(+), 11 deletions(-) diff --git a/.gitignore b/.gitignore index 85dea93..20df989 100644 --- a/.gitignore +++ b/.gitignore @@ -1,2 +1,3 @@ /safe-0.3.tar.gz /safe-0.3.3.tar.gz +/safe-0.3.8.tar.gz diff --git a/ghc-safe.spec b/ghc-safe.spec index 4fafc28..ffbdb88 100644 --- a/ghc-safe.spec +++ b/ghc-safe.spec @@ -3,31 +3,52 @@ %global pkg_name safe Name: ghc-%{pkg_name} -Version: 0.3.3 -Release: 10%{?dist} +Version: 0.3.8 +Release: 1%{?dist} Summary: Library for safe (pattern match free) functions 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 +Url: https://hackage.haskell.org/package/%{pkg_name} +Source0: https://hackage.haskell.org/package/%{pkg_name}-%{version}/%{pkg_name}-%{version}.tar.gz BuildRequires: ghc-Cabal-devel BuildRequires: ghc-rpm-macros %description -Partial functions from the base library, such as head and -!!, modified to return more descriptive error messages, -programmer defined error messages, Maybe wrapped results -and default values. These functions can be used to reduce -the number of unsafe pattern matches in your code. +A library wrapping 'Prelude'/'Data.List' functions that can throw exceptions, +such as 'head' and '!!'. Each unsafe function has up to four variants, e.g. +with 'tail': + +* 'tail :: [a] -> [a]', raises an error on 'tail []'. + +* 'tailMay :: [a] -> /Maybe/ [a]', turns errors into 'Nothing'. + +* 'tailDef :: /[a]/ -> [a] -> [a]', takes a default to return on errors. + +* 'tailNote :: /String/ -> [a] -> [a]', takes an extra argument which +supplements the error message. + +* 'tailSafe :: [a] -> [a]', returns some sensible default if possible, '[]' in +the case of 'tail'. + +This package is divided into three modules: + +* "Safe" contains safe variants of 'Prelude' and 'Data.List' functions. + +* "Safe.Foldable" contains safe variants of 'Foldable' functions. + +* "Safe.Exact" creates crashing versions of functions like 'zip' (errors if the +lists are not equal) and 'take' (errors if there are not enough elements), then +wraps them to provide safe variants. %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. @@ -61,6 +82,9 @@ This package provides the Haskell %{pkg_name} library development files. %changelog +* Tue Jan 20 2015 Jens Petersen - 0.3.8-1 +- update to 0.3.8 + * Sat Aug 16 2014 Fedora Release Engineering - 0.3.3-10 - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild diff --git a/sources b/sources index e8fef98..cdd2253 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -5df09a74ef9ce6d98c7fd7f97a9eb73e safe-0.3.3.tar.gz +969dffac684eaa98012cf324c3d7bfe4 safe-0.3.8.tar.gz From 578afe0b84a3bd4ba5fd37480ff723fcd0cf3ef5 Mon Sep 17 00:00:00 2001 From: Dennis Gilmore Date: Wed, 17 Jun 2015 07:57:15 +0000 Subject: [PATCH 21/54] - Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild --- ghc-safe.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/ghc-safe.spec b/ghc-safe.spec index ffbdb88..8df4a38 100644 --- a/ghc-safe.spec +++ b/ghc-safe.spec @@ -4,7 +4,7 @@ Name: ghc-%{pkg_name} Version: 0.3.8 -Release: 1%{?dist} +Release: 2%{?dist} Summary: Library for safe (pattern match free) functions License: BSD @@ -82,6 +82,9 @@ This package provides the Haskell %{pkg_name} library development files. %changelog +* Wed Jun 17 2015 Fedora Release Engineering - 0.3.8-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild + * Tue Jan 20 2015 Jens Petersen - 0.3.8-1 - update to 0.3.8 From c7ee16ccf1c5a8fb8ca21f0c188608e6df8ec7bc Mon Sep 17 00:00:00 2001 From: Ben Boeckel Date: Sat, 8 Aug 2015 00:06:48 -0400 Subject: [PATCH 22/54] The LICENSE file is installed --- .gitignore | 1 + ghc-safe.spec | 10 +++++++--- sources | 2 +- 3 files changed, 9 insertions(+), 4 deletions(-) diff --git a/.gitignore b/.gitignore index 20df989..e411f62 100644 --- a/.gitignore +++ b/.gitignore @@ -1,3 +1,4 @@ /safe-0.3.tar.gz /safe-0.3.3.tar.gz /safe-0.3.8.tar.gz +/safe-0.3.9.tar.gz diff --git a/ghc-safe.spec b/ghc-safe.spec index 8df4a38..f8e6da3 100644 --- a/ghc-safe.spec +++ b/ghc-safe.spec @@ -3,9 +3,9 @@ %global pkg_name safe Name: ghc-%{pkg_name} -Version: 0.3.8 -Release: 2%{?dist} -Summary: Library for safe (pattern match free) functions +Version: 0.3.9 +Release: 1%{?dist} +Summary: Library of safe (exception free) functions License: BSD Url: https://hackage.haskell.org/package/%{pkg_name} @@ -79,9 +79,13 @@ This package provides the Haskell %{pkg_name} library development files. %files devel -f %{name}-devel.files +%doc README.md %changelog +* Sat Aug 08 2015 Ben Boeckel - 0.3.9-1 +- update to 0.3.9 + * Wed Jun 17 2015 Fedora Release Engineering - 0.3.8-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild diff --git a/sources b/sources index cdd2253..e42c719 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -969dffac684eaa98012cf324c3d7bfe4 safe-0.3.8.tar.gz +a90d4088b638fa9d3e9c29696ada032f safe-0.3.9.tar.gz From a5841457045d368b3d41933c2a4e786333ad4251 Mon Sep 17 00:00:00 2001 From: Dennis Gilmore Date: Wed, 3 Feb 2016 21:43:06 +0000 Subject: [PATCH 23/54] - Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild --- ghc-safe.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/ghc-safe.spec b/ghc-safe.spec index f8e6da3..6f1bbdc 100644 --- a/ghc-safe.spec +++ b/ghc-safe.spec @@ -4,7 +4,7 @@ Name: ghc-%{pkg_name} Version: 0.3.9 -Release: 1%{?dist} +Release: 2%{?dist} Summary: Library of safe (exception free) functions License: BSD @@ -83,6 +83,9 @@ This package provides the Haskell %{pkg_name} library development files. %changelog +* Wed Feb 03 2016 Fedora Release Engineering - 0.3.9-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild + * Sat Aug 08 2015 Ben Boeckel - 0.3.9-1 - update to 0.3.9 From 98f1e81756f9a5092a27988de3a3848927179b45 Mon Sep 17 00:00:00 2001 From: Jens Petersen Date: Wed, 28 Sep 2016 18:32:25 +0900 Subject: [PATCH 24/54] use %license --- ghc-safe.spec | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ghc-safe.spec b/ghc-safe.spec index 6f1bbdc..2715c4e 100644 --- a/ghc-safe.spec +++ b/ghc-safe.spec @@ -75,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 From 2017129284219bd55cc15aa650265500bc7a8284 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Fri, 10 Feb 2017 10:48:10 +0000 Subject: [PATCH 25/54] - Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild --- ghc-safe.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/ghc-safe.spec b/ghc-safe.spec index 2715c4e..eda2bcf 100644 --- a/ghc-safe.spec +++ b/ghc-safe.spec @@ -4,7 +4,7 @@ Name: ghc-%{pkg_name} Version: 0.3.9 -Release: 2%{?dist} +Release: 3%{?dist} Summary: Library of safe (exception free) functions License: BSD @@ -83,6 +83,9 @@ This package provides the Haskell %{pkg_name} library development files. %changelog +* Fri Feb 10 2017 Fedora Release Engineering - 0.3.9-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild + * Wed Feb 03 2016 Fedora Release Engineering - 0.3.9-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild From b5a29ef71e690560a8be141c07fabf23bd50a5b2 Mon Sep 17 00:00:00 2001 From: Jens Petersen Date: Thu, 23 Feb 2017 15:17:53 +0900 Subject: [PATCH 26/54] update to 0.3.14 --- .gitignore | 1 + ghc-safe.spec | 27 ++++++++++++++++++++++----- sources | 2 +- 3 files changed, 24 insertions(+), 6 deletions(-) diff --git a/.gitignore b/.gitignore index e411f62..617e9ca 100644 --- a/.gitignore +++ b/.gitignore @@ -2,3 +2,4 @@ /safe-0.3.3.tar.gz /safe-0.3.8.tar.gz /safe-0.3.9.tar.gz +/safe-0.3.14.tar.gz diff --git a/ghc-safe.spec b/ghc-safe.spec index eda2bcf..bf129a5 100644 --- a/ghc-safe.spec +++ b/ghc-safe.spec @@ -1,18 +1,28 @@ +# generated by cabal-rpm-0.11.1 # https://fedoraproject.org/wiki/Packaging:Haskell %global pkg_name safe +%global pkgver %{pkg_name}-%{version} + +%bcond_without tests Name: ghc-%{pkg_name} -Version: 0.3.9 -Release: 3%{?dist} +Version: 0.3.14 +Release: 1%{?dist} Summary: Library of safe (exception free) functions License: BSD Url: https://hackage.haskell.org/package/%{pkg_name} -Source0: https://hackage.haskell.org/package/%{pkg_name}-%{version}/%{pkg_name}-%{version}.tar.gz +Source0: https://hackage.haskell.org/package/%{pkgver}/%{pkgver}.tar.gz BuildRequires: ghc-Cabal-devel BuildRequires: ghc-rpm-macros +# Begin cabal-rpm deps: +%if %{with tests} +BuildRequires: ghc-QuickCheck-devel +BuildRequires: ghc-deepseq-devel +%endif +# End cabal-rpm deps %description A library wrapping 'Prelude'/'Data.List' functions that can throw exceptions, @@ -55,7 +65,7 @@ This package provides the Haskell %{pkg_name} library development files. %prep -%setup -q -n %{pkg_name}-%{version} +%setup -q -n %{pkgver} %build @@ -66,6 +76,10 @@ This package provides the Haskell %{pkg_name} library development files. %ghc_lib_install +%check +%cabal_test + + %post devel %ghc_pkg_recache @@ -79,10 +93,13 @@ This package provides the Haskell %{pkg_name} library development files. %files devel -f %{name}-devel.files -%doc README.md +%doc CHANGES.txt README.md %changelog +* Thu Feb 23 2017 Jens Petersen - 0.3.14-1 +- update to 0.3.14 + * Fri Feb 10 2017 Fedora Release Engineering - 0.3.9-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild diff --git a/sources b/sources index e42c719..cba55b6 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -a90d4088b638fa9d3e9c29696ada032f safe-0.3.9.tar.gz +SHA512 (safe-0.3.14.tar.gz) = 3d2ae78fecc7c5dfe245a71e16f4f2fc681e22ee0506914b041f628ef2569450bd9d390f0bb61058963766160ba4ab01318732c7c1b6677a47d9270302a5f473 From 0b68b40238b027788988fc13ba4d311ccf99da67 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Wed, 26 Jul 2017 09:55:03 +0000 Subject: [PATCH 27/54] - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild --- ghc-safe.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/ghc-safe.spec b/ghc-safe.spec index bf129a5..424bb26 100644 --- a/ghc-safe.spec +++ b/ghc-safe.spec @@ -8,7 +8,7 @@ Name: ghc-%{pkg_name} Version: 0.3.14 -Release: 1%{?dist} +Release: 2%{?dist} Summary: Library of safe (exception free) functions License: BSD @@ -97,6 +97,9 @@ This package provides the Haskell %{pkg_name} library development files. %changelog +* Wed Jul 26 2017 Fedora Release Engineering - 0.3.14-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild + * Thu Feb 23 2017 Jens Petersen - 0.3.14-1 - update to 0.3.14 From c1c009c042b7130d24c3c36b760a6976b7b91ad0 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Wed, 2 Aug 2017 21:30:51 +0000 Subject: [PATCH 28/54] - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild --- ghc-safe.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/ghc-safe.spec b/ghc-safe.spec index 424bb26..25c1b18 100644 --- a/ghc-safe.spec +++ b/ghc-safe.spec @@ -8,7 +8,7 @@ Name: ghc-%{pkg_name} Version: 0.3.14 -Release: 2%{?dist} +Release: 3%{?dist} Summary: Library of safe (exception free) functions License: BSD @@ -97,6 +97,9 @@ This package provides the Haskell %{pkg_name} library development files. %changelog +* Wed Aug 02 2017 Fedora Release Engineering - 0.3.14-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild + * Wed Jul 26 2017 Fedora Release Engineering - 0.3.14-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild From ff8a5d30ebf81c0049bd4aec5cc8fb59b7c2ea7c Mon Sep 17 00:00:00 2001 From: Jens Petersen Date: Wed, 24 Jan 2018 14:11:53 +0100 Subject: [PATCH 29/54] refresh to cabal-rpm-0.12.1 --- ghc-safe.spec | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/ghc-safe.spec b/ghc-safe.spec index 25c1b18..8318570 100644 --- a/ghc-safe.spec +++ b/ghc-safe.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 safe @@ -55,9 +55,12 @@ wraps them to provide safe variants. %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 @@ -80,6 +83,12 @@ This package provides the Haskell %{pkg_name} library development files. %cabal_test +%post -p /sbin/ldconfig + + +%postun -p /sbin/ldconfig + + %post devel %ghc_pkg_recache From f1fac2f68aed71b062bc410874d5828badccb2f1 Mon Sep 17 00:00:00 2001 From: Jens Petersen Date: Wed, 24 Jan 2018 15:49:02 +0100 Subject: [PATCH 30/54] update to 0.3.15 --- .gitignore | 1 + ghc-safe.spec | 7 +++++-- sources | 2 +- 3 files changed, 7 insertions(+), 3 deletions(-) diff --git a/.gitignore b/.gitignore index 617e9ca..514721f 100644 --- a/.gitignore +++ b/.gitignore @@ -3,3 +3,4 @@ /safe-0.3.8.tar.gz /safe-0.3.9.tar.gz /safe-0.3.14.tar.gz +/safe-0.3.15.tar.gz diff --git a/ghc-safe.spec b/ghc-safe.spec index 8318570..b53f39f 100644 --- a/ghc-safe.spec +++ b/ghc-safe.spec @@ -7,8 +7,8 @@ %bcond_without tests Name: ghc-%{pkg_name} -Version: 0.3.14 -Release: 3%{?dist} +Version: 0.3.15 +Release: 1%{?dist} Summary: Library of safe (exception free) functions License: BSD @@ -106,6 +106,9 @@ This package provides the Haskell %{pkg_name} library development files. %changelog +* Wed Jan 24 2018 Jens Petersen - 0.3.15-1 +- update to 0.3.15 + * Wed Aug 02 2017 Fedora Release Engineering - 0.3.14-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild diff --git a/sources b/sources index cba55b6..fa8b476 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (safe-0.3.14.tar.gz) = 3d2ae78fecc7c5dfe245a71e16f4f2fc681e22ee0506914b041f628ef2569450bd9d390f0bb61058963766160ba4ab01318732c7c1b6677a47d9270302a5f473 +SHA512 (safe-0.3.15.tar.gz) = 315d3f5260e4ffe4ba362780a2dfe2f8bf5fc28ac1f9e97ab9925b94055e68ed6a5c016e3dfabe0cabd5917333e8fc5f8cebbe83c4842cb0b7c5b1f04038b735 From 393402e3f0ce97e173e87ba626c05c44d8627adf Mon Sep 17 00:00:00 2001 From: Jens Petersen Date: Sat, 27 Jan 2018 09:40:28 +0100 Subject: [PATCH 31/54] disable tests temporarily to build with only ghc since newrepo not running currently in koji --- ghc-safe.spec | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/ghc-safe.spec b/ghc-safe.spec index b53f39f..2b9a972 100644 --- a/ghc-safe.spec +++ b/ghc-safe.spec @@ -4,7 +4,8 @@ %global pkg_name safe %global pkgver %{pkg_name}-%{version} -%bcond_without tests +# disable temporarily to build with just ghc +%bcond_with tests Name: ghc-%{pkg_name} Version: 0.3.15 From 8c3c4c01f2a60c2f5a797dcdff50ef043283efd9 Mon Sep 17 00:00:00 2001 From: Jens Petersen Date: Sun, 4 Feb 2018 01:03:20 +0900 Subject: [PATCH 32/54] drop ldconfig scriptlets --- ghc-safe.spec | 6 ------ 1 file changed, 6 deletions(-) diff --git a/ghc-safe.spec b/ghc-safe.spec index 2b9a972..c615ea7 100644 --- a/ghc-safe.spec +++ b/ghc-safe.spec @@ -84,12 +84,6 @@ This package provides the Haskell %{pkg_name} library development files. %cabal_test -%post -p /sbin/ldconfig - - -%postun -p /sbin/ldconfig - - %post devel %ghc_pkg_recache From 699e22d915b009bedc32245aa815280d302afbef Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Wed, 7 Feb 2018 12:05:04 +0000 Subject: [PATCH 33/54] - Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild Signed-off-by: Fedora Release Engineering --- ghc-safe.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/ghc-safe.spec b/ghc-safe.spec index c615ea7..22c35ac 100644 --- a/ghc-safe.spec +++ b/ghc-safe.spec @@ -9,7 +9,7 @@ Name: ghc-%{pkg_name} Version: 0.3.15 -Release: 1%{?dist} +Release: 2%{?dist} Summary: Library of safe (exception free) functions License: BSD @@ -101,6 +101,9 @@ This package provides the Haskell %{pkg_name} library development files. %changelog +* Wed Feb 07 2018 Fedora Release Engineering - 0.3.15-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild + * Wed Jan 24 2018 Jens Petersen - 0.3.15-1 - update to 0.3.15 From 0bad08bac166aa1465f7b32b485eaa415e61d497 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Fri, 13 Jul 2018 02:05:33 +0000 Subject: [PATCH 34/54] - Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild Signed-off-by: Fedora Release Engineering --- ghc-safe.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/ghc-safe.spec b/ghc-safe.spec index 22c35ac..a48166f 100644 --- a/ghc-safe.spec +++ b/ghc-safe.spec @@ -9,7 +9,7 @@ Name: ghc-%{pkg_name} Version: 0.3.15 -Release: 2%{?dist} +Release: 3%{?dist} Summary: Library of safe (exception free) functions License: BSD @@ -101,6 +101,9 @@ This package provides the Haskell %{pkg_name} library development files. %changelog +* Fri Jul 13 2018 Fedora Release Engineering - 0.3.15-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild + * Wed Feb 07 2018 Fedora Release Engineering - 0.3.15-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild From cd0c7399cb6825d01cdb6a32b59ce3d982a54117 Mon Sep 17 00:00:00 2001 From: Jens Petersen Date: Sun, 22 Jul 2018 23:25:16 +0900 Subject: [PATCH 35/54] update to 0.3.17 --- .gitignore | 1 + ghc-safe.spec | 9 ++++++--- sources | 2 +- 3 files changed, 8 insertions(+), 4 deletions(-) diff --git a/.gitignore b/.gitignore index 514721f..121cf46 100644 --- a/.gitignore +++ b/.gitignore @@ -4,3 +4,4 @@ /safe-0.3.9.tar.gz /safe-0.3.14.tar.gz /safe-0.3.15.tar.gz +/safe-0.3.17.tar.gz diff --git a/ghc-safe.spec b/ghc-safe.spec index a48166f..51616dd 100644 --- a/ghc-safe.spec +++ b/ghc-safe.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 safe @@ -8,8 +8,8 @@ %bcond_with tests Name: ghc-%{pkg_name} -Version: 0.3.15 -Release: 3%{?dist} +Version: 0.3.17 +Release: 1%{?dist} Summary: Library of safe (exception free) functions License: BSD @@ -101,6 +101,9 @@ This package provides the Haskell %{pkg_name} library development files. %changelog +* Sun Jul 22 2018 Jens Petersen - 0.3.17-1 +- update to 0.3.17 + * Fri Jul 13 2018 Fedora Release Engineering - 0.3.15-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild diff --git a/sources b/sources index fa8b476..16e8b91 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (safe-0.3.15.tar.gz) = 315d3f5260e4ffe4ba362780a2dfe2f8bf5fc28ac1f9e97ab9925b94055e68ed6a5c016e3dfabe0cabd5917333e8fc5f8cebbe83c4842cb0b7c5b1f04038b735 +SHA512 (safe-0.3.17.tar.gz) = 7d9dc15f5694103b3734c262e893f94b6c27b8b1bf4525f2d6ea5ca73e2d66715c028259ede9e8064e3579dd63342dd088c4afa764bcaeda09434515435416ec From cfb6b24d1ad2562d7efa94bd45c709714a809695 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Thu, 31 Jan 2019 21:57:15 +0000 Subject: [PATCH 36/54] - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild Signed-off-by: Fedora Release Engineering --- ghc-safe.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/ghc-safe.spec b/ghc-safe.spec index 51616dd..48cd421 100644 --- a/ghc-safe.spec +++ b/ghc-safe.spec @@ -9,7 +9,7 @@ Name: ghc-%{pkg_name} Version: 0.3.17 -Release: 1%{?dist} +Release: 2%{?dist} Summary: Library of safe (exception free) functions License: BSD @@ -101,6 +101,9 @@ This package provides the Haskell %{pkg_name} library development files. %changelog +* Thu Jan 31 2019 Fedora Release Engineering - 0.3.17-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild + * Sun Jul 22 2018 Jens Petersen - 0.3.17-1 - update to 0.3.17 From 6ec9689f9543e83a9738b1fc365fd2a3cabfc30a Mon Sep 17 00:00:00 2001 From: Jens Petersen Date: Sun, 17 Feb 2019 22:46:56 +0800 Subject: [PATCH 37/54] refresh to cabal-rpm-0.13 --- ghc-safe.spec | 19 ++++++++++++++++--- 1 file changed, 16 insertions(+), 3 deletions(-) diff --git a/ghc-safe.spec b/ghc-safe.spec index 48cd421..b6b453c 100644 --- a/ghc-safe.spec +++ b/ghc-safe.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 safe @@ -9,16 +9,18 @@ Name: ghc-%{pkg_name} Version: 0.3.17 -Release: 2%{?dist} +Release: 3%{?dist} Summary: Library of safe (exception free) functions License: BSD Url: https://hackage.haskell.org/package/%{pkg_name} +# Begin cabal-rpm sources: Source0: https://hackage.haskell.org/package/%{pkgver}/%{pkgver}.tar.gz +# End cabal-rpm sources +# Begin cabal-rpm deps: BuildRequires: ghc-Cabal-devel BuildRequires: ghc-rpm-macros -# Begin cabal-rpm deps: %if %{with tests} BuildRequires: ghc-QuickCheck-devel BuildRequires: ghc-deepseq-devel @@ -69,15 +71,21 @@ This package provides the Haskell %{pkg_name} library development files. %prep +# Begin cabal-rpm setup: %setup -q -n %{pkgver} +# End cabal-rpm setup %build +# Begin cabal-rpm build: %ghc_lib_build +# End cabal-rpm build %install +# Begin cabal-rpm install %ghc_lib_install +# End cabal-rpm install %check @@ -93,7 +101,9 @@ This package provides the Haskell %{pkg_name} library development files. %files -f %{name}.files +# Begin cabal-rpm files: %license LICENSE +# End cabal-rpm files %files devel -f %{name}-devel.files @@ -101,6 +111,9 @@ This package provides the Haskell %{pkg_name} library development files. %changelog +* Sun Feb 17 2019 Jens Petersen - 0.3.17-3 +- refresh to cabal-rpm-0.13 + * Thu Jan 31 2019 Fedora Release Engineering - 0.3.17-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild From aabac29f20d78d4e9c5a02433c50894a74f7f4e9 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Thu, 25 Jul 2019 02:56:27 +0000 Subject: [PATCH 38/54] - Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild Signed-off-by: Fedora Release Engineering --- ghc-safe.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/ghc-safe.spec b/ghc-safe.spec index b6b453c..941fe10 100644 --- a/ghc-safe.spec +++ b/ghc-safe.spec @@ -9,7 +9,7 @@ Name: ghc-%{pkg_name} Version: 0.3.17 -Release: 3%{?dist} +Release: 4%{?dist} Summary: Library of safe (exception free) functions License: BSD @@ -111,6 +111,9 @@ This package provides the Haskell %{pkg_name} library development files. %changelog +* Thu Jul 25 2019 Fedora Release Engineering - 0.3.17-4 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild + * Sun Feb 17 2019 Jens Petersen - 0.3.17-3 - refresh to cabal-rpm-0.13 From 7f8bb796274e673da05d93a542eabc2d7125d3bd Mon Sep 17 00:00:00 2001 From: Jens Petersen Date: Thu, 25 Jul 2019 04:25:34 +0000 Subject: [PATCH 39/54] cabal-rpm-1.0.0: add doc and prof subpkgs --- ghc-safe.spec | 53 ++++++++++++++++++++++++++++++++++++++------------- 1 file changed, 40 insertions(+), 13 deletions(-) diff --git a/ghc-safe.spec b/ghc-safe.spec index 941fe10..abff3e6 100644 --- a/ghc-safe.spec +++ b/ghc-safe.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 safe @@ -9,7 +9,7 @@ Name: ghc-%{pkg_name} Version: 0.3.17 -Release: 4%{?dist} +Release: 5%{?dist} Summary: Library of safe (exception free) functions License: BSD @@ -20,6 +20,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 %if %{with tests} BuildRequires: ghc-QuickCheck-devel @@ -58,11 +64,8 @@ wraps them to provide safe variants. %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} @@ -70,6 +73,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} @@ -92,14 +114,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 @@ -110,7 +124,20 @@ This package provides the Haskell %{pkg_name} library development files. %doc CHANGES.txt README.md +%if %{with haddock} +%files doc -f %{name}-doc.files +%endif + + +%if %{with ghc_prof} +%files prof -f %{name}-prof.files +%endif + + %changelog +* Fri Aug 02 2019 Jens Petersen - 0.3.17-5 +- add doc and prof subpackages (cabal-rpm-1.0.0) + * Thu Jul 25 2019 Fedora Release Engineering - 0.3.17-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild From 2e3c3b2b8fbf5cf3eb5e24509871451c6cd632d1 Mon Sep 17 00:00:00 2001 From: Jens Petersen Date: Mon, 5 Aug 2019 18:31:31 +0800 Subject: [PATCH 40/54] BR prof for lib and static for executable --- ghc-safe.spec | 10 +++------- 1 file changed, 3 insertions(+), 7 deletions(-) diff --git a/ghc-safe.spec b/ghc-safe.spec index abff3e6..d9548d5 100644 --- a/ghc-safe.spec +++ b/ghc-safe.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 safe @@ -20,13 +20,8 @@ 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-base-prof %if %{with tests} BuildRequires: ghc-QuickCheck-devel BuildRequires: ghc-deepseq-devel @@ -64,6 +59,7 @@ wraps them to provide safe variants. %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 b777c5878f49309f0fa2a779b03c1da3f0c57722 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Tue, 28 Jan 2020 21:18:30 +0000 Subject: [PATCH 41/54] - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild Signed-off-by: Fedora Release Engineering --- ghc-safe.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/ghc-safe.spec b/ghc-safe.spec index d9548d5..f445b02 100644 --- a/ghc-safe.spec +++ b/ghc-safe.spec @@ -9,7 +9,7 @@ Name: ghc-%{pkg_name} Version: 0.3.17 -Release: 5%{?dist} +Release: 6%{?dist} Summary: Library of safe (exception free) functions License: BSD @@ -131,6 +131,9 @@ This package provides the Haskell %{pkg_name} profiling library. %changelog +* Tue Jan 28 2020 Fedora Release Engineering - 0.3.17-6 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild + * Fri Aug 02 2019 Jens Petersen - 0.3.17-5 - add doc and prof subpackages (cabal-rpm-1.0.0) From ab881f234ee2ac8b91793d3650345670dff79576 Mon Sep 17 00:00:00 2001 From: Jens Petersen Date: Sat, 8 Feb 2020 22:51:50 +0800 Subject: [PATCH 42/54] refresh to cabal-rpm-2.0.2 --- ghc-safe.spec | 15 ++++++++++++++- 1 file changed, 14 insertions(+), 1 deletion(-) diff --git a/ghc-safe.spec b/ghc-safe.spec index f445b02..edd1b51 100644 --- a/ghc-safe.spec +++ b/ghc-safe.spec @@ -1,4 +1,4 @@ -# generated by cabal-rpm-1.0.1 +# generated by cabal-rpm-2.0.2 # https://fedoraproject.org/wiki/Packaging:Haskell %global pkg_name safe @@ -72,6 +72,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. @@ -82,6 +83,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. @@ -110,6 +112,16 @@ This package provides the Haskell %{pkg_name} profiling library. %cabal_test +%if 0%{?fedora} < 31 || 0%{?rhel} < 8 +%post devel +%ghc_pkg_recache + + +%postun devel +%ghc_pkg_recache +%endif + + %files -f %{name}.files # Begin cabal-rpm files: %license LICENSE @@ -122,6 +134,7 @@ This package provides the Haskell %{pkg_name} profiling library. %if %{with haddock} %files doc -f %{name}-doc.files +%license LICENSE %endif From 801f98179b5a4578b7d6f21ed6fa83dbef23c32b Mon Sep 17 00:00:00 2001 From: Jens Petersen Date: Fri, 14 Feb 2020 11:55:02 +0800 Subject: [PATCH 43/54] update to 0.3.18 --- .gitignore | 1 + ghc-safe.spec | 9 ++++-- safe-0.3.18.cabal | 74 +++++++++++++++++++++++++++++++++++++++++++++++ sources | 2 +- 4 files changed, 83 insertions(+), 3 deletions(-) create mode 100644 safe-0.3.18.cabal diff --git a/.gitignore b/.gitignore index 121cf46..407e926 100644 --- a/.gitignore +++ b/.gitignore @@ -5,3 +5,4 @@ /safe-0.3.14.tar.gz /safe-0.3.15.tar.gz /safe-0.3.17.tar.gz +/safe-0.3.18.tar.gz diff --git a/ghc-safe.spec b/ghc-safe.spec index edd1b51..ff95338 100644 --- a/ghc-safe.spec +++ b/ghc-safe.spec @@ -8,14 +8,15 @@ %bcond_with tests Name: ghc-%{pkg_name} -Version: 0.3.17 -Release: 6%{?dist} +Version: 0.3.18 +Release: 1%{?dist} Summary: Library of safe (exception free) functions 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: @@ -93,6 +94,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 @@ -144,6 +146,9 @@ This package provides the Haskell %{pkg_name} profiling library. %changelog +* Fri Feb 14 2020 Jens Petersen - 0.3.18-1 +- update to 0.3.18 + * Tue Jan 28 2020 Fedora Release Engineering - 0.3.17-6 - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild diff --git a/safe-0.3.18.cabal b/safe-0.3.18.cabal new file mode 100644 index 0000000..6ddafdc --- /dev/null +++ b/safe-0.3.18.cabal @@ -0,0 +1,74 @@ +cabal-version: >= 1.18 +build-type: Simple +name: safe +version: 0.3.18 +x-revision: 1 +license: BSD3 +license-file: LICENSE +category: Unclassified +author: Neil Mitchell +maintainer: Neil Mitchell +copyright: Neil Mitchell 2007-2019 +homepage: https://github.com/ndmitchell/safe#readme +synopsis: Library of safe (exception free) functions +bug-reports: https://github.com/ndmitchell/safe/issues +tested-with: GHC==8.8.1, GHC==8.6.5, GHC==8.4.4, GHC==8.2.2, GHC==8.0.2, GHC==7.10.3 +description: + A library wrapping @Prelude@/@Data.List@ functions that can throw exceptions, such as @head@ and @!!@. + Each unsafe function has up to four variants, e.g. with @tail@: + . + * @tail :: [a] -> [a]@, raises an error on @tail []@. + . + * @tailMay :: [a] -> /Maybe/ [a]@, turns errors into @Nothing@. + . + * @tailDef :: /[a]/ -> [a] -> [a]@, takes a default to return on errors. + . + * @tailNote :: /String/ -> [a] -> [a]@, takes an extra argument which supplements the error message. + . + * @tailSafe :: [a] -> [a]@, returns some sensible default if possible, @[]@ in the case of @tail@. + . + This package is divided into three modules: + . + * "Safe" contains safe variants of @Prelude@ and @Data.List@ functions. + . + * "Safe.Foldable" contains safe variants of @Foldable@ functions. + . + * "Safe.Exact" creates crashing versions of functions like @zip@ (errors if the lists are not equal) and @take@ (errors if there are not enough elements), then wraps them to provide safe variants. +extra-doc-files: + CHANGES.txt + README.md + +source-repository head + type: git + location: https://github.com/ndmitchell/safe.git + +library + default-language: Haskell2010 + build-depends: + base >= 4.8 && < 5 + + exposed-modules: + Safe + Safe.Exact + Safe.Foldable + Safe.Partial + + other-modules: + Safe.Util + +test-suite safe-test + type: exitcode-stdio-1.0 + main-is: Test.hs + default-language: Haskell2010 + + other-modules: + Safe + Safe.Exact + Safe.Foldable + Safe.Partial + Safe.Util + build-depends: + base, + deepseq, + QuickCheck, + safe diff --git a/sources b/sources index 16e8b91..159eb73 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (safe-0.3.17.tar.gz) = 7d9dc15f5694103b3734c262e893f94b6c27b8b1bf4525f2d6ea5ca73e2d66715c028259ede9e8064e3579dd63342dd088c4afa764bcaeda09434515435416ec +SHA512 (safe-0.3.18.tar.gz) = 1721e78fae4af52f9de7c8fe65f918b845b17c346736052d21a61359f2df61c6013647bfa39cf9fe03ba0c123d6a63afc13bd8b6f16550fd6252b4108333b40b From e148921d0aa0e1b7b1be7cfb12b92c84c168f06f Mon Sep 17 00:00:00 2001 From: Jens Petersen Date: Thu, 4 Jun 2020 19:28:03 +0800 Subject: [PATCH 44/54] refresh to cabal-rpm-2.0.5 --- ghc-safe.spec | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ghc-safe.spec b/ghc-safe.spec index ff95338..b5e3080 100644 --- a/ghc-safe.spec +++ b/ghc-safe.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 safe %global pkgver %{pkg_name}-%{version} From 8dc8865bd18f59c1668d5a5eb1b643824329f71e Mon Sep 17 00:00:00 2001 From: Jens Petersen Date: Wed, 10 Jun 2020 11:46:32 +0800 Subject: [PATCH 45/54] update to 0.3.19 --- .gitignore | 1 + ghc-safe.spec | 7 +++-- safe-0.3.18.cabal | 74 ----------------------------------------------- sources | 2 +- 4 files changed, 6 insertions(+), 78 deletions(-) delete mode 100644 safe-0.3.18.cabal diff --git a/.gitignore b/.gitignore index 407e926..90545f2 100644 --- a/.gitignore +++ b/.gitignore @@ -6,3 +6,4 @@ /safe-0.3.15.tar.gz /safe-0.3.17.tar.gz /safe-0.3.18.tar.gz +/safe-0.3.19.tar.gz diff --git a/ghc-safe.spec b/ghc-safe.spec index b5e3080..8fb8217 100644 --- a/ghc-safe.spec +++ b/ghc-safe.spec @@ -8,7 +8,7 @@ %bcond_with tests Name: ghc-%{pkg_name} -Version: 0.3.18 +Version: 0.3.19 Release: 1%{?dist} Summary: Library of safe (exception free) functions @@ -16,7 +16,6 @@ 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: @@ -94,7 +93,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 @@ -146,6 +144,9 @@ cp -bp %{SOURCE1} %{pkg_name}.cabal %changelog +* Wed Jun 10 2020 Jens Petersen - 0.3.19-1 +- update to 0.3.19 + * Fri Feb 14 2020 Jens Petersen - 0.3.18-1 - update to 0.3.18 diff --git a/safe-0.3.18.cabal b/safe-0.3.18.cabal deleted file mode 100644 index 6ddafdc..0000000 --- a/safe-0.3.18.cabal +++ /dev/null @@ -1,74 +0,0 @@ -cabal-version: >= 1.18 -build-type: Simple -name: safe -version: 0.3.18 -x-revision: 1 -license: BSD3 -license-file: LICENSE -category: Unclassified -author: Neil Mitchell -maintainer: Neil Mitchell -copyright: Neil Mitchell 2007-2019 -homepage: https://github.com/ndmitchell/safe#readme -synopsis: Library of safe (exception free) functions -bug-reports: https://github.com/ndmitchell/safe/issues -tested-with: GHC==8.8.1, GHC==8.6.5, GHC==8.4.4, GHC==8.2.2, GHC==8.0.2, GHC==7.10.3 -description: - A library wrapping @Prelude@/@Data.List@ functions that can throw exceptions, such as @head@ and @!!@. - Each unsafe function has up to four variants, e.g. with @tail@: - . - * @tail :: [a] -> [a]@, raises an error on @tail []@. - . - * @tailMay :: [a] -> /Maybe/ [a]@, turns errors into @Nothing@. - . - * @tailDef :: /[a]/ -> [a] -> [a]@, takes a default to return on errors. - . - * @tailNote :: /String/ -> [a] -> [a]@, takes an extra argument which supplements the error message. - . - * @tailSafe :: [a] -> [a]@, returns some sensible default if possible, @[]@ in the case of @tail@. - . - This package is divided into three modules: - . - * "Safe" contains safe variants of @Prelude@ and @Data.List@ functions. - . - * "Safe.Foldable" contains safe variants of @Foldable@ functions. - . - * "Safe.Exact" creates crashing versions of functions like @zip@ (errors if the lists are not equal) and @take@ (errors if there are not enough elements), then wraps them to provide safe variants. -extra-doc-files: - CHANGES.txt - README.md - -source-repository head - type: git - location: https://github.com/ndmitchell/safe.git - -library - default-language: Haskell2010 - build-depends: - base >= 4.8 && < 5 - - exposed-modules: - Safe - Safe.Exact - Safe.Foldable - Safe.Partial - - other-modules: - Safe.Util - -test-suite safe-test - type: exitcode-stdio-1.0 - main-is: Test.hs - default-language: Haskell2010 - - other-modules: - Safe - Safe.Exact - Safe.Foldable - Safe.Partial - Safe.Util - build-depends: - base, - deepseq, - QuickCheck, - safe diff --git a/sources b/sources index 159eb73..37dded8 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (safe-0.3.18.tar.gz) = 1721e78fae4af52f9de7c8fe65f918b845b17c346736052d21a61359f2df61c6013647bfa39cf9fe03ba0c123d6a63afc13bd8b6f16550fd6252b4108333b40b +SHA512 (safe-0.3.19.tar.gz) = 9e987a895f0f888338bb2b0088732a404246a28ce32d73808ed6aa3b6d909da884ec54d5fe71fd190e287f108be1800bef2865acfcfac3bf6873dfb7c679cfea From c45c897e165a4a54fa42805a15588dc8d6821599 Mon Sep 17 00:00:00 2001 From: Jens Petersen Date: Fri, 19 Jun 2020 16:56:41 +0800 Subject: [PATCH 46/54] refresh to cabal-rpm-2.0.6 --- ghc-safe.spec | 12 +----------- 1 file changed, 1 insertion(+), 11 deletions(-) diff --git a/ghc-safe.spec b/ghc-safe.spec index 8fb8217..bda7933 100644 --- a/ghc-safe.spec +++ b/ghc-safe.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 safe @@ -112,16 +112,6 @@ This package provides the Haskell %{pkg_name} profiling library. %cabal_test -%if 0%{?fedora} < 31 || 0%{?rhel} < 8 -%post devel -%ghc_pkg_recache - - -%postun devel -%ghc_pkg_recache -%endif - - %files -f %{name}.files # Begin cabal-rpm files: %license LICENSE From f06e5d9c68d6f431e4ccc6a16523fda52fec1432 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Mon, 27 Jul 2020 19:36:25 +0000 Subject: [PATCH 47/54] - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild Signed-off-by: Fedora Release Engineering --- ghc-safe.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/ghc-safe.spec b/ghc-safe.spec index bda7933..81817e3 100644 --- a/ghc-safe.spec +++ b/ghc-safe.spec @@ -9,7 +9,7 @@ Name: ghc-%{pkg_name} Version: 0.3.19 -Release: 1%{?dist} +Release: 2%{?dist} Summary: Library of safe (exception free) functions License: BSD @@ -134,6 +134,9 @@ This package provides the Haskell %{pkg_name} profiling library. %changelog +* Mon Jul 27 2020 Fedora Release Engineering - 0.3.19-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild + * Wed Jun 10 2020 Jens Petersen - 0.3.19-1 - update to 0.3.19 From a3c8eed0dcb228997cd8a43d1541952b93bfa6d1 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Sat, 1 Aug 2020 01:25:20 +0000 Subject: [PATCH 48/54] - Second attempt - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild Signed-off-by: Fedora Release Engineering --- ghc-safe.spec | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/ghc-safe.spec b/ghc-safe.spec index 81817e3..4a1578b 100644 --- a/ghc-safe.spec +++ b/ghc-safe.spec @@ -9,7 +9,7 @@ Name: ghc-%{pkg_name} Version: 0.3.19 -Release: 2%{?dist} +Release: 3%{?dist} Summary: Library of safe (exception free) functions License: BSD @@ -134,6 +134,10 @@ This package provides the Haskell %{pkg_name} profiling library. %changelog +* Sat Aug 01 2020 Fedora Release Engineering - 0.3.19-3 +- Second attempt - Rebuilt for + https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild + * Mon Jul 27 2020 Fedora Release Engineering - 0.3.19-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild From 94ff526e3c4828450e52add3558e5071ab33254f Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Tue, 26 Jan 2021 07:40:37 +0000 Subject: [PATCH 49/54] - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild Signed-off-by: Fedora Release Engineering --- ghc-safe.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/ghc-safe.spec b/ghc-safe.spec index 4a1578b..d314556 100644 --- a/ghc-safe.spec +++ b/ghc-safe.spec @@ -9,7 +9,7 @@ Name: ghc-%{pkg_name} Version: 0.3.19 -Release: 3%{?dist} +Release: 4%{?dist} Summary: Library of safe (exception free) functions License: BSD @@ -134,6 +134,9 @@ This package provides the Haskell %{pkg_name} profiling library. %changelog +* Tue Jan 26 2021 Fedora Release Engineering - 0.3.19-4 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild + * Sat Aug 01 2020 Fedora Release Engineering - 0.3.19-3 - Second attempt - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild From 7ec3a0dce7741f5b03b3823510074c18d19e7d00 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Thu, 22 Jul 2021 01:11:26 +0000 Subject: [PATCH 50/54] - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild Signed-off-by: Fedora Release Engineering --- ghc-safe.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/ghc-safe.spec b/ghc-safe.spec index d314556..3997e87 100644 --- a/ghc-safe.spec +++ b/ghc-safe.spec @@ -9,7 +9,7 @@ Name: ghc-%{pkg_name} Version: 0.3.19 -Release: 4%{?dist} +Release: 5%{?dist} Summary: Library of safe (exception free) functions License: BSD @@ -134,6 +134,9 @@ This package provides the Haskell %{pkg_name} profiling library. %changelog +* Thu Jul 22 2021 Fedora Release Engineering - 0.3.19-5 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild + * Tue Jan 26 2021 Fedora Release Engineering - 0.3.19-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild From d366136dd431040c548a6f9d61b4b3be42d23fa2 Mon Sep 17 00:00:00 2001 From: Jens Petersen Date: Thu, 8 Jul 2021 00:30:13 +0800 Subject: [PATCH 51/54] refresh to cabal-rpm-2.0.9 --- ghc-safe.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/ghc-safe.spec b/ghc-safe.spec index 3997e87..ffcd97e 100644 --- a/ghc-safe.spec +++ b/ghc-safe.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 safe @@ -73,6 +73,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. @@ -109,7 +110,9 @@ This package provides the Haskell %{pkg_name} profiling library. %check +%if %{with tests} %cabal_test +%endif %files -f %{name}.files From 786931d1e7f8327b1209c1c56485e62e892bc553 Mon Sep 17 00:00:00 2001 From: Jens Petersen Date: Fri, 6 Aug 2021 13:06:28 +0800 Subject: [PATCH 52/54] bump release --- ghc-safe.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/ghc-safe.spec b/ghc-safe.spec index ffcd97e..59d582b 100644 --- a/ghc-safe.spec +++ b/ghc-safe.spec @@ -9,7 +9,7 @@ Name: ghc-%{pkg_name} Version: 0.3.19 -Release: 5%{?dist} +Release: 6%{?dist} Summary: Library of safe (exception free) functions License: BSD @@ -137,6 +137,9 @@ This package provides the Haskell %{pkg_name} profiling library. %changelog +* Fri Aug 06 2021 Jens Petersen - 0.3.19-6 +- rebuild + * Thu Jul 22 2021 Fedora Release Engineering - 0.3.19-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild From bc8cbefd9b7c12dfc914fe2fc27b89242c6bdeaa Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Thu, 20 Jan 2022 05:28:18 +0000 Subject: [PATCH 53/54] - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild Signed-off-by: Fedora Release Engineering --- ghc-safe.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/ghc-safe.spec b/ghc-safe.spec index 59d582b..e3a3fc0 100644 --- a/ghc-safe.spec +++ b/ghc-safe.spec @@ -9,7 +9,7 @@ Name: ghc-%{pkg_name} Version: 0.3.19 -Release: 6%{?dist} +Release: 7%{?dist} Summary: Library of safe (exception free) functions License: BSD @@ -137,6 +137,9 @@ This package provides the Haskell %{pkg_name} profiling library. %changelog +* Thu Jan 20 2022 Fedora Release Engineering - 0.3.19-7 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild + * Fri Aug 06 2021 Jens Petersen - 0.3.19-6 - rebuild From 4185cfcda95b45a8c2b1ecd20ca95dd6ffe3c3d1 Mon Sep 17 00:00:00 2001 From: MSVSphere Packaging Team Date: Mon, 30 Oct 2023 21:54:10 +0300 Subject: [PATCH 54/54] 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 37dded8..0000000 --- a/sources +++ /dev/null @@ -1 +0,0 @@ -SHA512 (safe-0.3.19.tar.gz) = 9e987a895f0f888338bb2b0088732a404246a28ce32d73808ed6aa3b6d909da884ec54d5fe71fd190e287f108be1800bef2865acfcfac3bf6873dfb7c679cfea