From 48a1440d91e906d5c07a62cff241f5ae3a19eec2 Mon Sep 17 00:00:00 2001 From: Gwyn Ciesla Date: Thu, 21 Sep 2017 12:20:03 +0000 Subject: [PATCH 01/28] Added the README --- README.md | 3 +++ 1 file changed, 3 insertions(+) create mode 100644 README.md diff --git a/README.md b/README.md new file mode 100644 index 0000000..fee639a --- /dev/null +++ b/README.md @@ -0,0 +1,3 @@ +# ghc-asn1-parse + +The ghc-asn1-parse package \ No newline at end of file From be1395f12c66ac71add053bb691f11678b0d3a1b Mon Sep 17 00:00:00 2001 From: Elliott Sales de Andrade Date: Fri, 22 Sep 2017 00:30:55 -0400 Subject: [PATCH 02/28] Initial import (#1493789). --- .gitignore | 1 + README.md | 3 -- ghc-asn1-parse.spec | 82 +++++++++++++++++++++++++++++++++++++++++++++ sources | 1 + 4 files changed, 84 insertions(+), 3 deletions(-) create mode 100644 .gitignore delete mode 100644 README.md create mode 100644 ghc-asn1-parse.spec create mode 100644 sources diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..3b075d3 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +/asn1-parse-0.9.4.tar.gz diff --git a/README.md b/README.md deleted file mode 100644 index fee639a..0000000 --- a/README.md +++ /dev/null @@ -1,3 +0,0 @@ -# ghc-asn1-parse - -The ghc-asn1-parse package \ No newline at end of file diff --git a/ghc-asn1-parse.spec b/ghc-asn1-parse.spec new file mode 100644 index 0000000..ee613f2 --- /dev/null +++ b/ghc-asn1-parse.spec @@ -0,0 +1,82 @@ +# generated by cabal-rpm-0.10.0 +# https://fedoraproject.org/wiki/Packaging:Haskell + +%global pkg_name asn1-parse + +Name: ghc-%{pkg_name} +Version: 0.9.4 +Release: 3.git.0.950ee55%{?dist} +Summary: Simple monadic parser for ASN1 stream types + +License: BSD +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 +# Begin cabal-rpm deps: +BuildRequires: ghc-asn1-encoding-devel +BuildRequires: ghc-asn1-types-devel +BuildRequires: ghc-bytestring-devel +# End cabal-rpm deps + +%description +Simple monadic parser for ASN1 stream types, when ASN1 pattern matching is not +convenient. + + +%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 +%license LICENSE + + +%files devel -f %{name}-devel.files + + +%changelog +* Fri Jul 21 2017 Elliott Sales de Andrade 0.9.4-3 +- Bump for Fedora 26. + +* Fri Dec 16 2016 Elliott Sales de Andrade - 0.9.4-2 +- spec file generated by cabal-rpm-0.10.0 +- Update release to be newer than previous builds + +* Sun Apr 24 2016 Elliott Sales de Andrade - 0.9.4-1 +- update to 0.9.4 + +* Sun Apr 24 2016 Elliott Sales de Andrade - 0.9.1-2 +- Bump to rebuild against newer dependencies + +* Sun Aug 23 2015 Ben Boeckel - 0.9.1-1 +- initial package diff --git a/sources b/sources new file mode 100644 index 0000000..f7375b3 --- /dev/null +++ b/sources @@ -0,0 +1 @@ +SHA512 (asn1-parse-0.9.4.tar.gz) = 10579753addf0580d33f2d7d8571bedb3b4ff3d485891dd7db8b75ae09550cbd42ee9d00a452263810079eeb77ec630687b193a6d4b538bfdb683b92c9e64637 From c60f5b6c666753736ac104354e0eff7805e8109c Mon Sep 17 00:00:00 2001 From: Elliott Sales de Andrade Date: Fri, 22 Sep 2017 00:31:14 -0400 Subject: [PATCH 03/28] Fix release number. --- ghc-asn1-parse.spec | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ghc-asn1-parse.spec b/ghc-asn1-parse.spec index ee613f2..22d927e 100644 --- a/ghc-asn1-parse.spec +++ b/ghc-asn1-parse.spec @@ -5,7 +5,7 @@ Name: ghc-%{pkg_name} Version: 0.9.4 -Release: 3.git.0.950ee55%{?dist} +Release: 3%{?dist} Summary: Simple monadic parser for ASN1 stream types License: BSD From 38b4900efa917590f0ac658d21379bb5fc24019a Mon Sep 17 00:00:00 2001 From: Jens Petersen Date: Wed, 24 Jan 2018 14:10:33 +0100 Subject: [PATCH 04/28] refresh to cabal-rpm-0.12.1 --- ghc-asn1-parse.spec | 16 +++++++++++++--- 1 file changed, 13 insertions(+), 3 deletions(-) diff --git a/ghc-asn1-parse.spec b/ghc-asn1-parse.spec index 22d927e..8f0d24e 100644 --- a/ghc-asn1-parse.spec +++ b/ghc-asn1-parse.spec @@ -1,7 +1,8 @@ -# generated by cabal-rpm-0.10.0 +# generated by cabal-rpm-0.12.1 # https://fedoraproject.org/wiki/Packaging:Haskell %global pkg_name asn1-parse +%global pkgver %{pkg_name}-%{version} Name: ghc-%{pkg_name} Version: 0.9.4 @@ -10,7 +11,7 @@ Summary: Simple monadic parser for ASN1 stream types 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 @@ -28,9 +29,12 @@ convenient. %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 @@ -38,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 @@ -49,6 +53,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 d72d9100397f6842cd11d58aabe0d0132f2854b3 Mon Sep 17 00:00:00 2001 From: Jens Petersen Date: Fri, 26 Jan 2018 11:17:50 +0100 Subject: [PATCH 05/28] bump release --- ghc-asn1-parse.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/ghc-asn1-parse.spec b/ghc-asn1-parse.spec index 8f0d24e..7f4efb2 100644 --- a/ghc-asn1-parse.spec +++ b/ghc-asn1-parse.spec @@ -6,7 +6,7 @@ Name: ghc-%{pkg_name} Version: 0.9.4 -Release: 3%{?dist} +Release: 4%{?dist} Summary: Simple monadic parser for ASN1 stream types License: BSD @@ -75,6 +75,9 @@ This package provides the Haskell %{pkg_name} library development files. %changelog +* Fri Jan 26 2018 Jens Petersen - 0.9.4-4 +- rebuild + * Fri Jul 21 2017 Elliott Sales de Andrade 0.9.4-3 - Bump for Fedora 26. From eb1a9d083fb5e9a92d95cc47f85074af0e998259 Mon Sep 17 00:00:00 2001 From: Jens Petersen Date: Sun, 4 Feb 2018 01:01:55 +0900 Subject: [PATCH 06/28] drop ldconfig scriptlets --- ghc-asn1-parse.spec | 6 ------ 1 file changed, 6 deletions(-) diff --git a/ghc-asn1-parse.spec b/ghc-asn1-parse.spec index 7f4efb2..ded0b3a 100644 --- a/ghc-asn1-parse.spec +++ b/ghc-asn1-parse.spec @@ -53,12 +53,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 53d551eca9ec11ca9b8d0e81cda2dce0a0826fc7 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Wed, 7 Feb 2018 11:18:07 +0000 Subject: [PATCH 07/28] - Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild Signed-off-by: Fedora Release Engineering --- ghc-asn1-parse.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/ghc-asn1-parse.spec b/ghc-asn1-parse.spec index ded0b3a..52500ae 100644 --- a/ghc-asn1-parse.spec +++ b/ghc-asn1-parse.spec @@ -6,7 +6,7 @@ Name: ghc-%{pkg_name} Version: 0.9.4 -Release: 4%{?dist} +Release: 5%{?dist} Summary: Simple monadic parser for ASN1 stream types License: BSD @@ -69,6 +69,9 @@ This package provides the Haskell %{pkg_name} library development files. %changelog +* Wed Feb 07 2018 Fedora Release Engineering - 0.9.4-5 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild + * Fri Jan 26 2018 Jens Petersen - 0.9.4-4 - rebuild From ffcf0e4ee8daa67cd2906c6aa9565842dcba8a34 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Fri, 13 Jul 2018 01:32:57 +0000 Subject: [PATCH 08/28] - Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild Signed-off-by: Fedora Release Engineering --- ghc-asn1-parse.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/ghc-asn1-parse.spec b/ghc-asn1-parse.spec index 52500ae..b79a666 100644 --- a/ghc-asn1-parse.spec +++ b/ghc-asn1-parse.spec @@ -6,7 +6,7 @@ Name: ghc-%{pkg_name} Version: 0.9.4 -Release: 5%{?dist} +Release: 6%{?dist} Summary: Simple monadic parser for ASN1 stream types License: BSD @@ -69,6 +69,9 @@ This package provides the Haskell %{pkg_name} library development files. %changelog +* Fri Jul 13 2018 Fedora Release Engineering - 0.9.4-6 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild + * Wed Feb 07 2018 Fedora Release Engineering - 0.9.4-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild From 927dca4372dc685b732fbe66d7cc1040ccb84cdc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Miro=20Hron=C4=8Dok?= Date: Mon, 23 Jul 2018 13:41:50 +0200 Subject: [PATCH 09/28] Rebuilt for #1607054 --- ghc-asn1-parse.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/ghc-asn1-parse.spec b/ghc-asn1-parse.spec index b79a666..c8ebabd 100644 --- a/ghc-asn1-parse.spec +++ b/ghc-asn1-parse.spec @@ -6,7 +6,7 @@ Name: ghc-%{pkg_name} Version: 0.9.4 -Release: 6%{?dist} +Release: 7%{?dist} Summary: Simple monadic parser for ASN1 stream types License: BSD @@ -69,6 +69,9 @@ This package provides the Haskell %{pkg_name} library development files. %changelog +* Mon Jul 23 2018 Miro Hrončok - 0.9.4-7 +- Rebuilt for #1607054 + * Fri Jul 13 2018 Fedora Release Engineering - 0.9.4-6 - Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild From 9e428933c122d3cfa84723b4ec8ad47978a9026b Mon Sep 17 00:00:00 2001 From: Jens Petersen Date: Sun, 29 Jul 2018 01:06:15 +0900 Subject: [PATCH 10/28] rebuild --- ghc-asn1-parse.spec | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/ghc-asn1-parse.spec b/ghc-asn1-parse.spec index c8ebabd..c634f0f 100644 --- a/ghc-asn1-parse.spec +++ b/ghc-asn1-parse.spec @@ -1,4 +1,4 @@ -# generated by cabal-rpm-0.12.1 +# generated by cabal-rpm-0.12.5 # https://fedoraproject.org/wiki/Packaging:Haskell %global pkg_name asn1-parse @@ -6,7 +6,7 @@ Name: ghc-%{pkg_name} Version: 0.9.4 -Release: 7%{?dist} +Release: 8%{?dist} Summary: Simple monadic parser for ASN1 stream types License: BSD @@ -69,6 +69,9 @@ This package provides the Haskell %{pkg_name} library development files. %changelog +* Sat Jul 28 2018 Jens Petersen - 0.9.4-8 +- rebuild + * Mon Jul 23 2018 Miro Hrončok - 0.9.4-7 - Rebuilt for #1607054 From e3779ba4af1496cfbedd807a626dd1a89b34fe95 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Thu, 31 Jan 2019 21:09:53 +0000 Subject: [PATCH 11/28] - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild Signed-off-by: Fedora Release Engineering --- ghc-asn1-parse.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/ghc-asn1-parse.spec b/ghc-asn1-parse.spec index c634f0f..e82b870 100644 --- a/ghc-asn1-parse.spec +++ b/ghc-asn1-parse.spec @@ -6,7 +6,7 @@ Name: ghc-%{pkg_name} Version: 0.9.4 -Release: 8%{?dist} +Release: 9%{?dist} Summary: Simple monadic parser for ASN1 stream types License: BSD @@ -69,6 +69,9 @@ This package provides the Haskell %{pkg_name} library development files. %changelog +* Thu Jan 31 2019 Fedora Release Engineering - 0.9.4-9 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild + * Sat Jul 28 2018 Jens Petersen - 0.9.4-8 - rebuild From f3d5365a6b043c3067ce30a006effc2d0dc632b0 Mon Sep 17 00:00:00 2001 From: Jens Petersen Date: Sun, 17 Feb 2019 22:43:28 +0800 Subject: [PATCH 12/28] refresh to cabal-rpm-0.13 --- ghc-asn1-parse.spec | 19 ++++++++++++++++--- 1 file changed, 16 insertions(+), 3 deletions(-) diff --git a/ghc-asn1-parse.spec b/ghc-asn1-parse.spec index e82b870..eaca74b 100644 --- a/ghc-asn1-parse.spec +++ b/ghc-asn1-parse.spec @@ -1,4 +1,4 @@ -# generated by cabal-rpm-0.12.5 +# generated by cabal-rpm-0.13 # https://fedoraproject.org/wiki/Packaging:Haskell %global pkg_name asn1-parse @@ -6,16 +6,18 @@ Name: ghc-%{pkg_name} Version: 0.9.4 -Release: 9%{?dist} +Release: 10%{?dist} Summary: Simple monadic parser for ASN1 stream types 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-asn1-encoding-devel BuildRequires: ghc-asn1-types-devel BuildRequires: ghc-bytestring-devel @@ -42,15 +44,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 @@ -62,13 +70,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.9.4-10 +- refresh to cabal-rpm-0.13 + * Thu Jan 31 2019 Fedora Release Engineering - 0.9.4-9 - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild From 2d28691377c4aae18ad2b7c915aa05118b25561b Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Thu, 25 Jul 2019 02:06:00 +0000 Subject: [PATCH 13/28] - Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild Signed-off-by: Fedora Release Engineering --- ghc-asn1-parse.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/ghc-asn1-parse.spec b/ghc-asn1-parse.spec index eaca74b..0e134cf 100644 --- a/ghc-asn1-parse.spec +++ b/ghc-asn1-parse.spec @@ -6,7 +6,7 @@ Name: ghc-%{pkg_name} Version: 0.9.4 -Release: 10%{?dist} +Release: 11%{?dist} Summary: Simple monadic parser for ASN1 stream types License: BSD @@ -79,6 +79,9 @@ This package provides the Haskell %{pkg_name} library development files. %changelog +* Thu Jul 25 2019 Fedora Release Engineering - 0.9.4-11 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild + * Sun Feb 17 2019 Jens Petersen - 0.9.4-10 - refresh to cabal-rpm-0.13 From 668a467c552bd438c220013642deb699fb5597b7 Mon Sep 17 00:00:00 2001 From: Jens Petersen Date: Thu, 25 Jul 2019 04:21:29 +0000 Subject: [PATCH 14/28] cabal-rpm-1.0.0: add doc and prof subpkgs --- ghc-asn1-parse.spec | 53 ++++++++++++++++++++++++++++++++++----------- 1 file changed, 40 insertions(+), 13 deletions(-) diff --git a/ghc-asn1-parse.spec b/ghc-asn1-parse.spec index 0e134cf..78c545b 100644 --- a/ghc-asn1-parse.spec +++ b/ghc-asn1-parse.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 asn1-parse @@ -6,7 +6,7 @@ Name: ghc-%{pkg_name} Version: 0.9.4 -Release: 11%{?dist} +Release: 12%{?dist} Summary: Simple monadic parser for ASN1 stream types 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-asn1-encoding-devel BuildRequires: ghc-asn1-types-devel @@ -31,11 +37,8 @@ convenient. %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} @@ -43,6 +46,25 @@ Requires: %{name}%{?_isa} = %{version}-%{release} This package provides the Haskell %{pkg_name} library development files. +%if %{with haddock} +%package doc +Summary: Haskell %{pkg_name} library documentation + +%description doc +This package provides the Haskell %{pkg_name} library documentation. +%endif + + +%if %{with ghc_prof} +%package prof +Summary: Haskell %{pkg_name} profiling library +Requires: %{name}-devel%{?_isa} = %{version}-%{release} + +%description prof +This package provides the Haskell %{pkg_name} profiling library. +%endif + + %prep # Begin cabal-rpm setup: %setup -q -n %{pkgver} @@ -61,14 +83,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 @@ -78,7 +92,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.9.4-12 +- add doc and prof subpackages (cabal-rpm-1.0.0) + * Thu Jul 25 2019 Fedora Release Engineering - 0.9.4-11 - Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild From 219fb37308de1a62d11d6bfdc1961415496d2bc0 Mon Sep 17 00:00:00 2001 From: Jens Petersen Date: Mon, 5 Aug 2019 18:27:27 +0800 Subject: [PATCH 15/28] BR prof for lib and static for executable --- ghc-asn1-parse.spec | 16 ++++++---------- 1 file changed, 6 insertions(+), 10 deletions(-) diff --git a/ghc-asn1-parse.spec b/ghc-asn1-parse.spec index 78c545b..7bb3c79 100644 --- a/ghc-asn1-parse.spec +++ b/ghc-asn1-parse.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 asn1-parse @@ -17,16 +17,11 @@ 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-asn1-encoding-devel -BuildRequires: ghc-asn1-types-devel -BuildRequires: ghc-bytestring-devel +BuildRequires: ghc-asn1-encoding-prof +BuildRequires: ghc-asn1-types-prof +BuildRequires: ghc-base-prof +BuildRequires: ghc-bytestring-prof # End cabal-rpm deps %description @@ -37,6 +32,7 @@ convenient. %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 de88593f428085b67431ce31abbb358c03f85b57 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Tue, 28 Jan 2020 20:15:46 +0000 Subject: [PATCH 16/28] - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild Signed-off-by: Fedora Release Engineering --- ghc-asn1-parse.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/ghc-asn1-parse.spec b/ghc-asn1-parse.spec index 7bb3c79..01211dd 100644 --- a/ghc-asn1-parse.spec +++ b/ghc-asn1-parse.spec @@ -6,7 +6,7 @@ Name: ghc-%{pkg_name} Version: 0.9.4 -Release: 12%{?dist} +Release: 13%{?dist} Summary: Simple monadic parser for ASN1 stream types License: BSD @@ -99,6 +99,9 @@ This package provides the Haskell %{pkg_name} profiling library. %changelog +* Tue Jan 28 2020 Fedora Release Engineering - 0.9.4-13 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild + * Thu Aug 01 2019 Jens Petersen - 0.9.4-12 - add doc and prof subpackages (cabal-rpm-1.0.0) From 94db33366be0222f59f62415b5845204e9ecc958 Mon Sep 17 00:00:00 2001 From: Jens Petersen Date: Sat, 8 Feb 2020 22:48:55 +0800 Subject: [PATCH 17/28] refresh to cabal-rpm-2.0.2 --- ghc-asn1-parse.spec | 15 ++++++++++++++- 1 file changed, 14 insertions(+), 1 deletion(-) diff --git a/ghc-asn1-parse.spec b/ghc-asn1-parse.spec index 01211dd..2fe839c 100644 --- a/ghc-asn1-parse.spec +++ b/ghc-asn1-parse.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 asn1-parse @@ -45,6 +45,7 @@ This package provides the Haskell %{pkg_name} library development files. %if %{with haddock} %package doc Summary: Haskell %{pkg_name} library documentation +BuildArch: noarch %description doc This package provides the Haskell %{pkg_name} library documentation. @@ -55,6 +56,7 @@ This package provides the Haskell %{pkg_name} library documentation. %package prof Summary: Haskell %{pkg_name} profiling library Requires: %{name}-devel%{?_isa} = %{version}-%{release} +Supplements: (%{name}-devel and ghc-prof) %description prof This package provides the Haskell %{pkg_name} profiling library. @@ -79,6 +81,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 @@ -90,6 +102,7 @@ This package provides the Haskell %{pkg_name} profiling library. %if %{with haddock} %files doc -f %{name}-doc.files +%license LICENSE %endif From bb8e647d96a978f1c858884d7b68e7b6f6af408e Mon Sep 17 00:00:00 2001 From: Jens Petersen Date: Sun, 9 Feb 2020 21:52:58 +0800 Subject: [PATCH 18/28] update to 0.9.5 --- .gitignore | 1 + ghc-asn1-parse.spec | 7 +++++-- sources | 2 +- 3 files changed, 7 insertions(+), 3 deletions(-) diff --git a/.gitignore b/.gitignore index 3b075d3..f7759a5 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1,2 @@ /asn1-parse-0.9.4.tar.gz +/asn1-parse-0.9.5.tar.gz diff --git a/ghc-asn1-parse.spec b/ghc-asn1-parse.spec index 2fe839c..ab26db3 100644 --- a/ghc-asn1-parse.spec +++ b/ghc-asn1-parse.spec @@ -5,8 +5,8 @@ %global pkgver %{pkg_name}-%{version} Name: ghc-%{pkg_name} -Version: 0.9.4 -Release: 13%{?dist} +Version: 0.9.5 +Release: 1%{?dist} Summary: Simple monadic parser for ASN1 stream types License: BSD @@ -112,6 +112,9 @@ This package provides the Haskell %{pkg_name} profiling library. %changelog +* Sun Feb 09 2020 Jens Petersen - 0.9.5-1 +- update to 0.9.5 + * Tue Jan 28 2020 Fedora Release Engineering - 0.9.4-13 - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild diff --git a/sources b/sources index f7375b3..3b39a89 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (asn1-parse-0.9.4.tar.gz) = 10579753addf0580d33f2d7d8571bedb3b4ff3d485891dd7db8b75ae09550cbd42ee9d00a452263810079eeb77ec630687b193a6d4b538bfdb683b92c9e64637 +SHA512 (asn1-parse-0.9.5.tar.gz) = d352422479a4bb31a6c7ea02fc3da701d1417bb37a9f029636f6e2646530e4bd8a8de65e192b2beaa5b0b115487c45f42252acf05f58e5f513dea4c81be59a7f From e706c7e8fafd2b8d3a3af5dcde7ecbd5932f5b3a Mon Sep 17 00:00:00 2001 From: Jens Petersen Date: Thu, 4 Jun 2020 19:25:11 +0800 Subject: [PATCH 19/28] refresh to cabal-rpm-2.0.5 --- ghc-asn1-parse.spec | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ghc-asn1-parse.spec b/ghc-asn1-parse.spec index ab26db3..d7e1db5 100644 --- a/ghc-asn1-parse.spec +++ b/ghc-asn1-parse.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 asn1-parse %global pkgver %{pkg_name}-%{version} From 61d9668f394808c9db29e1b60ce0ace74fed33d2 Mon Sep 17 00:00:00 2001 From: Jens Petersen Date: Fri, 19 Jun 2020 16:53:48 +0800 Subject: [PATCH 20/28] refresh to cabal-rpm-2.0.6 --- ghc-asn1-parse.spec | 12 +----------- 1 file changed, 1 insertion(+), 11 deletions(-) diff --git a/ghc-asn1-parse.spec b/ghc-asn1-parse.spec index d7e1db5..198ab7e 100644 --- a/ghc-asn1-parse.spec +++ b/ghc-asn1-parse.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 asn1-parse @@ -81,16 +81,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 6f06f41bf5711cdd4316ad0a91f9375ba8d74be1 Mon Sep 17 00:00:00 2001 From: Jens Petersen Date: Fri, 17 Jul 2020 17:51:27 +0800 Subject: [PATCH 21/28] bump release --- ghc-asn1-parse.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/ghc-asn1-parse.spec b/ghc-asn1-parse.spec index 198ab7e..caccaf1 100644 --- a/ghc-asn1-parse.spec +++ b/ghc-asn1-parse.spec @@ -6,7 +6,7 @@ Name: ghc-%{pkg_name} Version: 0.9.5 -Release: 1%{?dist} +Release: 2%{?dist} Summary: Simple monadic parser for ASN1 stream types License: BSD @@ -102,6 +102,9 @@ This package provides the Haskell %{pkg_name} profiling library. %changelog +* Fri Jul 17 2020 Jens Petersen - 0.9.5-2 +- refresh to cabal-rpm-2.0.6 + * Sun Feb 09 2020 Jens Petersen - 0.9.5-1 - update to 0.9.5 From 1c9cacb8b3b30f3565faad8cfcf1a05dcf61ee3b Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Mon, 27 Jul 2020 18:47:15 +0000 Subject: [PATCH 22/28] - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild Signed-off-by: Fedora Release Engineering --- ghc-asn1-parse.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/ghc-asn1-parse.spec b/ghc-asn1-parse.spec index caccaf1..f0c8abb 100644 --- a/ghc-asn1-parse.spec +++ b/ghc-asn1-parse.spec @@ -6,7 +6,7 @@ Name: ghc-%{pkg_name} Version: 0.9.5 -Release: 2%{?dist} +Release: 3%{?dist} Summary: Simple monadic parser for ASN1 stream types License: BSD @@ -102,6 +102,9 @@ This package provides the Haskell %{pkg_name} profiling library. %changelog +* Mon Jul 27 2020 Fedora Release Engineering - 0.9.5-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild + * Fri Jul 17 2020 Jens Petersen - 0.9.5-2 - refresh to cabal-rpm-2.0.6 From 4ef8998d3cbfcbca9b3b60deb15e59c496bf406b Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Tue, 26 Jan 2021 06:51:28 +0000 Subject: [PATCH 23/28] - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild Signed-off-by: Fedora Release Engineering --- ghc-asn1-parse.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/ghc-asn1-parse.spec b/ghc-asn1-parse.spec index f0c8abb..1523106 100644 --- a/ghc-asn1-parse.spec +++ b/ghc-asn1-parse.spec @@ -6,7 +6,7 @@ Name: ghc-%{pkg_name} Version: 0.9.5 -Release: 3%{?dist} +Release: 4%{?dist} Summary: Simple monadic parser for ASN1 stream types License: BSD @@ -102,6 +102,9 @@ This package provides the Haskell %{pkg_name} profiling library. %changelog +* Tue Jan 26 2021 Fedora Release Engineering - 0.9.5-4 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild + * Mon Jul 27 2020 Fedora Release Engineering - 0.9.5-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild From 213688d869a29931e1a919aaeb6bef414f71688f Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Thu, 22 Jul 2021 00:18:10 +0000 Subject: [PATCH 24/28] - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild Signed-off-by: Fedora Release Engineering --- ghc-asn1-parse.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/ghc-asn1-parse.spec b/ghc-asn1-parse.spec index 1523106..bd033f3 100644 --- a/ghc-asn1-parse.spec +++ b/ghc-asn1-parse.spec @@ -6,7 +6,7 @@ Name: ghc-%{pkg_name} Version: 0.9.5 -Release: 4%{?dist} +Release: 5%{?dist} Summary: Simple monadic parser for ASN1 stream types License: BSD @@ -102,6 +102,9 @@ This package provides the Haskell %{pkg_name} profiling library. %changelog +* Thu Jul 22 2021 Fedora Release Engineering - 0.9.5-5 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild + * Tue Jan 26 2021 Fedora Release Engineering - 0.9.5-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild From 2fd5cd2f84be2a90d6b56d4b67fda26ad2134cb2 Mon Sep 17 00:00:00 2001 From: Jens Petersen Date: Thu, 8 Jul 2021 00:30:09 +0800 Subject: [PATCH 25/28] refresh to cabal-rpm-2.0.9 --- ghc-asn1-parse.spec | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/ghc-asn1-parse.spec b/ghc-asn1-parse.spec index bd033f3..46de762 100644 --- a/ghc-asn1-parse.spec +++ b/ghc-asn1-parse.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 asn1-parse @@ -46,6 +46,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 3f9b58bc5c327ff6fe2adcc0913e4c118b414a49 Mon Sep 17 00:00:00 2001 From: Jens Petersen Date: Fri, 6 Aug 2021 10:20:36 +0800 Subject: [PATCH 26/28] bump release --- ghc-asn1-parse.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/ghc-asn1-parse.spec b/ghc-asn1-parse.spec index 46de762..b27fe02 100644 --- a/ghc-asn1-parse.spec +++ b/ghc-asn1-parse.spec @@ -6,7 +6,7 @@ Name: ghc-%{pkg_name} Version: 0.9.5 -Release: 5%{?dist} +Release: 6%{?dist} Summary: Simple monadic parser for ASN1 stream types License: BSD @@ -103,6 +103,9 @@ This package provides the Haskell %{pkg_name} profiling library. %changelog +* Fri Aug 06 2021 Jens Petersen - 0.9.5-6 +- rebuild + * Thu Jul 22 2021 Fedora Release Engineering - 0.9.5-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild From 581ac3af774428e255e7516661d4e75429444a4e Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Thu, 20 Jan 2022 04:30:29 +0000 Subject: [PATCH 27/28] - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild Signed-off-by: Fedora Release Engineering --- ghc-asn1-parse.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/ghc-asn1-parse.spec b/ghc-asn1-parse.spec index b27fe02..a583b66 100644 --- a/ghc-asn1-parse.spec +++ b/ghc-asn1-parse.spec @@ -6,7 +6,7 @@ Name: ghc-%{pkg_name} Version: 0.9.5 -Release: 6%{?dist} +Release: 7%{?dist} Summary: Simple monadic parser for ASN1 stream types License: BSD @@ -103,6 +103,9 @@ This package provides the Haskell %{pkg_name} profiling library. %changelog +* Thu Jan 20 2022 Fedora Release Engineering - 0.9.5-7 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild + * Fri Aug 06 2021 Jens Petersen - 0.9.5-6 - rebuild From b61ac018a71aebb260539f76e11c750227b673bb Mon Sep 17 00:00:00 2001 From: MSVSphere Packaging Team Date: Mon, 30 Oct 2023 21:19:48 +0300 Subject: [PATCH 28/28] 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 3b39a89..0000000 --- a/sources +++ /dev/null @@ -1 +0,0 @@ -SHA512 (asn1-parse-0.9.5.tar.gz) = d352422479a4bb31a6c7ea02fc3da701d1417bb37a9f029636f6e2646530e4bd8a8de65e192b2beaa5b0b115487c45f42252acf05f58e5f513dea4c81be59a7f