From bf98a05c1a52f9920374c0d8977440150f4259ee Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Wed, 13 Nov 2013 13:04:28 +0000 Subject: [PATCH 01/34] 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 1454f125e8f3e8a48523217b0fdb22b24c0b633e Mon Sep 17 00:00:00 2001 From: Ricky Elrod Date: Thu, 14 Nov 2013 06:51:46 -0500 Subject: [PATCH 02/34] Initial import (#1023603) --- .gitignore | 1 + ghc-data-default-class.spec | 63 +++++++++++++++++++++++++++++++++++++ sources | 1 + 3 files changed, 65 insertions(+) create mode 100644 ghc-data-default-class.spec diff --git a/.gitignore b/.gitignore index e69de29..6c91491 100644 --- a/.gitignore +++ b/.gitignore @@ -0,0 +1 @@ +/data-default-class-0.0.1.tar.gz diff --git a/ghc-data-default-class.spec b/ghc-data-default-class.spec new file mode 100644 index 0000000..eeea611 --- /dev/null +++ b/ghc-data-default-class.spec @@ -0,0 +1,63 @@ +# https://fedoraproject.org/wiki/Packaging:Haskell + +%global pkg_name data-default-class + +Name: ghc-%{pkg_name} +Version: 0.0.1 +Release: 1%{?dist} +Summary: Class for types with a default value + +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 + +BuildRequires: ghc-Cabal-devel +BuildRequires: ghc-rpm-macros + +%description +A class for types with a default value. + + +%package devel +Summary: Haskell %{pkg_name} library development files +Provides: %{name}-static = %{version}-%{release} +Requires: ghc-compiler = %{ghc_version} +Requires(post): ghc-compiler = %{ghc_version} +Requires(postun): ghc-compiler = %{ghc_version} +Requires: %{name}%{?_isa} = %{version}-%{release} + +%description devel +This package provides the Haskell %{pkg_name} library development +files. + + +%prep +%setup -q -n %{pkg_name}-%{version} + + +%build +%ghc_lib_build + + +%install +%ghc_lib_install + + +%post devel +%ghc_pkg_recache + + +%postun devel +%ghc_pkg_recache + + +%files -f %{name}.files +%doc LICENSE + + +%files devel -f %{name}-devel.files + + +%changelog +* Fri Oct 25 2013 Fedora Haskell SIG - 0.0.1 +- spec file generated by cabal-rpm-0.8.5 diff --git a/sources b/sources index e69de29..aa1f3cd 100644 --- a/sources +++ b/sources @@ -0,0 +1 @@ +abfd756bcc6d92e47436992c80ccdb80 data-default-class-0.0.1.tar.gz From 0d901348f57637efde1534dde5563709ef98089c Mon Sep 17 00:00:00 2001 From: Dennis Gilmore Date: Sat, 7 Jun 2014 09:42:22 -0500 Subject: [PATCH 03/34] - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild --- ghc-data-default-class.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/ghc-data-default-class.spec b/ghc-data-default-class.spec index eeea611..cebeb9e 100644 --- a/ghc-data-default-class.spec +++ b/ghc-data-default-class.spec @@ -4,7 +4,7 @@ Name: ghc-%{pkg_name} Version: 0.0.1 -Release: 1%{?dist} +Release: 2%{?dist} Summary: Class for types with a default value License: BSD @@ -59,5 +59,8 @@ files. %changelog +* Sat Jun 07 2014 Fedora Release Engineering - 0.0.1-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild + * Fri Oct 25 2013 Fedora Haskell SIG - 0.0.1 - spec file generated by cabal-rpm-0.8.5 From 2f6103c39634b80e2d6ff4210523b6d1b5bd1314 Mon Sep 17 00:00:00 2001 From: Peter Robinson Date: Sat, 16 Aug 2014 14:56:50 +0000 Subject: [PATCH 04/34] - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild --- ghc-data-default-class.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/ghc-data-default-class.spec b/ghc-data-default-class.spec index cebeb9e..99f8812 100644 --- a/ghc-data-default-class.spec +++ b/ghc-data-default-class.spec @@ -4,7 +4,7 @@ Name: ghc-%{pkg_name} Version: 0.0.1 -Release: 2%{?dist} +Release: 3%{?dist} Summary: Class for types with a default value License: BSD @@ -59,6 +59,9 @@ files. %changelog +* Sat Aug 16 2014 Fedora Release Engineering - 0.0.1-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild + * Sat Jun 07 2014 Fedora Release Engineering - 0.0.1-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild From 55220e481109a26468ac60993d68fcdb4bbe80a6 Mon Sep 17 00:00:00 2001 From: Jens Petersen Date: Tue, 27 Jan 2015 23:07:03 +0900 Subject: [PATCH 05/34] update urls --- ghc-data-default-class.spec | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/ghc-data-default-class.spec b/ghc-data-default-class.spec index 99f8812..7cbc85d 100644 --- a/ghc-data-default-class.spec +++ b/ghc-data-default-class.spec @@ -4,12 +4,12 @@ Name: ghc-%{pkg_name} Version: 0.0.1 -Release: 3%{?dist} +Release: 4%{?dist} Summary: Class for types with a default value 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 @@ -59,6 +59,9 @@ files. %changelog +* Tue Jan 27 2015 Jens Petersen - 0.0.1-4 +- update urls + * Sat Aug 16 2014 Fedora Release Engineering - 0.0.1-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild From d07e7fd91ad8bff79c042f3a4b9918f97f04268c Mon Sep 17 00:00:00 2001 From: Dennis Gilmore Date: Wed, 17 Jun 2015 07:38:03 +0000 Subject: [PATCH 06/34] - Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild --- ghc-data-default-class.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/ghc-data-default-class.spec b/ghc-data-default-class.spec index 7cbc85d..70182a2 100644 --- a/ghc-data-default-class.spec +++ b/ghc-data-default-class.spec @@ -4,7 +4,7 @@ Name: ghc-%{pkg_name} Version: 0.0.1 -Release: 4%{?dist} +Release: 5%{?dist} Summary: Class for types with a default value License: BSD @@ -59,6 +59,9 @@ files. %changelog +* Wed Jun 17 2015 Fedora Release Engineering - 0.0.1-5 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild + * Tue Jan 27 2015 Jens Petersen - 0.0.1-4 - update urls From bc417805998c530c283ab2b19d5ccd3a0bae01df Mon Sep 17 00:00:00 2001 From: Dennis Gilmore Date: Wed, 3 Feb 2016 21:29:50 +0000 Subject: [PATCH 07/34] - Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild --- ghc-data-default-class.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/ghc-data-default-class.spec b/ghc-data-default-class.spec index 70182a2..1d64d62 100644 --- a/ghc-data-default-class.spec +++ b/ghc-data-default-class.spec @@ -4,7 +4,7 @@ Name: ghc-%{pkg_name} Version: 0.0.1 -Release: 5%{?dist} +Release: 6%{?dist} Summary: Class for types with a default value License: BSD @@ -59,6 +59,9 @@ files. %changelog +* Wed Feb 03 2016 Fedora Release Engineering - 0.0.1-6 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild + * Wed Jun 17 2015 Fedora Release Engineering - 0.0.1-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild From 1af8ca9fe86df0473ff752c49d8b42a182a2cfbd Mon Sep 17 00:00:00 2001 From: Jens Petersen Date: Wed, 28 Sep 2016 18:32:22 +0900 Subject: [PATCH 08/34] use %license --- ghc-data-default-class.spec | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ghc-data-default-class.spec b/ghc-data-default-class.spec index 1d64d62..866c74a 100644 --- a/ghc-data-default-class.spec +++ b/ghc-data-default-class.spec @@ -52,7 +52,7 @@ files. %files -f %{name}.files -%doc LICENSE +%license LICENSE %files devel -f %{name}-devel.files From 63aca7b7b0c0cefe808f3c9f34ce7b73503614d2 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Fri, 10 Feb 2017 10:37:05 +0000 Subject: [PATCH 09/34] - Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild --- ghc-data-default-class.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/ghc-data-default-class.spec b/ghc-data-default-class.spec index 866c74a..5075eae 100644 --- a/ghc-data-default-class.spec +++ b/ghc-data-default-class.spec @@ -4,7 +4,7 @@ Name: ghc-%{pkg_name} Version: 0.0.1 -Release: 6%{?dist} +Release: 7%{?dist} Summary: Class for types with a default value License: BSD @@ -59,6 +59,9 @@ files. %changelog +* Fri Feb 10 2017 Fedora Release Engineering - 0.0.1-7 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild + * Wed Feb 03 2016 Fedora Release Engineering - 0.0.1-6 - Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild From ea558b49c5d63e416f24c09755ed2bdd3b3889b8 Mon Sep 17 00:00:00 2001 From: Jens Petersen Date: Tue, 21 Feb 2017 21:41:00 +0900 Subject: [PATCH 10/34] update to 0.1.2.0 --- .gitignore | 1 + ghc-data-default-class.spec | 13 +++++++++---- sources | 2 +- 3 files changed, 11 insertions(+), 5 deletions(-) diff --git a/.gitignore b/.gitignore index 6c91491..6b0667b 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1,2 @@ /data-default-class-0.0.1.tar.gz +/data-default-class-0.1.2.0.tar.gz diff --git a/ghc-data-default-class.spec b/ghc-data-default-class.spec index 5075eae..79757d0 100644 --- a/ghc-data-default-class.spec +++ b/ghc-data-default-class.spec @@ -1,15 +1,17 @@ +# generated by cabal-rpm-0.11.1 # https://fedoraproject.org/wiki/Packaging:Haskell %global pkg_name data-default-class +%global pkgver %{pkg_name}-%{version} Name: ghc-%{pkg_name} -Version: 0.0.1 -Release: 7%{?dist} +Version: 0.1.2.0 +Release: 1%{?dist} Summary: Class for types with a default value 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 @@ -32,7 +34,7 @@ files. %prep -%setup -q -n %{pkg_name}-%{version} +%setup -q -n %{pkgver} %build @@ -59,6 +61,9 @@ files. %changelog +* Tue Feb 21 2017 Jens Petersen - 0.1.2.0-1 +- update to 0.1.2.0 + * Fri Feb 10 2017 Fedora Release Engineering - 0.0.1-7 - Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild diff --git a/sources b/sources index aa1f3cd..9ab3e79 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -abfd756bcc6d92e47436992c80ccdb80 data-default-class-0.0.1.tar.gz +SHA512 (data-default-class-0.1.2.0.tar.gz) = 293c899cb2b5cded58baa086251110e4c5e7a15477f1864c33be30be8d16d6fadb55e1b5fa8117f4c47ac5c86ac09abb2f7f8b3b4fb658d1492eadd099f6f7b2 From 7955aad463733c5e1a3686d9f7c3cb6e3c03a2a2 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Wed, 26 Jul 2017 09:39:28 +0000 Subject: [PATCH 11/34] - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild --- ghc-data-default-class.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/ghc-data-default-class.spec b/ghc-data-default-class.spec index 79757d0..34d71ae 100644 --- a/ghc-data-default-class.spec +++ b/ghc-data-default-class.spec @@ -6,7 +6,7 @@ Name: ghc-%{pkg_name} Version: 0.1.2.0 -Release: 1%{?dist} +Release: 2%{?dist} Summary: Class for types with a default value License: BSD @@ -61,6 +61,9 @@ files. %changelog +* Wed Jul 26 2017 Fedora Release Engineering - 0.1.2.0-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild + * Tue Feb 21 2017 Jens Petersen - 0.1.2.0-1 - update to 0.1.2.0 From 2197ccf2ba25fd82fb922190cfd8431a6754e678 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Wed, 2 Aug 2017 21:17:27 +0000 Subject: [PATCH 12/34] - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild --- ghc-data-default-class.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/ghc-data-default-class.spec b/ghc-data-default-class.spec index 34d71ae..be990a1 100644 --- a/ghc-data-default-class.spec +++ b/ghc-data-default-class.spec @@ -6,7 +6,7 @@ Name: ghc-%{pkg_name} Version: 0.1.2.0 -Release: 2%{?dist} +Release: 3%{?dist} Summary: Class for types with a default value License: BSD @@ -61,6 +61,9 @@ files. %changelog +* Wed Aug 02 2017 Fedora Release Engineering - 0.1.2.0-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild + * Wed Jul 26 2017 Fedora Release Engineering - 0.1.2.0-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild From 05c1ff926a744f0801e15b277389f452df356e19 Mon Sep 17 00:00:00 2001 From: Jens Petersen Date: Wed, 24 Jan 2018 14:10:56 +0100 Subject: [PATCH 13/34] refresh to cabal-rpm-0.12.1 --- ghc-data-default-class.spec | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/ghc-data-default-class.spec b/ghc-data-default-class.spec index be990a1..9f230a2 100644 --- a/ghc-data-default-class.spec +++ b/ghc-data-default-class.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 data-default-class @@ -23,9 +23,12 @@ A class for types with a default value. %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 @@ -45,6 +48,12 @@ files. %ghc_lib_install +%post -p /sbin/ldconfig + + +%postun -p /sbin/ldconfig + + %post devel %ghc_pkg_recache From 4740cdada4c3e445e3d9db4862a24c5a1c7880ac Mon Sep 17 00:00:00 2001 From: Jens Petersen Date: Fri, 26 Jan 2018 11:28:27 +0100 Subject: [PATCH 14/34] bump release --- ghc-data-default-class.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/ghc-data-default-class.spec b/ghc-data-default-class.spec index 9f230a2..3f6f18b 100644 --- a/ghc-data-default-class.spec +++ b/ghc-data-default-class.spec @@ -6,7 +6,7 @@ Name: ghc-%{pkg_name} Version: 0.1.2.0 -Release: 3%{?dist} +Release: 4%{?dist} Summary: Class for types with a default value License: BSD @@ -70,6 +70,9 @@ files. %changelog +* Fri Jan 26 2018 Jens Petersen - 0.1.2.0-4 +- rebuild + * Wed Aug 02 2017 Fedora Release Engineering - 0.1.2.0-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild From cd56ebcee7b8592b015b6050e611f197ad7b339f Mon Sep 17 00:00:00 2001 From: Jens Petersen Date: Sun, 4 Feb 2018 01:02:20 +0900 Subject: [PATCH 15/34] drop ldconfig scriptlets --- ghc-data-default-class.spec | 6 ------ 1 file changed, 6 deletions(-) diff --git a/ghc-data-default-class.spec b/ghc-data-default-class.spec index 3f6f18b..da2265f 100644 --- a/ghc-data-default-class.spec +++ b/ghc-data-default-class.spec @@ -48,12 +48,6 @@ files. %ghc_lib_install -%post -p /sbin/ldconfig - - -%postun -p /sbin/ldconfig - - %post devel %ghc_pkg_recache From 3be222beb819e967dcd460f4782a711c4683185b Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Wed, 7 Feb 2018 11:31:39 +0000 Subject: [PATCH 16/34] - Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild Signed-off-by: Fedora Release Engineering --- ghc-data-default-class.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/ghc-data-default-class.spec b/ghc-data-default-class.spec index da2265f..41fd478 100644 --- a/ghc-data-default-class.spec +++ b/ghc-data-default-class.spec @@ -6,7 +6,7 @@ Name: ghc-%{pkg_name} Version: 0.1.2.0 -Release: 4%{?dist} +Release: 5%{?dist} Summary: Class for types with a default value License: BSD @@ -64,6 +64,9 @@ files. %changelog +* Wed Feb 07 2018 Fedora Release Engineering - 0.1.2.0-5 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild + * Fri Jan 26 2018 Jens Petersen - 0.1.2.0-4 - rebuild From 218105069becbcf9ccfe82dd9e2d117d5882e895 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Fri, 13 Jul 2018 01:42:31 +0000 Subject: [PATCH 17/34] - Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild Signed-off-by: Fedora Release Engineering --- ghc-data-default-class.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/ghc-data-default-class.spec b/ghc-data-default-class.spec index 41fd478..4ea6ed0 100644 --- a/ghc-data-default-class.spec +++ b/ghc-data-default-class.spec @@ -6,7 +6,7 @@ Name: ghc-%{pkg_name} Version: 0.1.2.0 -Release: 5%{?dist} +Release: 6%{?dist} Summary: Class for types with a default value License: BSD @@ -64,6 +64,9 @@ files. %changelog +* Fri Jul 13 2018 Fedora Release Engineering - 0.1.2.0-6 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild + * Wed Feb 07 2018 Fedora Release Engineering - 0.1.2.0-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild From 211c3ac874a05205d80f4dbce33881b8c903a6e9 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Thu, 31 Jan 2019 21:23:13 +0000 Subject: [PATCH 18/34] - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild Signed-off-by: Fedora Release Engineering --- ghc-data-default-class.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/ghc-data-default-class.spec b/ghc-data-default-class.spec index 4ea6ed0..c4061c6 100644 --- a/ghc-data-default-class.spec +++ b/ghc-data-default-class.spec @@ -6,7 +6,7 @@ Name: ghc-%{pkg_name} Version: 0.1.2.0 -Release: 6%{?dist} +Release: 7%{?dist} Summary: Class for types with a default value License: BSD @@ -64,6 +64,9 @@ files. %changelog +* Thu Jan 31 2019 Fedora Release Engineering - 0.1.2.0-7 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild + * Fri Jul 13 2018 Fedora Release Engineering - 0.1.2.0-6 - Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild From 6fdf9885020a1729f567a9e20c79382461ee7d37 Mon Sep 17 00:00:00 2001 From: Jens Petersen Date: Sun, 17 Feb 2019 22:44:15 +0800 Subject: [PATCH 19/34] refresh to cabal-rpm-0.13 --- ghc-data-default-class.spec | 19 +++++++++++++++++-- 1 file changed, 17 insertions(+), 2 deletions(-) diff --git a/ghc-data-default-class.spec b/ghc-data-default-class.spec index c4061c6..792d630 100644 --- a/ghc-data-default-class.spec +++ b/ghc-data-default-class.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 data-default-class @@ -6,15 +6,19 @@ Name: ghc-%{pkg_name} Version: 0.1.2.0 -Release: 7%{?dist} +Release: 8%{?dist} Summary: Class for types with a default value 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 +# End cabal-rpm deps %description A class for types with a default value. @@ -37,15 +41,21 @@ 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 @@ -57,13 +67,18 @@ 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.1.2.0-8 +- refresh to cabal-rpm-0.13 + * Thu Jan 31 2019 Fedora Release Engineering - 0.1.2.0-7 - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild From fe9ae22e2dae97c427dd690c6e139338b6d91c65 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Thu, 25 Jul 2019 02:19:33 +0000 Subject: [PATCH 20/34] - Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild Signed-off-by: Fedora Release Engineering --- ghc-data-default-class.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/ghc-data-default-class.spec b/ghc-data-default-class.spec index 792d630..adfd589 100644 --- a/ghc-data-default-class.spec +++ b/ghc-data-default-class.spec @@ -6,7 +6,7 @@ Name: ghc-%{pkg_name} Version: 0.1.2.0 -Release: 8%{?dist} +Release: 9%{?dist} Summary: Class for types with a default value License: BSD @@ -76,6 +76,9 @@ files. %changelog +* Thu Jul 25 2019 Fedora Release Engineering - 0.1.2.0-9 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild + * Sun Feb 17 2019 Jens Petersen - 0.1.2.0-8 - refresh to cabal-rpm-0.13 From 38f2c9547aa1bca1596fdae8264e15e0e711f01a Mon Sep 17 00:00:00 2001 From: Jens Petersen Date: Thu, 25 Jul 2019 04:22:35 +0000 Subject: [PATCH 21/34] cabal-rpm-1.0.0: add doc and prof subpkgs --- ghc-data-default-class.spec | 53 ++++++++++++++++++++++++++++--------- 1 file changed, 40 insertions(+), 13 deletions(-) diff --git a/ghc-data-default-class.spec b/ghc-data-default-class.spec index adfd589..06ef87c 100644 --- a/ghc-data-default-class.spec +++ b/ghc-data-default-class.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 data-default-class @@ -6,7 +6,7 @@ Name: ghc-%{pkg_name} Version: 0.1.2.0 -Release: 9%{?dist} +Release: 10%{?dist} Summary: Class for types with a default value 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 # End cabal-rpm deps @@ -27,11 +33,8 @@ A class for types with a default value. %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} @@ -40,6 +43,25 @@ 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} @@ -58,14 +80,6 @@ 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 @@ -75,7 +89,20 @@ 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.1.2.0-10 +- add doc and prof subpackages (cabal-rpm-1.0.0) + * Thu Jul 25 2019 Fedora Release Engineering - 0.1.2.0-9 - Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild From 6d760f639523762726791a9a4e8ffe362bc0975b Mon Sep 17 00:00:00 2001 From: Jens Petersen Date: Mon, 5 Aug 2019 18:28:33 +0800 Subject: [PATCH 22/34] BR prof for lib and static for executable --- ghc-data-default-class.spec | 10 +++------- 1 file changed, 3 insertions(+), 7 deletions(-) diff --git a/ghc-data-default-class.spec b/ghc-data-default-class.spec index 06ef87c..29708e2 100644 --- a/ghc-data-default-class.spec +++ b/ghc-data-default-class.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 data-default-class @@ -17,13 +17,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 # End cabal-rpm deps %description @@ -33,6 +28,7 @@ A class for types with a default value. %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 668997737b1c71a296cb77b0a9d0936dbdafb175 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Tue, 28 Jan 2020 20:32:50 +0000 Subject: [PATCH 23/34] - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild Signed-off-by: Fedora Release Engineering --- ghc-data-default-class.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/ghc-data-default-class.spec b/ghc-data-default-class.spec index 29708e2..72a1524 100644 --- a/ghc-data-default-class.spec +++ b/ghc-data-default-class.spec @@ -6,7 +6,7 @@ Name: ghc-%{pkg_name} Version: 0.1.2.0 -Release: 10%{?dist} +Release: 11%{?dist} Summary: Class for types with a default value License: BSD @@ -96,6 +96,9 @@ This package provides the Haskell %{pkg_name} profiling library. %changelog +* Tue Jan 28 2020 Fedora Release Engineering - 0.1.2.0-11 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild + * Thu Aug 01 2019 Jens Petersen - 0.1.2.0-10 - add doc and prof subpackages (cabal-rpm-1.0.0) From a8469c71d31cd95eb032b45fc6d73022c78519c1 Mon Sep 17 00:00:00 2001 From: Jens Petersen Date: Sat, 8 Feb 2020 22:49:46 +0800 Subject: [PATCH 24/34] refresh to cabal-rpm-2.0.2 --- ghc-data-default-class.spec | 15 ++++++++++++++- 1 file changed, 14 insertions(+), 1 deletion(-) diff --git a/ghc-data-default-class.spec b/ghc-data-default-class.spec index 72a1524..48a778d 100644 --- a/ghc-data-default-class.spec +++ b/ghc-data-default-class.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 data-default-class @@ -42,6 +42,7 @@ 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. @@ -52,6 +53,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. @@ -76,6 +78,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 @@ -87,6 +99,7 @@ This package provides the Haskell %{pkg_name} profiling library. %if %{with haddock} %files doc -f %{name}-doc.files +%license LICENSE %endif From 8831d80e23bba6ce05081011d78f85d9208d74fd Mon Sep 17 00:00:00 2001 From: Jens Petersen Date: Thu, 4 Jun 2020 19:25:57 +0800 Subject: [PATCH 25/34] refresh to cabal-rpm-2.0.5 --- ghc-data-default-class.spec | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ghc-data-default-class.spec b/ghc-data-default-class.spec index 48a778d..06e0048 100644 --- a/ghc-data-default-class.spec +++ b/ghc-data-default-class.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 data-default-class %global pkgver %{pkg_name}-%{version} From 4e85c5cb89d755891c72b33c36296d157d8ae29b Mon Sep 17 00:00:00 2001 From: Jens Petersen Date: Fri, 19 Jun 2020 16:54:34 +0800 Subject: [PATCH 26/34] refresh to cabal-rpm-2.0.6 --- ghc-data-default-class.spec | 12 +----------- 1 file changed, 1 insertion(+), 11 deletions(-) diff --git a/ghc-data-default-class.spec b/ghc-data-default-class.spec index 06e0048..7040280 100644 --- a/ghc-data-default-class.spec +++ b/ghc-data-default-class.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 data-default-class @@ -78,16 +78,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 ae0932a38e98129133d2bbabe5e2e9ef6a05ed0d Mon Sep 17 00:00:00 2001 From: Jens Petersen Date: Fri, 17 Jul 2020 18:03:14 +0800 Subject: [PATCH 27/34] bump release --- ghc-data-default-class.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/ghc-data-default-class.spec b/ghc-data-default-class.spec index 7040280..a80c10f 100644 --- a/ghc-data-default-class.spec +++ b/ghc-data-default-class.spec @@ -6,7 +6,7 @@ Name: ghc-%{pkg_name} Version: 0.1.2.0 -Release: 11%{?dist} +Release: 12%{?dist} Summary: Class for types with a default value License: BSD @@ -99,6 +99,9 @@ This package provides the Haskell %{pkg_name} profiling library. %changelog +* Fri Jul 17 2020 Jens Petersen - 0.1.2.0-12 +- refresh to cabal-rpm-2.0.6 + * Tue Jan 28 2020 Fedora Release Engineering - 0.1.2.0-11 - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild From 683cfa284f125fe4969e006a73d5a82d8189b959 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Mon, 27 Jul 2020 19:00:43 +0000 Subject: [PATCH 28/34] - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild Signed-off-by: Fedora Release Engineering --- ghc-data-default-class.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/ghc-data-default-class.spec b/ghc-data-default-class.spec index a80c10f..605f2cf 100644 --- a/ghc-data-default-class.spec +++ b/ghc-data-default-class.spec @@ -6,7 +6,7 @@ Name: ghc-%{pkg_name} Version: 0.1.2.0 -Release: 12%{?dist} +Release: 13%{?dist} Summary: Class for types with a default value License: BSD @@ -99,6 +99,9 @@ This package provides the Haskell %{pkg_name} profiling library. %changelog +* Mon Jul 27 2020 Fedora Release Engineering - 0.1.2.0-13 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild + * Fri Jul 17 2020 Jens Petersen - 0.1.2.0-12 - refresh to cabal-rpm-2.0.6 From dfb801060d9a1c20ca3bb4ea438a3d13dbb31c6f Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Tue, 26 Jan 2021 07:04:32 +0000 Subject: [PATCH 29/34] - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild Signed-off-by: Fedora Release Engineering --- ghc-data-default-class.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/ghc-data-default-class.spec b/ghc-data-default-class.spec index 605f2cf..ffe5f85 100644 --- a/ghc-data-default-class.spec +++ b/ghc-data-default-class.spec @@ -6,7 +6,7 @@ Name: ghc-%{pkg_name} Version: 0.1.2.0 -Release: 13%{?dist} +Release: 14%{?dist} Summary: Class for types with a default value License: BSD @@ -99,6 +99,9 @@ This package provides the Haskell %{pkg_name} profiling library. %changelog +* Tue Jan 26 2021 Fedora Release Engineering - 0.1.2.0-14 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild + * Mon Jul 27 2020 Fedora Release Engineering - 0.1.2.0-13 - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild From a18826d8eced2bb29c810ca58a52313166a80bb4 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Thu, 22 Jul 2021 00:31:58 +0000 Subject: [PATCH 30/34] - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild Signed-off-by: Fedora Release Engineering --- ghc-data-default-class.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/ghc-data-default-class.spec b/ghc-data-default-class.spec index ffe5f85..51cdb9b 100644 --- a/ghc-data-default-class.spec +++ b/ghc-data-default-class.spec @@ -6,7 +6,7 @@ Name: ghc-%{pkg_name} Version: 0.1.2.0 -Release: 14%{?dist} +Release: 15%{?dist} Summary: Class for types with a default value License: BSD @@ -99,6 +99,9 @@ This package provides the Haskell %{pkg_name} profiling library. %changelog +* Thu Jul 22 2021 Fedora Release Engineering - 0.1.2.0-15 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild + * Tue Jan 26 2021 Fedora Release Engineering - 0.1.2.0-14 - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild From 41e748097917226216956abcea0736e80aa60ff3 Mon Sep 17 00:00:00 2001 From: Jens Petersen Date: Thu, 8 Jul 2021 00:30:10 +0800 Subject: [PATCH 31/34] refresh to cabal-rpm-2.0.9 --- ghc-data-default-class.spec | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/ghc-data-default-class.spec b/ghc-data-default-class.spec index 51cdb9b..633d891 100644 --- a/ghc-data-default-class.spec +++ b/ghc-data-default-class.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 data-default-class @@ -43,6 +43,7 @@ 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 942080c4ea56f3cc0983ef023191191b5a2657e8 Mon Sep 17 00:00:00 2001 From: Jens Petersen Date: Fri, 6 Aug 2021 10:44:21 +0800 Subject: [PATCH 32/34] bump release --- ghc-data-default-class.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/ghc-data-default-class.spec b/ghc-data-default-class.spec index 633d891..d6abd1b 100644 --- a/ghc-data-default-class.spec +++ b/ghc-data-default-class.spec @@ -6,7 +6,7 @@ Name: ghc-%{pkg_name} Version: 0.1.2.0 -Release: 15%{?dist} +Release: 16%{?dist} Summary: Class for types with a default value License: BSD @@ -100,6 +100,9 @@ This package provides the Haskell %{pkg_name} profiling library. %changelog +* Fri Aug 06 2021 Jens Petersen - 0.1.2.0-16 +- rebuild + * Thu Jul 22 2021 Fedora Release Engineering - 0.1.2.0-15 - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild From 36f29eb34f1fdff87b81c7f9a7028f6e357bf851 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Thu, 20 Jan 2022 04:44:39 +0000 Subject: [PATCH 33/34] - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild Signed-off-by: Fedora Release Engineering --- ghc-data-default-class.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/ghc-data-default-class.spec b/ghc-data-default-class.spec index d6abd1b..d6fe4bb 100644 --- a/ghc-data-default-class.spec +++ b/ghc-data-default-class.spec @@ -6,7 +6,7 @@ Name: ghc-%{pkg_name} Version: 0.1.2.0 -Release: 16%{?dist} +Release: 17%{?dist} Summary: Class for types with a default value License: BSD @@ -100,6 +100,9 @@ This package provides the Haskell %{pkg_name} profiling library. %changelog +* Thu Jan 20 2022 Fedora Release Engineering - 0.1.2.0-17 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild + * Fri Aug 06 2021 Jens Petersen - 0.1.2.0-16 - rebuild From c2c41d67defe0ce33036de04e89e07096fe66170 Mon Sep 17 00:00:00 2001 From: MSVSphere Packaging Team Date: Mon, 30 Oct 2023 21:33:20 +0300 Subject: [PATCH 34/34] 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 9ab3e79..0000000 --- a/sources +++ /dev/null @@ -1 +0,0 @@ -SHA512 (data-default-class-0.1.2.0.tar.gz) = 293c899cb2b5cded58baa086251110e4c5e7a15477f1864c33be30be8d16d6fadb55e1b5fa8117f4c47ac5c86ac09abb2f7f8b3b4fb658d1492eadd099f6f7b2