From 1df155d97b589286ad19169084bc811777dfa49e Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Thu, 9 Dec 2010 00:59:03 +0000 Subject: [PATCH 01/55] 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 6b8d108da4d9f1645637d6c80ac81a9fe91b0fd1 Mon Sep 17 00:00:00 2001 From: Jens Petersen Date: Thu, 9 Dec 2010 11:31:43 +1000 Subject: [PATCH 02/55] initial import (#652571) --- .gitignore | 1 + ghc-digest.spec | 69 +++++++++++++++++++++++++++++++++++++++++++++++++ sources | 1 + 3 files changed, 71 insertions(+) create mode 100644 ghc-digest.spec diff --git a/.gitignore b/.gitignore index e69de29..c285f81 100644 --- a/.gitignore +++ b/.gitignore @@ -0,0 +1 @@ +/digest-0.0.0.8.tar.gz diff --git a/ghc-digest.spec b/ghc-digest.spec new file mode 100644 index 0000000..ecd72ca --- /dev/null +++ b/ghc-digest.spec @@ -0,0 +1,69 @@ +%global pkg_name digest + +%global common_summary Haskell %{pkg_name} library + +%global common_description This package provides efficient cryptographic hash implementations for strict\ +and lazy bytestrings. For now, CRC32 and Adler32 are supported; they are\ +implemented as FFI bindings to efficient code from zlib. + +%global ghc_pkg_c_deps zlib-devel + +%bcond_without shared +%bcond_without hscolour + +# debuginfo is not useful for ghc +%global debug_package %{nil} + +Name: ghc-%{pkg_name} +Version: 0.0.0.8 +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 +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) +# fedora ghc archs: +ExclusiveArch: %{ix86} x86_64 ppc alpha +BuildRequires: ghc, ghc-doc, ghc-prof +BuildRequires: ghc-rpm-macros >= 0.8.1 +%if %{with hscolour} +BuildRequires: hscolour +%endif +%{?ghc_pkg_c_deps:BuildRequires: %{ghc_pkg_c_deps}} + +%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 +rm -rf $RPM_BUILD_ROOT +%ghc_lib_install + + +%clean +rm -rf $RPM_BUILD_ROOT + + +%{?ghc_lib_package} + + +%changelog +* Fri Nov 12 2010 Jens Petersen - 0.0.0.8-1 +- BSD +- BR zlib-devel + +* Fri Nov 12 2010 Fedora Haskell SIG - 0.0.0.8-0 +- initial packaging for Fedora automatically generated by cabal2spec-0.22.2 diff --git a/sources b/sources index e69de29..228575e 100644 --- a/sources +++ b/sources @@ -0,0 +1 @@ +3a730a6439b14fb7a30bcd03c9e3f4ff digest-0.0.0.8.tar.gz From 08434f0d0e9a8c86efd397643df6eb9062beefed Mon Sep 17 00:00:00 2001 From: Jens Petersen Date: Wed, 19 Jan 2011 10:29:08 +1000 Subject: [PATCH 03/55] update to cabal2spec-0.22.4 --- ghc-digest.spec | 18 +++++------------- 1 file changed, 5 insertions(+), 13 deletions(-) diff --git a/ghc-digest.spec b/ghc-digest.spec index ecd72ca..c60c1b3 100644 --- a/ghc-digest.spec +++ b/ghc-digest.spec @@ -8,29 +8,23 @@ implemented as FFI bindings to efficient code from zlib. %global ghc_pkg_c_deps zlib-devel -%bcond_without shared -%bcond_without hscolour - # debuginfo is not useful for ghc %global debug_package %{nil} Name: ghc-%{pkg_name} Version: 0.0.0.8 -Release: 1%{?dist} +Release: 2%{?dist} Summary: %{common_summary} Group: System Environment/Libraries License: BSD URL: http://hackage.haskell.org/package/%{pkg_name} Source0: http://hackage.haskell.org/packages/archive/%{pkg_name}/%{version}/%{pkg_name}-%{version}.tar.gz -BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) # fedora ghc archs: ExclusiveArch: %{ix86} x86_64 ppc alpha BuildRequires: ghc, ghc-doc, ghc-prof -BuildRequires: ghc-rpm-macros >= 0.8.1 -%if %{with hscolour} +BuildRequires: ghc-rpm-macros >= 0.7.3 BuildRequires: hscolour -%endif %{?ghc_pkg_c_deps:BuildRequires: %{ghc_pkg_c_deps}} %description @@ -49,18 +43,16 @@ This package provides the shared library. %install -rm -rf $RPM_BUILD_ROOT %ghc_lib_install -%clean -rm -rf $RPM_BUILD_ROOT - - %{?ghc_lib_package} %changelog +* Wed Jan 19 2011 Jens Petersen - 0.0.0.8-2 +- update to cabal2spec-0.22.4 + * Fri Nov 12 2010 Jens Petersen - 0.0.0.8-1 - BSD - BR zlib-devel From b7d1f71e3fdc1ab9ec639d48548168e5d56c67dd Mon Sep 17 00:00:00 2001 From: Dennis Gilmore Date: Tue, 8 Feb 2011 19:08:35 -0600 Subject: [PATCH 04/55] - Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild --- ghc-digest.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/ghc-digest.spec b/ghc-digest.spec index c60c1b3..214389d 100644 --- a/ghc-digest.spec +++ b/ghc-digest.spec @@ -13,7 +13,7 @@ implemented as FFI bindings to efficient code from zlib. Name: ghc-%{pkg_name} Version: 0.0.0.8 -Release: 2%{?dist} +Release: 3%{?dist} Summary: %{common_summary} Group: System Environment/Libraries @@ -50,6 +50,9 @@ This package provides the shared library. %changelog +* Tue Feb 08 2011 Fedora Release Engineering - 0.0.0.8-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild + * Wed Jan 19 2011 Jens Petersen - 0.0.0.8-2 - update to cabal2spec-0.22.4 From 74c2ca509d52f6a778ebef700d5544d3c97031f4 Mon Sep 17 00:00:00 2001 From: "Fabio M. Di Nitto" Date: Thu, 10 Mar 2011 09:15:38 +0100 Subject: [PATCH 05/55] Enable build on sparcv9 Signed-off-by: Fabio M. Di Nitto --- ghc-digest.spec | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/ghc-digest.spec b/ghc-digest.spec index 214389d..043f18e 100644 --- a/ghc-digest.spec +++ b/ghc-digest.spec @@ -13,7 +13,7 @@ implemented as FFI bindings to efficient code from zlib. Name: ghc-%{pkg_name} Version: 0.0.0.8 -Release: 3%{?dist} +Release: 4%{?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 @@ -50,6 +50,9 @@ This package provides the shared library. %changelog +* Thu Mar 10 2011 Fabio M. Di Nitto - 0.0.0.8-4 +- Enable build on sparcv9 + * Tue Feb 08 2011 Fedora Release Engineering - 0.0.0.8-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild From 2d2ebcaf0412e512397cc1750594e4920f6c2339 Mon Sep 17 00:00:00 2001 From: Jens Petersen Date: Sat, 28 May 2011 19:20:10 +0900 Subject: [PATCH 06/55] update to 0.0.0.9 and cabal2spec-0.23 --- .gitignore | 1 + ghc-digest.spec | 19 ++++++++++--------- sources | 2 +- 3 files changed, 12 insertions(+), 10 deletions(-) diff --git a/.gitignore b/.gitignore index c285f81..85ce631 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1,2 @@ /digest-0.0.0.8.tar.gz +/digest-0.0.0.9.tar.gz diff --git a/ghc-digest.spec b/ghc-digest.spec index 043f18e..654963d 100644 --- a/ghc-digest.spec +++ b/ghc-digest.spec @@ -12,8 +12,8 @@ implemented as FFI bindings to efficient code from zlib. %global debug_package %{nil} Name: ghc-%{pkg_name} -Version: 0.0.0.8 -Release: 4%{?dist} +Version: 0.0.0.9 +Release: 1%{?dist} Summary: %{common_summary} Group: System Environment/Libraries @@ -21,17 +21,14 @@ License: BSD URL: http://hackage.haskell.org/package/%{pkg_name} Source0: http://hackage.haskell.org/packages/archive/%{pkg_name}/%{version}/%{pkg_name}-%{version}.tar.gz # fedora ghc archs: -ExclusiveArch: %{ix86} x86_64 ppc alpha sparcv9 -BuildRequires: ghc, ghc-doc, ghc-prof -BuildRequires: ghc-rpm-macros >= 0.7.3 +ExclusiveArch: %{ix86} x86_64 ppc alpha sparcv9 ppc64 +BuildRequires: ghc-prof +BuildRequires: ghc-rpm-macros BuildRequires: hscolour %{?ghc_pkg_c_deps:BuildRequires: %{ghc_pkg_c_deps}} %description %{common_description} -%if %{with shared} -This package provides the shared library. -%endif %prep @@ -46,10 +43,14 @@ This package provides the shared library. %ghc_lib_install -%{?ghc_lib_package} +%ghc_lib_package %changelog +* Sat May 28 2011 Jens Petersen - 0.0.0.9-1 +- update to 0.0.9 +- update to cabal2spec-0.23: add ppc64 + * Thu Mar 10 2011 Fabio M. Di Nitto - 0.0.0.8-4 - Enable build on sparcv9 diff --git a/sources b/sources index 228575e..06ec740 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -3a730a6439b14fb7a30bcd03c9e3f4ff digest-0.0.0.8.tar.gz +0f35175426d9e443516ac3fa2bf91311 digest-0.0.0.9.tar.gz From 96d7ec02db225be80c333bcc433426043dbb452a Mon Sep 17 00:00:00 2001 From: Jens Petersen Date: Wed, 22 Jun 2011 18:07:27 +0900 Subject: [PATCH 07/55] use BR ghc-Cabal-devel and ghc_arches (cabal2spec-0.23.2) --- ghc-digest.spec | 13 ++++++------- 1 file changed, 6 insertions(+), 7 deletions(-) diff --git a/ghc-digest.spec b/ghc-digest.spec index 654963d..e86e5b0 100644 --- a/ghc-digest.spec +++ b/ghc-digest.spec @@ -8,21 +8,17 @@ implemented as FFI bindings to efficient code from zlib. %global ghc_pkg_c_deps zlib-devel -# debuginfo is not useful for ghc -%global debug_package %{nil} - Name: ghc-%{pkg_name} Version: 0.0.0.9 -Release: 1%{?dist} +Release: 2%{?dist} Summary: %{common_summary} Group: System Environment/Libraries License: BSD URL: http://hackage.haskell.org/package/%{pkg_name} Source0: http://hackage.haskell.org/packages/archive/%{pkg_name}/%{version}/%{pkg_name}-%{version}.tar.gz -# fedora ghc archs: -ExclusiveArch: %{ix86} x86_64 ppc alpha sparcv9 ppc64 -BuildRequires: ghc-prof +ExclusiveArch: %{ghc_arches} +BuildRequires: ghc-Cabal-devel BuildRequires: ghc-rpm-macros BuildRequires: hscolour %{?ghc_pkg_c_deps:BuildRequires: %{ghc_pkg_c_deps}} @@ -47,6 +43,9 @@ BuildRequires: hscolour %changelog +* Wed Jun 22 2011 Jens Petersen - 0.0.0.9-2 +- BR ghc-Cabal-devel and use ghc_excluded_archs (cabal2spec-0.23.2) + * Sat May 28 2011 Jens Petersen - 0.0.0.9-1 - update to 0.0.9 - update to cabal2spec-0.23: add ppc64 From a6caba20add500e948a0594164ea61b2206b1439 Mon Sep 17 00:00:00 2001 From: Jens Petersen Date: Wed, 22 Jun 2011 18:43:39 +0900 Subject: [PATCH 08/55] BR bytestring --- ghc-digest.spec | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/ghc-digest.spec b/ghc-digest.spec index e86e5b0..11546cc 100644 --- a/ghc-digest.spec +++ b/ghc-digest.spec @@ -22,6 +22,7 @@ BuildRequires: ghc-Cabal-devel BuildRequires: ghc-rpm-macros BuildRequires: hscolour %{?ghc_pkg_c_deps:BuildRequires: %{ghc_pkg_c_deps}} +BuildRequires: ghc-bytestring-prof %description %{common_description} @@ -44,7 +45,7 @@ BuildRequires: hscolour %changelog * Wed Jun 22 2011 Jens Petersen - 0.0.0.9-2 -- BR ghc-Cabal-devel and use ghc_excluded_archs (cabal2spec-0.23.2) +- BR ghc-Cabal-devel and use ghc_arches (cabal2spec-0.23.2) * Sat May 28 2011 Jens Petersen - 0.0.0.9-1 - update to 0.0.9 From f8b5f460e7756a07bc30f945473724f786e1f6b7 Mon Sep 17 00:00:00 2001 From: Jens Petersen Date: Wed, 28 Sep 2011 19:38:13 +0900 Subject: [PATCH 09/55] update to 0.0.1.0 --- .gitignore | 1 + ghc-digest.spec | 10 +++++++--- sources | 2 +- 3 files changed, 9 insertions(+), 4 deletions(-) diff --git a/.gitignore b/.gitignore index 85ce631..6d5d259 100644 --- a/.gitignore +++ b/.gitignore @@ -1,2 +1,3 @@ /digest-0.0.0.8.tar.gz /digest-0.0.0.9.tar.gz +/digest-0.0.1.0.tar.gz diff --git a/ghc-digest.spec b/ghc-digest.spec index 11546cc..5923dc8 100644 --- a/ghc-digest.spec +++ b/ghc-digest.spec @@ -6,11 +6,11 @@ and lazy bytestrings. For now, CRC32 and Adler32 are supported; they are\ implemented as FFI bindings to efficient code from zlib. -%global ghc_pkg_c_deps zlib-devel +%global ghc_pkg_c_deps zlib-devel%{?_isa} Name: ghc-%{pkg_name} -Version: 0.0.0.9 -Release: 2%{?dist} +Version: 0.0.1.0 +Release: 1%{?dist} Summary: %{common_summary} Group: System Environment/Libraries @@ -44,6 +44,10 @@ BuildRequires: ghc-bytestring-prof %changelog +* Wed Sep 28 2011 Jens Petersen - 0.0.1.0-1 +- update to 0.0.1.0 +- use _isa for zlib-devel dependency + * Wed Jun 22 2011 Jens Petersen - 0.0.0.9-2 - BR ghc-Cabal-devel and use ghc_arches (cabal2spec-0.23.2) diff --git a/sources b/sources index 06ec740..45fc851 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -0f35175426d9e443516ac3fa2bf91311 digest-0.0.0.9.tar.gz +daedf316a3af2f66307576af333cc265 digest-0.0.1.0.tar.gz From 5fc06d06259d1d36368ec09237e9fcd05b4a17b9 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 12:41:49 +0200 Subject: [PATCH 10/55] rebuild with new gmp --- ghc-digest.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/ghc-digest.spec b/ghc-digest.spec index 5923dc8..1ce6052 100644 --- a/ghc-digest.spec +++ b/ghc-digest.spec @@ -10,7 +10,7 @@ implemented as FFI bindings to efficient code from zlib. Name: ghc-%{pkg_name} Version: 0.0.1.0 -Release: 1%{?dist} +Release: 1%{?dist}.1 Summary: %{common_summary} Group: System Environment/Libraries @@ -44,6 +44,9 @@ BuildRequires: ghc-bytestring-prof %changelog +* Tue Oct 11 2011 Peter Schiffer - 0.0.1.0-1.1 +- rebuild with new gmp + * Wed Sep 28 2011 Jens Petersen - 0.0.1.0-1 - update to 0.0.1.0 - use _isa for zlib-devel dependency From b6627c3d78ab8cdf64f31e850a2d5ecb06d4a9d8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marcela=20Ma=C5=A1l=C3=A1=C5=88ov=C3=A1?= Date: Thu, 20 Oct 2011 22:30:34 +0200 Subject: [PATCH 11/55] rebuild with new gmp without compat lib --- ghc-digest.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/ghc-digest.spec b/ghc-digest.spec index 1ce6052..90244c5 100644 --- a/ghc-digest.spec +++ b/ghc-digest.spec @@ -10,7 +10,7 @@ implemented as FFI bindings to efficient code from zlib. Name: ghc-%{pkg_name} Version: 0.0.1.0 -Release: 1%{?dist}.1 +Release: 1%{?dist}.2 Summary: %{common_summary} Group: System Environment/Libraries @@ -44,6 +44,9 @@ BuildRequires: ghc-bytestring-prof %changelog +* Thu Oct 20 2011 Marcela Mašláňová - 0.0.1.0-1.2 +- rebuild with new gmp without compat lib + * Tue Oct 11 2011 Peter Schiffer - 0.0.1.0-1.1 - rebuild with new gmp From 455dfcdd8e4cd3403d20d95a59c07379e2640966 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:46:39 +0200 Subject: [PATCH 12/55] rebuild with new gmp without compat lib --- ghc-digest.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/ghc-digest.spec b/ghc-digest.spec index 90244c5..363f1fd 100644 --- a/ghc-digest.spec +++ b/ghc-digest.spec @@ -10,7 +10,7 @@ implemented as FFI bindings to efficient code from zlib. Name: ghc-%{pkg_name} Version: 0.0.1.0 -Release: 1%{?dist}.2 +Release: 1%{?dist}.3 Summary: %{common_summary} Group: System Environment/Libraries @@ -44,6 +44,9 @@ BuildRequires: ghc-bytestring-prof %changelog +* Mon Oct 24 2011 Marcela Mašláňová - 0.0.1.0-1.3 +- rebuild with new gmp without compat lib + * Thu Oct 20 2011 Marcela Mašláňová - 0.0.1.0-1.2 - rebuild with new gmp without compat lib From 1a7e7c457ea7e64ae20e3a7d8c424bf535cfd9ad Mon Sep 17 00:00:00 2001 From: Jens Petersen Date: Fri, 6 Jan 2012 17:45:17 +0900 Subject: [PATCH 13/55] update to cabal2spec-0.25.2 --- ghc-digest.spec | 29 ++++++++++++++++++++++------- 1 file changed, 22 insertions(+), 7 deletions(-) diff --git a/ghc-digest.spec b/ghc-digest.spec index 363f1fd..df8aba3 100644 --- a/ghc-digest.spec +++ b/ghc-digest.spec @@ -1,3 +1,7 @@ +# cabal2spec-0.25.2 +# https://fedoraproject.org/wiki/Packaging:Haskell +# https://fedoraproject.org/wiki/PackagingDrafts/Haskell + %global pkg_name digest %global common_summary Haskell %{pkg_name} library @@ -6,22 +10,21 @@ and lazy bytestrings. For now, CRC32 and Adler32 are supported; they are\ implemented as FFI bindings to efficient code from zlib. -%global ghc_pkg_c_deps zlib-devel%{?_isa} - Name: ghc-%{pkg_name} Version: 0.0.1.0 -Release: 1%{?dist}.3 +Release: 2%{?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 -BuildRequires: hscolour -%{?ghc_pkg_c_deps:BuildRequires: %{ghc_pkg_c_deps}} +BuildRequires: ghc-rpm-macros %{!?without_hscolour:hscolour} +# END cabal2spec +BuildRequires: zlib-devel%{?_isa} BuildRequires: ghc-bytestring-prof %description @@ -40,10 +43,22 @@ BuildRequires: ghc-bytestring-prof %ghc_lib_install -%ghc_lib_package +%ghc_devel_package +Requires: zlib-devel%{?_isa} + +%ghc_devel_description + + +%ghc_devel_post_postun + + +%ghc_files %changelog +* Fri Jan 6 2012 Jens Petersen - 0.0.1.0-2 +- update to cabal2spec-0.25.2 + * Mon Oct 24 2011 Marcela Mašláňová - 0.0.1.0-1.3 - rebuild with new gmp without compat lib From 1d8b01c3986123f66354cc3419d0191574ea0a0f Mon Sep 17 00:00:00 2001 From: Jens Petersen Date: Thu, 22 Mar 2012 22:41:58 +0900 Subject: [PATCH 14/55] add license to ghc_files --- ghc-digest.spec | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/ghc-digest.spec b/ghc-digest.spec index df8aba3..fb631b7 100644 --- a/ghc-digest.spec +++ b/ghc-digest.spec @@ -12,7 +12,7 @@ implemented as FFI bindings to efficient code from zlib. Name: ghc-%{pkg_name} Version: 0.0.1.0 -Release: 2%{?dist} +Release: 3%{?dist} Summary: %{common_summary} Group: System Environment/Libraries @@ -52,10 +52,13 @@ Requires: zlib-devel%{?_isa} %ghc_devel_post_postun -%ghc_files +%ghc_files LICENSE %changelog +* Thu Mar 22 2012 Jens Petersen - 0.0.1.0-3 +- add license to ghc_files + * Fri Jan 6 2012 Jens Petersen - 0.0.1.0-2 - update to cabal2spec-0.25.2 From a868483becd0ce1f7e263ec187b4aaf816103e36 Mon Sep 17 00:00:00 2001 From: Jens Petersen Date: Thu, 22 Mar 2012 22:45:36 +0900 Subject: [PATCH 15/55] update to 0.0.1.1 --- .gitignore | 1 + ghc-digest.spec | 7 ++++--- sources | 2 +- 3 files changed, 6 insertions(+), 4 deletions(-) diff --git a/.gitignore b/.gitignore index 6d5d259..3c5bbc5 100644 --- a/.gitignore +++ b/.gitignore @@ -1,3 +1,4 @@ /digest-0.0.0.8.tar.gz /digest-0.0.0.9.tar.gz /digest-0.0.1.0.tar.gz +/digest-0.0.1.1.tar.gz diff --git a/ghc-digest.spec b/ghc-digest.spec index fb631b7..8f3d10f 100644 --- a/ghc-digest.spec +++ b/ghc-digest.spec @@ -11,8 +11,8 @@ and lazy bytestrings. For now, CRC32 and Adler32 are supported; they are\ implemented as FFI bindings to efficient code from zlib. Name: ghc-%{pkg_name} -Version: 0.0.1.0 -Release: 3%{?dist} +Version: 0.0.1.1 +Release: 1%{?dist} Summary: %{common_summary} Group: System Environment/Libraries @@ -56,7 +56,8 @@ Requires: zlib-devel%{?_isa} %changelog -* Thu Mar 22 2012 Jens Petersen - 0.0.1.0-3 +* Thu Mar 22 2012 Jens Petersen - 0.0.1.1-1 +- update to 0.0.1.1 - add license to ghc_files * Fri Jan 6 2012 Jens Petersen - 0.0.1.0-2 diff --git a/sources b/sources index 45fc851..60877bd 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -daedf316a3af2f66307576af333cc265 digest-0.0.1.0.tar.gz +ddc7586f4d5a44ffa03fe6ac7ae39f90 digest-0.0.1.1.tar.gz From e87f9340704781d3282e057952ba5205068d0f7c Mon Sep 17 00:00:00 2001 From: Jens Petersen Date: Mon, 16 Jul 2012 11:09:11 +0900 Subject: [PATCH 16/55] change prof BRs to devel --- ghc-digest.spec | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/ghc-digest.spec b/ghc-digest.spec index 8f3d10f..8763371 100644 --- a/ghc-digest.spec +++ b/ghc-digest.spec @@ -12,7 +12,7 @@ implemented as FFI bindings to efficient code from zlib. Name: ghc-%{pkg_name} Version: 0.0.1.1 -Release: 1%{?dist} +Release: 2%{?dist} Summary: %{common_summary} Group: System Environment/Libraries @@ -25,7 +25,7 @@ BuildRequires: ghc-Cabal-devel BuildRequires: ghc-rpm-macros %{!?without_hscolour:hscolour} # END cabal2spec BuildRequires: zlib-devel%{?_isa} -BuildRequires: ghc-bytestring-prof +BuildRequires: ghc-bytestring-devel %description %{common_description} @@ -56,6 +56,9 @@ Requires: zlib-devel%{?_isa} %changelog +* Mon Jul 16 2012 Jens Petersen - 0.0.1.1-2 +- change prof BRs to devel + * Thu Mar 22 2012 Jens Petersen - 0.0.1.1-1 - update to 0.0.1.1 - add license to ghc_files From 5d5fcca089695a9b004c4ca779efc35d3ec7f298 Mon Sep 17 00:00:00 2001 From: Dennis Gilmore Date: Thu, 19 Jul 2012 00:32:54 -0500 Subject: [PATCH 17/55] - Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild --- ghc-digest.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/ghc-digest.spec b/ghc-digest.spec index 8763371..82efcfe 100644 --- a/ghc-digest.spec +++ b/ghc-digest.spec @@ -12,7 +12,7 @@ implemented as FFI bindings to efficient code from zlib. Name: ghc-%{pkg_name} Version: 0.0.1.1 -Release: 2%{?dist} +Release: 3%{?dist} Summary: %{common_summary} Group: System Environment/Libraries @@ -56,6 +56,9 @@ Requires: zlib-devel%{?_isa} %changelog +* Thu Jul 19 2012 Fedora Release Engineering - 0.0.1.1-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild + * Mon Jul 16 2012 Jens Petersen - 0.0.1.1-2 - change prof BRs to devel From 0fb6b30c8fed136e7f55b96f7d5b3e07192d6397 Mon Sep 17 00:00:00 2001 From: Jens Petersen Date: Sat, 17 Nov 2012 22:57:12 +0900 Subject: [PATCH 18/55] update with cabal-rpm and disable bytestring-in-base flag --- digest-0.0.1.1-bytestring-in-base.patch | 10 ++++++++++ ghc-digest.spec | 22 +++++++++++++--------- 2 files changed, 23 insertions(+), 9 deletions(-) create mode 100644 digest-0.0.1.1-bytestring-in-base.patch diff --git a/digest-0.0.1.1-bytestring-in-base.patch b/digest-0.0.1.1-bytestring-in-base.patch new file mode 100644 index 0000000..4acd8e4 --- /dev/null +++ b/digest-0.0.1.1-bytestring-in-base.patch @@ -0,0 +1,10 @@ +--- digest-0.0.1.1/digest.cabal~ 2012-03-09 16:43:29.000000000 +0900 ++++ digest-0.0.1.1/digest.cabal 2012-11-17 22:43:34.027421368 +0900 +@@ -22,6 +22,7 @@ + flag bytestring-in-base + description: In the ghc-6.6 era the bytestring modules were + included in the base package. ++ default: False + + source-repository head + type: git diff --git a/ghc-digest.spec b/ghc-digest.spec index 82efcfe..51f7322 100644 --- a/ghc-digest.spec +++ b/ghc-digest.spec @@ -1,10 +1,9 @@ -# cabal2spec-0.25.2 # https://fedoraproject.org/wiki/Packaging:Haskell # https://fedoraproject.org/wiki/PackagingDrafts/Haskell %global pkg_name digest -%global common_summary Haskell %{pkg_name} library +%global common_summary Cryptographic hashes for bytestrings %global common_description This package provides efficient cryptographic hash implementations for strict\ and lazy bytestrings. For now, CRC32 and Adler32 are supported; they are\ @@ -12,20 +11,20 @@ implemented as FFI bindings to efficient code from zlib. Name: ghc-%{pkg_name} Version: 0.0.1.1 -Release: 3%{?dist} +Release: 4%{?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} +Patch0: digest-0.0.1.1-bytestring-in-base.patch + BuildRequires: ghc-Cabal-devel -BuildRequires: ghc-rpm-macros %{!?without_hscolour:hscolour} -# END cabal2spec -BuildRequires: zlib-devel%{?_isa} +BuildRequires: ghc-rpm-macros +# Begin cabal-rpm deps: BuildRequires: ghc-bytestring-devel +# End cabal-rpm deps +BuildRequires: zlib-devel%{?_isa} %description %{common_description} @@ -33,6 +32,7 @@ BuildRequires: ghc-bytestring-devel %prep %setup -q -n %{pkg_name}-%{version} +%patch0 -p1 -b .orig %build @@ -56,6 +56,10 @@ Requires: zlib-devel%{?_isa} %changelog +* Sat Nov 17 2012 Jens Petersen - 0.0.1.1-4 +- update with cabal-rpm +- disable bytestring-in-base flag with patch + * Thu Jul 19 2012 Fedora Release Engineering - 0.0.1.1-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild From 9ed7466f0e6b35884db30016403cdf7c7dfaaa84 Mon Sep 17 00:00:00 2001 From: Dennis Gilmore Date: Wed, 13 Feb 2013 17:06:10 -0600 Subject: [PATCH 19/55] - Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild --- ghc-digest.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/ghc-digest.spec b/ghc-digest.spec index 51f7322..7a8f20e 100644 --- a/ghc-digest.spec +++ b/ghc-digest.spec @@ -11,7 +11,7 @@ implemented as FFI bindings to efficient code from zlib. Name: ghc-%{pkg_name} Version: 0.0.1.1 -Release: 4%{?dist} +Release: 5%{?dist} Summary: %{common_summary} License: BSD @@ -56,6 +56,9 @@ Requires: zlib-devel%{?_isa} %changelog +* Wed Feb 13 2013 Fedora Release Engineering - 0.0.1.1-5 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild + * Sat Nov 17 2012 Jens Petersen - 0.0.1.1-4 - update with cabal-rpm - disable bytestring-in-base flag with patch From cde48b61c34100d21485e4f902fdc838a305b547 Mon Sep 17 00:00:00 2001 From: Jens Petersen Date: Fri, 7 Jun 2013 12:11:01 +0900 Subject: [PATCH 20/55] update to 0.0.1.2 and simplified Haskell Packaging Guidelines --- .gitignore | 1 + digest-0.0.1.1-bytestring-in-base.patch | 10 ----- ghc-digest.spec | 52 ++++++++++++++++--------- sources | 2 +- 4 files changed, 35 insertions(+), 30 deletions(-) delete mode 100644 digest-0.0.1.1-bytestring-in-base.patch diff --git a/.gitignore b/.gitignore index 3c5bbc5..7c5169b 100644 --- a/.gitignore +++ b/.gitignore @@ -2,3 +2,4 @@ /digest-0.0.0.9.tar.gz /digest-0.0.1.0.tar.gz /digest-0.0.1.1.tar.gz +/digest-0.0.1.2.tar.gz diff --git a/digest-0.0.1.1-bytestring-in-base.patch b/digest-0.0.1.1-bytestring-in-base.patch deleted file mode 100644 index 4acd8e4..0000000 --- a/digest-0.0.1.1-bytestring-in-base.patch +++ /dev/null @@ -1,10 +0,0 @@ ---- digest-0.0.1.1/digest.cabal~ 2012-03-09 16:43:29.000000000 +0900 -+++ digest-0.0.1.1/digest.cabal 2012-11-17 22:43:34.027421368 +0900 -@@ -22,6 +22,7 @@ - flag bytestring-in-base - description: In the ghc-6.6 era the bytestring modules were - included in the base package. -+ default: False - - source-repository head - type: git diff --git a/ghc-digest.spec b/ghc-digest.spec index 7a8f20e..7b17145 100644 --- a/ghc-digest.spec +++ b/ghc-digest.spec @@ -1,38 +1,45 @@ # https://fedoraproject.org/wiki/Packaging:Haskell -# https://fedoraproject.org/wiki/PackagingDrafts/Haskell %global pkg_name digest -%global common_summary Cryptographic hashes for bytestrings - -%global common_description This package provides efficient cryptographic hash implementations for strict\ -and lazy bytestrings. For now, CRC32 and Adler32 are supported; they are\ -implemented as FFI bindings to efficient code from zlib. - Name: ghc-%{pkg_name} -Version: 0.0.1.1 -Release: 5%{?dist} -Summary: %{common_summary} +Version: 0.0.1.2 +Release: 1%{?dist} +Summary: Cryptographic hashes for bytestrings 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 -Patch0: digest-0.0.1.1-bytestring-in-base.patch BuildRequires: ghc-Cabal-devel BuildRequires: ghc-rpm-macros # Begin cabal-rpm deps: BuildRequires: ghc-bytestring-devel -# End cabal-rpm deps BuildRequires: zlib-devel%{?_isa} +# End cabal-rpm deps %description -%{common_description} +This package provides efficient cryptographic hash implementations for +strict and lazy bytestrings. For now, CRC32 and Adler32 are supported; +they are implemented as FFI bindings to efficient code from zlib. + + +%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} +# Begin cabal-rpm deps: +Requires: zlib-devel%{?_isa} +# End cabal-rpm deps + +%description devel +This package provides the Haskell %{pkg_name} library development files. %prep %setup -q -n %{pkg_name}-%{version} -%patch0 -p1 -b .orig %build @@ -43,19 +50,26 @@ BuildRequires: zlib-devel%{?_isa} %ghc_lib_install -%ghc_devel_package -Requires: zlib-devel%{?_isa} +%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 +* Fri Jun 07 2013 Jens Petersen - 0.0.1.2-1 +- update to 0.0.1.2 +- update to new simplified Haskell Packaging Guidelines + * Wed Feb 13 2013 Fedora Release Engineering - 0.0.1.1-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild diff --git a/sources b/sources index 60877bd..701df39 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -ddc7586f4d5a44ffa03fe6ac7ae39f90 digest-0.0.1.1.tar.gz +83ed3d8c10d24c88d5ddf4f3914507ac digest-0.0.1.2.tar.gz From bf8e62b90af6dc7b97278ca415ec6f710c6d68e6 Mon Sep 17 00:00:00 2001 From: Dennis Gilmore Date: Sat, 3 Aug 2013 08:35:35 -0500 Subject: [PATCH 21/55] - Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild --- ghc-digest.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/ghc-digest.spec b/ghc-digest.spec index 7b17145..8d84e34 100644 --- a/ghc-digest.spec +++ b/ghc-digest.spec @@ -4,7 +4,7 @@ Name: ghc-%{pkg_name} Version: 0.0.1.2 -Release: 1%{?dist} +Release: 2%{?dist} Summary: Cryptographic hashes for bytestrings License: BSD @@ -66,6 +66,9 @@ This package provides the Haskell %{pkg_name} library development files. %changelog +* Sat Aug 03 2013 Fedora Release Engineering - 0.0.1.2-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild + * Fri Jun 07 2013 Jens Petersen - 0.0.1.2-1 - update to 0.0.1.2 - update to new simplified Haskell Packaging Guidelines From 5cf0f04f2a90429b951c33e13c1e879a1f876dc8 Mon Sep 17 00:00:00 2001 From: Dennis Gilmore Date: Sat, 7 Jun 2014 09:44:38 -0500 Subject: [PATCH 22/55] - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild --- ghc-digest.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/ghc-digest.spec b/ghc-digest.spec index 8d84e34..dd39e5b 100644 --- a/ghc-digest.spec +++ b/ghc-digest.spec @@ -4,7 +4,7 @@ Name: ghc-%{pkg_name} Version: 0.0.1.2 -Release: 2%{?dist} +Release: 3%{?dist} Summary: Cryptographic hashes for bytestrings License: BSD @@ -66,6 +66,9 @@ This package provides the Haskell %{pkg_name} library development files. %changelog +* Sat Jun 07 2014 Fedora Release Engineering - 0.0.1.2-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild + * Sat Aug 03 2013 Fedora Release Engineering - 0.0.1.2-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild From a051ca34d1ca29f213b2db7be6db83a9782f047f Mon Sep 17 00:00:00 2001 From: Peter Robinson Date: Sat, 16 Aug 2014 15:00:11 +0000 Subject: [PATCH 23/55] - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild --- ghc-digest.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/ghc-digest.spec b/ghc-digest.spec index dd39e5b..5915372 100644 --- a/ghc-digest.spec +++ b/ghc-digest.spec @@ -4,7 +4,7 @@ Name: ghc-%{pkg_name} Version: 0.0.1.2 -Release: 3%{?dist} +Release: 4%{?dist} Summary: Cryptographic hashes for bytestrings License: BSD @@ -66,6 +66,9 @@ This package provides the Haskell %{pkg_name} library development files. %changelog +* Sat Aug 16 2014 Fedora Release Engineering - 0.0.1.2-4 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild + * Sat Jun 07 2014 Fedora Release Engineering - 0.0.1.2-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild From f71ede399c522fb51b70478847bafad447afa45d Mon Sep 17 00:00:00 2001 From: Jens Petersen Date: Tue, 27 Jan 2015 23:05:11 +0900 Subject: [PATCH 24/55] cblrpm refresh --- ghc-digest.spec | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/ghc-digest.spec b/ghc-digest.spec index 5915372..dfc336c 100644 --- a/ghc-digest.spec +++ b/ghc-digest.spec @@ -4,12 +4,12 @@ Name: ghc-%{pkg_name} Version: 0.0.1.2 -Release: 4%{?dist} +Release: 5%{?dist} Summary: Cryptographic hashes for bytestrings 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 @@ -26,10 +26,11 @@ they are implemented as FFI bindings to efficient code from zlib. %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} # Begin cabal-rpm deps: Requires: zlib-devel%{?_isa} # End cabal-rpm deps @@ -66,6 +67,9 @@ This package provides the Haskell %{pkg_name} library development files. %changelog +* Tue Jan 27 2015 Jens Petersen - 0.0.1.2-5 +- cblrpm refresh + * Sat Aug 16 2014 Fedora Release Engineering - 0.0.1.2-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild From 066171086fd8d99f0e4e6ee6629077c1eb47543d Mon Sep 17 00:00:00 2001 From: Dennis Gilmore Date: Wed, 17 Jun 2015 07:40:02 +0000 Subject: [PATCH 25/55] - Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild --- ghc-digest.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/ghc-digest.spec b/ghc-digest.spec index dfc336c..6a4c196 100644 --- a/ghc-digest.spec +++ b/ghc-digest.spec @@ -4,7 +4,7 @@ Name: ghc-%{pkg_name} Version: 0.0.1.2 -Release: 5%{?dist} +Release: 6%{?dist} Summary: Cryptographic hashes for bytestrings License: BSD @@ -67,6 +67,9 @@ This package provides the Haskell %{pkg_name} library development files. %changelog +* Wed Jun 17 2015 Fedora Release Engineering - 0.0.1.2-6 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild + * Tue Jan 27 2015 Jens Petersen - 0.0.1.2-5 - cblrpm refresh From 475aa4be6ecbe317d09a94a1ce6136bc06b39393 Mon Sep 17 00:00:00 2001 From: Dennis Gilmore Date: Wed, 3 Feb 2016 21:30:53 +0000 Subject: [PATCH 26/55] - Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild --- ghc-digest.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/ghc-digest.spec b/ghc-digest.spec index 6a4c196..3c7b56b 100644 --- a/ghc-digest.spec +++ b/ghc-digest.spec @@ -4,7 +4,7 @@ Name: ghc-%{pkg_name} Version: 0.0.1.2 -Release: 6%{?dist} +Release: 7%{?dist} Summary: Cryptographic hashes for bytestrings License: BSD @@ -67,6 +67,9 @@ This package provides the Haskell %{pkg_name} library development files. %changelog +* Wed Feb 03 2016 Fedora Release Engineering - 0.0.1.2-7 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild + * Wed Jun 17 2015 Fedora Release Engineering - 0.0.1.2-6 - Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild From 0e1d0fa7280f1ca519cfef9ef91473873ce8b15b Mon Sep 17 00:00:00 2001 From: Jens Petersen Date: Wed, 28 Sep 2016 18:32:22 +0900 Subject: [PATCH 27/55] use %license --- ghc-digest.spec | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ghc-digest.spec b/ghc-digest.spec index 3c7b56b..9421764 100644 --- a/ghc-digest.spec +++ b/ghc-digest.spec @@ -60,7 +60,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 17a13ad53c4af619a0b0a8f46c11540c68c28d4a Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Fri, 10 Feb 2017 10:38:00 +0000 Subject: [PATCH 28/55] - Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild --- ghc-digest.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/ghc-digest.spec b/ghc-digest.spec index 9421764..fe36d4a 100644 --- a/ghc-digest.spec +++ b/ghc-digest.spec @@ -4,7 +4,7 @@ Name: ghc-%{pkg_name} Version: 0.0.1.2 -Release: 7%{?dist} +Release: 8%{?dist} Summary: Cryptographic hashes for bytestrings License: BSD @@ -67,6 +67,9 @@ This package provides the Haskell %{pkg_name} library development files. %changelog +* Fri Feb 10 2017 Fedora Release Engineering - 0.0.1.2-8 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild + * Wed Feb 03 2016 Fedora Release Engineering - 0.0.1.2-7 - Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild From 6eca4c5b5d53014a313c54a9ea17e347ff00a012 Mon Sep 17 00:00:00 2001 From: Jens Petersen Date: Fri, 24 Feb 2017 17:48:12 +0900 Subject: [PATCH 29/55] refresh to cabal-rpm-0.11.1 --- ghc-digest.spec | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/ghc-digest.spec b/ghc-digest.spec index fe36d4a..9a89c60 100644 --- a/ghc-digest.spec +++ b/ghc-digest.spec @@ -1,15 +1,17 @@ +# generated by cabal-rpm-0.11.1 # https://fedoraproject.org/wiki/Packaging:Haskell %global pkg_name digest +%global pkgver %{pkg_name}-%{version} Name: ghc-%{pkg_name} Version: 0.0.1.2 -Release: 8%{?dist} +Release: 9%{?dist} Summary: Cryptographic hashes for bytestrings 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 @@ -40,7 +42,7 @@ This package provides the Haskell %{pkg_name} library development files. %prep -%setup -q -n %{pkg_name}-%{version} +%setup -q -n %{pkgver} %build @@ -67,6 +69,9 @@ This package provides the Haskell %{pkg_name} library development files. %changelog +* Fri Feb 24 2017 Jens Petersen - 0.0.1.2-9 +- refresh to cabal-rpm-0.11.1 + * Fri Feb 10 2017 Fedora Release Engineering - 0.0.1.2-8 - Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild From 430152ad9beb1ff55ae9304ee95b73c192112afe Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Wed, 26 Jul 2017 09:40:43 +0000 Subject: [PATCH 30/55] - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild --- ghc-digest.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/ghc-digest.spec b/ghc-digest.spec index 9a89c60..f4d229c 100644 --- a/ghc-digest.spec +++ b/ghc-digest.spec @@ -6,7 +6,7 @@ Name: ghc-%{pkg_name} Version: 0.0.1.2 -Release: 9%{?dist} +Release: 10%{?dist} Summary: Cryptographic hashes for bytestrings License: BSD @@ -69,6 +69,9 @@ This package provides the Haskell %{pkg_name} library development files. %changelog +* Wed Jul 26 2017 Fedora Release Engineering - 0.0.1.2-10 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild + * Fri Feb 24 2017 Jens Petersen - 0.0.1.2-9 - refresh to cabal-rpm-0.11.1 From 6468945f7fd63e824be90bdbc0167bfe5139a5e5 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Wed, 2 Aug 2017 21:18:31 +0000 Subject: [PATCH 31/55] - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild --- ghc-digest.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/ghc-digest.spec b/ghc-digest.spec index f4d229c..27a9f6c 100644 --- a/ghc-digest.spec +++ b/ghc-digest.spec @@ -6,7 +6,7 @@ Name: ghc-%{pkg_name} Version: 0.0.1.2 -Release: 10%{?dist} +Release: 11%{?dist} Summary: Cryptographic hashes for bytestrings License: BSD @@ -69,6 +69,9 @@ This package provides the Haskell %{pkg_name} library development files. %changelog +* Wed Aug 02 2017 Fedora Release Engineering - 0.0.1.2-11 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild + * Wed Jul 26 2017 Fedora Release Engineering - 0.0.1.2-10 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild From dcaeee6489c7673d2467270e94065be0be6419b6 Mon Sep 17 00:00:00 2001 From: Jens Petersen Date: Wed, 24 Jan 2018 14:10:59 +0100 Subject: [PATCH 32/55] refresh to cabal-rpm-0.12.1 --- ghc-digest.spec | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/ghc-digest.spec b/ghc-digest.spec index 27a9f6c..18206e5 100644 --- a/ghc-digest.spec +++ b/ghc-digest.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 digest @@ -29,9 +29,12 @@ they are implemented as FFI bindings to efficient code from zlib. %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} # Begin cabal-rpm deps: Requires: zlib-devel%{?_isa} @@ -53,6 +56,12 @@ This package provides the Haskell %{pkg_name} library development files. %ghc_lib_install +%post -p /sbin/ldconfig + + +%postun -p /sbin/ldconfig + + %post devel %ghc_pkg_recache From a0f63254db16608c78c341be4e68e7c227b808e1 Mon Sep 17 00:00:00 2001 From: Jens Petersen Date: Fri, 26 Jan 2018 11:29:47 +0100 Subject: [PATCH 33/55] bump release --- ghc-digest.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/ghc-digest.spec b/ghc-digest.spec index 18206e5..3d4f2f2 100644 --- a/ghc-digest.spec +++ b/ghc-digest.spec @@ -6,7 +6,7 @@ Name: ghc-%{pkg_name} Version: 0.0.1.2 -Release: 11%{?dist} +Release: 12%{?dist} Summary: Cryptographic hashes for bytestrings License: BSD @@ -78,6 +78,9 @@ This package provides the Haskell %{pkg_name} library development files. %changelog +* Fri Jan 26 2018 Jens Petersen - 0.0.1.2-12 +- rebuild + * Wed Aug 02 2017 Fedora Release Engineering - 0.0.1.2-11 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild From 28d4711eab98ab22ac709bef9eece987536f61bd Mon Sep 17 00:00:00 2001 From: Jens Petersen Date: Sun, 4 Feb 2018 01:02:23 +0900 Subject: [PATCH 34/55] drop ldconfig scriptlets --- ghc-digest.spec | 6 ------ 1 file changed, 6 deletions(-) diff --git a/ghc-digest.spec b/ghc-digest.spec index 3d4f2f2..495df9f 100644 --- a/ghc-digest.spec +++ b/ghc-digest.spec @@ -56,12 +56,6 @@ This package provides the Haskell %{pkg_name} library development files. %ghc_lib_install -%post -p /sbin/ldconfig - - -%postun -p /sbin/ldconfig - - %post devel %ghc_pkg_recache From 1b2496ae27d39aa1686ec32d263a2039bae7b2f5 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Wed, 7 Feb 2018 11:34:00 +0000 Subject: [PATCH 35/55] - Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild Signed-off-by: Fedora Release Engineering --- ghc-digest.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/ghc-digest.spec b/ghc-digest.spec index 495df9f..901e3b1 100644 --- a/ghc-digest.spec +++ b/ghc-digest.spec @@ -6,7 +6,7 @@ Name: ghc-%{pkg_name} Version: 0.0.1.2 -Release: 12%{?dist} +Release: 13%{?dist} Summary: Cryptographic hashes for bytestrings License: BSD @@ -72,6 +72,9 @@ This package provides the Haskell %{pkg_name} library development files. %changelog +* Wed Feb 07 2018 Fedora Release Engineering - 0.0.1.2-13 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild + * Fri Jan 26 2018 Jens Petersen - 0.0.1.2-12 - rebuild From 8e77ed54833c9b4b2a3db47e4a2ad8992f905c96 Mon Sep 17 00:00:00 2001 From: Jens Petersen Date: Thu, 15 Feb 2018 12:52:03 +0900 Subject: [PATCH 36/55] remove %_isa from buildrequires (#1545177) --- ghc-digest.spec | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/ghc-digest.spec b/ghc-digest.spec index 901e3b1..df5e4c2 100644 --- a/ghc-digest.spec +++ b/ghc-digest.spec @@ -6,7 +6,7 @@ Name: ghc-%{pkg_name} Version: 0.0.1.2 -Release: 13%{?dist} +Release: 14%{?dist} Summary: Cryptographic hashes for bytestrings License: BSD @@ -17,7 +17,7 @@ BuildRequires: ghc-Cabal-devel BuildRequires: ghc-rpm-macros # Begin cabal-rpm deps: BuildRequires: ghc-bytestring-devel -BuildRequires: zlib-devel%{?_isa} +BuildRequires: zlib-devel # End cabal-rpm deps %description @@ -72,6 +72,9 @@ This package provides the Haskell %{pkg_name} library development files. %changelog +* Thu Feb 15 2018 Jens Petersen - 0.0.1.2-14 +- remove _isa from buildrequires (#1545177) + * Wed Feb 07 2018 Fedora Release Engineering - 0.0.1.2-13 - Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild From 136e1f3028ffe0d9ceef3a9f7f9dd0a4fe5afb95 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Fri, 13 Jul 2018 01:43:54 +0000 Subject: [PATCH 37/55] - Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild Signed-off-by: Fedora Release Engineering --- ghc-digest.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/ghc-digest.spec b/ghc-digest.spec index df5e4c2..89a524a 100644 --- a/ghc-digest.spec +++ b/ghc-digest.spec @@ -6,7 +6,7 @@ Name: ghc-%{pkg_name} Version: 0.0.1.2 -Release: 14%{?dist} +Release: 15%{?dist} Summary: Cryptographic hashes for bytestrings License: BSD @@ -72,6 +72,9 @@ This package provides the Haskell %{pkg_name} library development files. %changelog +* Fri Jul 13 2018 Fedora Release Engineering - 0.0.1.2-15 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild + * Thu Feb 15 2018 Jens Petersen - 0.0.1.2-14 - remove _isa from buildrequires (#1545177) From d9a59f2046dd5e8abba1e256aa07ec0edc702855 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Thu, 31 Jan 2019 21:25:14 +0000 Subject: [PATCH 38/55] - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild Signed-off-by: Fedora Release Engineering --- ghc-digest.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/ghc-digest.spec b/ghc-digest.spec index 89a524a..f335bfd 100644 --- a/ghc-digest.spec +++ b/ghc-digest.spec @@ -6,7 +6,7 @@ Name: ghc-%{pkg_name} Version: 0.0.1.2 -Release: 15%{?dist} +Release: 16%{?dist} Summary: Cryptographic hashes for bytestrings License: BSD @@ -72,6 +72,9 @@ This package provides the Haskell %{pkg_name} library development files. %changelog +* Thu Jan 31 2019 Fedora Release Engineering - 0.0.1.2-16 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild + * Fri Jul 13 2018 Fedora Release Engineering - 0.0.1.2-15 - Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild From 847835dffb2544944cdc1d66a91230cc321105cb Mon Sep 17 00:00:00 2001 From: Jens Petersen Date: Sun, 17 Feb 2019 22:44:22 +0800 Subject: [PATCH 39/55] refresh to cabal-rpm-0.13 --- ghc-digest.spec | 19 ++++++++++++++++--- 1 file changed, 16 insertions(+), 3 deletions(-) diff --git a/ghc-digest.spec b/ghc-digest.spec index f335bfd..b73e31b 100644 --- a/ghc-digest.spec +++ b/ghc-digest.spec @@ -1,4 +1,4 @@ -# generated by cabal-rpm-0.12.1 +# generated by cabal-rpm-0.13 # https://fedoraproject.org/wiki/Packaging:Haskell %global pkg_name digest @@ -6,16 +6,18 @@ Name: ghc-%{pkg_name} Version: 0.0.1.2 -Release: 16%{?dist} +Release: 17%{?dist} Summary: Cryptographic hashes for bytestrings License: BSD Url: https://hackage.haskell.org/package/%{pkg_name} +# Begin cabal-rpm sources: Source0: https://hackage.haskell.org/package/%{pkgver}/%{pkgver}.tar.gz +# End cabal-rpm sources +# Begin cabal-rpm deps: BuildRequires: ghc-Cabal-devel BuildRequires: ghc-rpm-macros -# Begin cabal-rpm deps: BuildRequires: ghc-bytestring-devel BuildRequires: zlib-devel # End cabal-rpm deps @@ -45,15 +47,21 @@ This package provides the Haskell %{pkg_name} library development files. %prep +# Begin cabal-rpm setup: %setup -q -n %{pkgver} +# End cabal-rpm setup %build +# Begin cabal-rpm build: %ghc_lib_build +# End cabal-rpm build %install +# Begin cabal-rpm install %ghc_lib_install +# End cabal-rpm install %post devel @@ -65,13 +73,18 @@ 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 %changelog +* Sun Feb 17 2019 Jens Petersen - 0.0.1.2-17 +- refresh to cabal-rpm-0.13 + * Thu Jan 31 2019 Fedora Release Engineering - 0.0.1.2-16 - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild From 6d2185dee2a63e70c115b04ef32310345651cf5e Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Thu, 25 Jul 2019 02:21:37 +0000 Subject: [PATCH 40/55] - Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild Signed-off-by: Fedora Release Engineering --- ghc-digest.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/ghc-digest.spec b/ghc-digest.spec index b73e31b..99b3f6d 100644 --- a/ghc-digest.spec +++ b/ghc-digest.spec @@ -6,7 +6,7 @@ Name: ghc-%{pkg_name} Version: 0.0.1.2 -Release: 17%{?dist} +Release: 18%{?dist} Summary: Cryptographic hashes for bytestrings License: BSD @@ -82,6 +82,9 @@ This package provides the Haskell %{pkg_name} library development files. %changelog +* Thu Jul 25 2019 Fedora Release Engineering - 0.0.1.2-18 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild + * Sun Feb 17 2019 Jens Petersen - 0.0.1.2-17 - refresh to cabal-rpm-0.13 From 44b352ffb177aaf4d15cfbcf8c7796b77fc389fc Mon Sep 17 00:00:00 2001 From: Jens Petersen Date: Thu, 25 Jul 2019 04:22:46 +0000 Subject: [PATCH 41/55] cabal-rpm-1.0.0: add doc and prof subpkgs --- ghc-digest.spec | 53 +++++++++++++++++++++++++++++++++++++------------ 1 file changed, 40 insertions(+), 13 deletions(-) diff --git a/ghc-digest.spec b/ghc-digest.spec index 99b3f6d..224d802 100644 --- a/ghc-digest.spec +++ b/ghc-digest.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 digest @@ -6,7 +6,7 @@ Name: ghc-%{pkg_name} Version: 0.0.1.2 -Release: 18%{?dist} +Release: 19%{?dist} Summary: Cryptographic hashes for bytestrings License: BSD @@ -17,6 +17,12 @@ Source0: https://hackage.haskell.org/package/%{pkgver}/%{pkgver}.tar.gz # Begin cabal-rpm deps: BuildRequires: ghc-Cabal-devel +%if %{with haddock} +BuildRequires: ghc-doc +%endif +%if %{with ghc_prof} +BuildRequires: ghc-prof +%endif BuildRequires: ghc-rpm-macros BuildRequires: ghc-bytestring-devel BuildRequires: zlib-devel @@ -31,11 +37,8 @@ they are implemented as FFI bindings to efficient code from zlib. %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} # Begin cabal-rpm deps: @@ -46,6 +49,25 @@ Requires: zlib-devel%{?_isa} 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} @@ -64,14 +86,6 @@ This package provides the Haskell %{pkg_name} library development files. # End cabal-rpm install -%post devel -%ghc_pkg_recache - - -%postun devel -%ghc_pkg_recache - - %files -f %{name}.files # Begin cabal-rpm files: %license LICENSE @@ -81,7 +95,20 @@ This package provides the Haskell %{pkg_name} library development files. %files devel -f %{name}-devel.files +%if %{with haddock} +%files doc -f %{name}-doc.files +%endif + + +%if %{with ghc_prof} +%files prof -f %{name}-prof.files +%endif + + %changelog +* Thu Aug 01 2019 Jens Petersen - 0.0.1.2-19 +- add doc and prof subpackages (cabal-rpm-1.0.0) + * Thu Jul 25 2019 Fedora Release Engineering - 0.0.1.2-18 - Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild From 53786e2ce5c2f3c081bb39857c50d9e521229d9e Mon Sep 17 00:00:00 2001 From: Jens Petersen Date: Mon, 5 Aug 2019 18:28:43 +0800 Subject: [PATCH 42/55] BR prof for lib and static for executable --- ghc-digest.spec | 12 ++++-------- 1 file changed, 4 insertions(+), 8 deletions(-) diff --git a/ghc-digest.spec b/ghc-digest.spec index 224d802..fe0c1d0 100644 --- a/ghc-digest.spec +++ b/ghc-digest.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 digest @@ -17,14 +17,9 @@ 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-bytestring-devel +BuildRequires: ghc-base-prof +BuildRequires: ghc-bytestring-prof BuildRequires: zlib-devel # End cabal-rpm deps @@ -37,6 +32,7 @@ they are implemented as FFI bindings to efficient code from zlib. %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 c34449d9802fdb3a03117bf889fe5e9e38afb150 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Tue, 28 Jan 2020 20:35:25 +0000 Subject: [PATCH 43/55] - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild Signed-off-by: Fedora Release Engineering --- ghc-digest.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/ghc-digest.spec b/ghc-digest.spec index fe0c1d0..6b35f5e 100644 --- a/ghc-digest.spec +++ b/ghc-digest.spec @@ -6,7 +6,7 @@ Name: ghc-%{pkg_name} Version: 0.0.1.2 -Release: 19%{?dist} +Release: 20%{?dist} Summary: Cryptographic hashes for bytestrings License: BSD @@ -102,6 +102,9 @@ This package provides the Haskell %{pkg_name} profiling library. %changelog +* Tue Jan 28 2020 Fedora Release Engineering - 0.0.1.2-20 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild + * Thu Aug 01 2019 Jens Petersen - 0.0.1.2-19 - add doc and prof subpackages (cabal-rpm-1.0.0) From 7186325333404d61fe30ea46efc1a66ab1680330 Mon Sep 17 00:00:00 2001 From: Jens Petersen Date: Sat, 8 Feb 2020 22:49:53 +0800 Subject: [PATCH 44/55] refresh to cabal-rpm-2.0.2 --- ghc-digest.spec | 15 ++++++++++++++- 1 file changed, 14 insertions(+), 1 deletion(-) diff --git a/ghc-digest.spec b/ghc-digest.spec index 6b35f5e..f1d35c4 100644 --- a/ghc-digest.spec +++ b/ghc-digest.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 digest @@ -48,6 +48,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. @@ -58,6 +59,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. @@ -82,6 +84,16 @@ This package provides the Haskell %{pkg_name} profiling library. # End cabal-rpm install +%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 @@ -93,6 +105,7 @@ This package provides the Haskell %{pkg_name} profiling library. %if %{with haddock} %files doc -f %{name}-doc.files +%license LICENSE %endif From 90817d261a9201ddc45dcf3f4c63659e5158308f Mon Sep 17 00:00:00 2001 From: Jens Petersen Date: Thu, 4 Jun 2020 19:26:04 +0800 Subject: [PATCH 45/55] refresh to cabal-rpm-2.0.5 --- ghc-digest.spec | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ghc-digest.spec b/ghc-digest.spec index f1d35c4..8b15b14 100644 --- a/ghc-digest.spec +++ b/ghc-digest.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 digest %global pkgver %{pkg_name}-%{version} From 2abeae0c7aa45809a35cafd8e8aaab4dbc70d93a Mon Sep 17 00:00:00 2001 From: Jens Petersen Date: Fri, 19 Jun 2020 16:54:41 +0800 Subject: [PATCH 46/55] refresh to cabal-rpm-2.0.6 --- ghc-digest.spec | 12 +----------- 1 file changed, 1 insertion(+), 11 deletions(-) diff --git a/ghc-digest.spec b/ghc-digest.spec index 8b15b14..28584c7 100644 --- a/ghc-digest.spec +++ b/ghc-digest.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 digest @@ -84,16 +84,6 @@ This package provides the Haskell %{pkg_name} profiling library. # End cabal-rpm install -%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 e3581679dc5d0fdfe99376d3c6464aa85b9c0868 Mon Sep 17 00:00:00 2001 From: Jens Petersen Date: Fri, 17 Jul 2020 18:04:47 +0800 Subject: [PATCH 47/55] bump release --- ghc-digest.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/ghc-digest.spec b/ghc-digest.spec index 28584c7..53909d5 100644 --- a/ghc-digest.spec +++ b/ghc-digest.spec @@ -6,7 +6,7 @@ Name: ghc-%{pkg_name} Version: 0.0.1.2 -Release: 20%{?dist} +Release: 21%{?dist} Summary: Cryptographic hashes for bytestrings License: BSD @@ -105,6 +105,9 @@ This package provides the Haskell %{pkg_name} profiling library. %changelog +* Fri Jul 17 2020 Jens Petersen - 0.0.1.2-21 +- refresh to cabal-rpm-2.0.6 + * Tue Jan 28 2020 Fedora Release Engineering - 0.0.1.2-20 - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild From b69213073bf0b5aa40f9f1ae1a9acf4317edd9a9 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Mon, 27 Jul 2020 19:02:32 +0000 Subject: [PATCH 48/55] - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild Signed-off-by: Fedora Release Engineering --- ghc-digest.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/ghc-digest.spec b/ghc-digest.spec index 53909d5..f465441 100644 --- a/ghc-digest.spec +++ b/ghc-digest.spec @@ -6,7 +6,7 @@ Name: ghc-%{pkg_name} Version: 0.0.1.2 -Release: 21%{?dist} +Release: 22%{?dist} Summary: Cryptographic hashes for bytestrings License: BSD @@ -105,6 +105,9 @@ This package provides the Haskell %{pkg_name} profiling library. %changelog +* Mon Jul 27 2020 Fedora Release Engineering - 0.0.1.2-22 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild + * Fri Jul 17 2020 Jens Petersen - 0.0.1.2-21 - refresh to cabal-rpm-2.0.6 From ef76812358ba26d6e10b011246bcce52582746e8 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Tue, 26 Jan 2021 07:06:20 +0000 Subject: [PATCH 49/55] - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild Signed-off-by: Fedora Release Engineering --- ghc-digest.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/ghc-digest.spec b/ghc-digest.spec index f465441..dd333c5 100644 --- a/ghc-digest.spec +++ b/ghc-digest.spec @@ -6,7 +6,7 @@ Name: ghc-%{pkg_name} Version: 0.0.1.2 -Release: 22%{?dist} +Release: 23%{?dist} Summary: Cryptographic hashes for bytestrings License: BSD @@ -105,6 +105,9 @@ This package provides the Haskell %{pkg_name} profiling library. %changelog +* Tue Jan 26 2021 Fedora Release Engineering - 0.0.1.2-23 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild + * Mon Jul 27 2020 Fedora Release Engineering - 0.0.1.2-22 - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild From fedfecac729bca60c5d32a9af1c1872ffa2466e0 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Thu, 22 Jul 2021 00:34:04 +0000 Subject: [PATCH 50/55] - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild Signed-off-by: Fedora Release Engineering --- ghc-digest.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/ghc-digest.spec b/ghc-digest.spec index dd333c5..0b9509a 100644 --- a/ghc-digest.spec +++ b/ghc-digest.spec @@ -6,7 +6,7 @@ Name: ghc-%{pkg_name} Version: 0.0.1.2 -Release: 23%{?dist} +Release: 24%{?dist} Summary: Cryptographic hashes for bytestrings License: BSD @@ -105,6 +105,9 @@ This package provides the Haskell %{pkg_name} profiling library. %changelog +* Thu Jul 22 2021 Fedora Release Engineering - 0.0.1.2-24 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild + * Tue Jan 26 2021 Fedora Release Engineering - 0.0.1.2-23 - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild From 322d12472535e497dccdfd401788e08b33aacfb2 Mon Sep 17 00:00:00 2001 From: Jens Petersen Date: Thu, 8 Jul 2021 00:30:10 +0800 Subject: [PATCH 51/55] refresh to cabal-rpm-2.0.9 --- ghc-digest.spec | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/ghc-digest.spec b/ghc-digest.spec index 0b9509a..68ed60b 100644 --- a/ghc-digest.spec +++ b/ghc-digest.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 digest @@ -49,6 +49,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. From 48d94cbd6e2fb2c04c7417eb76264f3d745e50de Mon Sep 17 00:00:00 2001 From: Jens Petersen Date: Thu, 5 Aug 2021 14:06:59 +0800 Subject: [PATCH 52/55] update to 0.0.1.3 --- .gitignore | 1 + ghc-digest.spec | 7 +++++-- sources | 2 +- 3 files changed, 7 insertions(+), 3 deletions(-) diff --git a/.gitignore b/.gitignore index 7c5169b..bf85f06 100644 --- a/.gitignore +++ b/.gitignore @@ -3,3 +3,4 @@ /digest-0.0.1.0.tar.gz /digest-0.0.1.1.tar.gz /digest-0.0.1.2.tar.gz +/digest-0.0.1.3.tar.gz diff --git a/ghc-digest.spec b/ghc-digest.spec index 68ed60b..93e999b 100644 --- a/ghc-digest.spec +++ b/ghc-digest.spec @@ -5,8 +5,8 @@ %global pkgver %{pkg_name}-%{version} Name: ghc-%{pkg_name} -Version: 0.0.1.2 -Release: 24%{?dist} +Version: 0.0.1.3 +Release: 1%{?dist} Summary: Cryptographic hashes for bytestrings License: BSD @@ -106,6 +106,9 @@ This package provides the Haskell %{pkg_name} profiling library. %changelog +* Thu Aug 05 2021 Jens Petersen - 0.0.1.3-1 +- update to 0.0.1.3 + * Thu Jul 22 2021 Fedora Release Engineering - 0.0.1.2-24 - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild diff --git a/sources b/sources index 701df39..3208fb8 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -83ed3d8c10d24c88d5ddf4f3914507ac digest-0.0.1.2.tar.gz +SHA512 (digest-0.0.1.3.tar.gz) = 2b4a6f58dc70ea18e359ddaa93088bfbefa96c6c37f256cf0c75bdd61087a874584d8a1d47176adb114a4399400b866d7911c12a2c8c1ebafee3398ca58caba2 From 1ca3371840b8eefd64c3228ea723eef13b0d87c6 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Thu, 20 Jan 2022 04:46:46 +0000 Subject: [PATCH 53/55] - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild Signed-off-by: Fedora Release Engineering --- ghc-digest.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/ghc-digest.spec b/ghc-digest.spec index 93e999b..963181c 100644 --- a/ghc-digest.spec +++ b/ghc-digest.spec @@ -6,7 +6,7 @@ Name: ghc-%{pkg_name} Version: 0.0.1.3 -Release: 1%{?dist} +Release: 2%{?dist} Summary: Cryptographic hashes for bytestrings License: BSD @@ -106,6 +106,9 @@ This package provides the Haskell %{pkg_name} profiling library. %changelog +* Thu Jan 20 2022 Fedora Release Engineering - 0.0.1.3-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild + * Thu Aug 05 2021 Jens Petersen - 0.0.1.3-1 - update to 0.0.1.3 From 7c4697f0ee3bd3b25f0b99558a5e6d39a6b552c4 Mon Sep 17 00:00:00 2001 From: Jens Petersen Date: Thu, 10 Mar 2022 14:55:07 +0800 Subject: [PATCH 54/55] bump release --- ghc-digest.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/ghc-digest.spec b/ghc-digest.spec index 963181c..16262e6 100644 --- a/ghc-digest.spec +++ b/ghc-digest.spec @@ -6,7 +6,7 @@ Name: ghc-%{pkg_name} Version: 0.0.1.3 -Release: 2%{?dist} +Release: 3%{?dist} Summary: Cryptographic hashes for bytestrings License: BSD @@ -106,6 +106,9 @@ This package provides the Haskell %{pkg_name} profiling library. %changelog +* Thu Mar 10 2022 Jens Petersen - 0.0.1.3-3 +- rebuild + * Thu Jan 20 2022 Fedora Release Engineering - 0.0.1.3-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild From 8140d6140f985ae4b790435c7e83172fe7bbe53e Mon Sep 17 00:00:00 2001 From: MSVSphere Packaging Team Date: Mon, 30 Oct 2023 21:35:53 +0300 Subject: [PATCH 55/55] 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 3208fb8..0000000 --- a/sources +++ /dev/null @@ -1 +0,0 @@ -SHA512 (digest-0.0.1.3.tar.gz) = 2b4a6f58dc70ea18e359ddaa93088bfbefa96c6c37f256cf0c75bdd61087a874584d8a1d47176adb114a4399400b866d7911c12a2c8c1ebafee3398ca58caba2