From f5f84c5ec18f1a966e57d20690ce4f7c5f246209 Mon Sep 17 00:00:00 2001 From: Gwyn Ciesla Date: Mon, 20 Nov 2017 15:00:14 +0000 Subject: [PATCH 01/29] 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..9f8b2b5 --- /dev/null +++ b/README.md @@ -0,0 +1,3 @@ +# ghc-Glob + +The ghc-Glob package \ No newline at end of file From 51030111d2caf79dd11f05a79f039b5c1bf3d96f Mon Sep 17 00:00:00 2001 From: Elliott Sales de Andrade Date: Mon, 20 Nov 2017 17:54:38 -0500 Subject: [PATCH 02/29] Initial import (#1514680). --- .gitignore | 1 + README.md | 3 -- ghc-Glob.spec | 86 +++++++++++++++++++++++++++++++++++++++++++++++++++ sources | 1 + 4 files changed, 88 insertions(+), 3 deletions(-) create mode 100644 .gitignore delete mode 100644 README.md create mode 100644 ghc-Glob.spec create mode 100644 sources diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..a04adca --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +/Glob-0.9.1.tar.gz diff --git a/README.md b/README.md deleted file mode 100644 index 9f8b2b5..0000000 --- a/README.md +++ /dev/null @@ -1,3 +0,0 @@ -# ghc-Glob - -The ghc-Glob package \ No newline at end of file diff --git a/ghc-Glob.spec b/ghc-Glob.spec new file mode 100644 index 0000000..189bdea --- /dev/null +++ b/ghc-Glob.spec @@ -0,0 +1,86 @@ +# generated by cabal-rpm-0.11.2 +# https://fedoraproject.org/wiki/Packaging:Haskell + +%global pkg_name Glob +%global pkgver %{pkg_name}-%{version} + +%bcond_with tests + +Name: ghc-%{pkg_name} +Version: 0.9.1 +Release: 1%{?dist} +Summary: Globbing library + +License: BSD +Url: https://hackage.haskell.org/package/%{pkg_name} +Source0: https://hackage.haskell.org/package/%{pkgver}/%{pkgver}.tar.gz + +BuildRequires: ghc-Cabal-devel +BuildRequires: ghc-rpm-macros +# Begin cabal-rpm deps: +BuildRequires: ghc-containers-devel +BuildRequires: ghc-directory-devel +BuildRequires: ghc-dlist-devel +BuildRequires: ghc-filepath-devel +BuildRequires: ghc-transformers-compat-devel +BuildRequires: ghc-transformers-devel +%if %{with tests} +BuildRequires: ghc-HUnit-devel +BuildRequires: ghc-QuickCheck-devel +BuildRequires: ghc-test-framework-devel +BuildRequires: ghc-test-framework-hunit-devel +BuildRequires: ghc-test-framework-quickcheck2-devel +%endif +# End cabal-rpm deps + +%description +A library for globbing: matching patterns against file paths. + + +%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 %{pkgver} + + +%build +%ghc_lib_build + + +%install +%ghc_lib_install + + +%check +%cabal_test + + +%post devel +%ghc_pkg_recache + + +%postun devel +%ghc_pkg_recache + + +%files -f %{name}.files +%license LICENSE.txt + + +%files devel -f %{name}-devel.files +%doc CHANGELOG.txt README.txt + + +%changelog +* Sat Nov 18 2017 Fedora Haskell SIG - 0.9.1-1 +- spec file generated by cabal-rpm-0.11.2 diff --git a/sources b/sources new file mode 100644 index 0000000..f181ac8 --- /dev/null +++ b/sources @@ -0,0 +1 @@ +SHA512 (Glob-0.9.1.tar.gz) = 3c6396a8037b91c2bbafe22a26997ac69b6b78b2d82dfe79aa56b7ee269edea53721676862f5059890377b84d284d695b4623803edba4acd924078ae29dcdb1e From 443557571012b5eaf23f6f6371de413de75e6b6e Mon Sep 17 00:00:00 2001 From: Jens Petersen Date: Wed, 24 Jan 2018 14:10:23 +0100 Subject: [PATCH 03/29] refresh to cabal-rpm-0.12.1 --- ghc-Glob.spec | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/ghc-Glob.spec b/ghc-Glob.spec index 189bdea..1b952c5 100644 --- a/ghc-Glob.spec +++ b/ghc-Glob.spec @@ -1,4 +1,4 @@ -# generated by cabal-rpm-0.11.2 +# generated by cabal-rpm-0.12.1 # https://fedoraproject.org/wiki/Packaging:Haskell %global pkg_name Glob @@ -40,9 +40,12 @@ A library for globbing: matching patterns against file paths. %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 @@ -65,6 +68,12 @@ This package provides the Haskell %{pkg_name} library development files. %cabal_test +%post -p /sbin/ldconfig + + +%postun -p /sbin/ldconfig + + %post devel %ghc_pkg_recache From 59ad110cbcfd53cafbf4cf7eee1f8c9c4c1bb3f0 Mon Sep 17 00:00:00 2001 From: Jens Petersen Date: Fri, 26 Jan 2018 11:13:20 +0100 Subject: [PATCH 04/29] bump release --- ghc-Glob.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/ghc-Glob.spec b/ghc-Glob.spec index 1b952c5..f22d305 100644 --- a/ghc-Glob.spec +++ b/ghc-Glob.spec @@ -8,7 +8,7 @@ Name: ghc-%{pkg_name} Version: 0.9.1 -Release: 1%{?dist} +Release: 2%{?dist} Summary: Globbing library License: BSD @@ -91,5 +91,8 @@ This package provides the Haskell %{pkg_name} library development files. %changelog +* Fri Jan 26 2018 Jens Petersen - 0.9.1-2 +- rebuild + * Sat Nov 18 2017 Fedora Haskell SIG - 0.9.1-1 - spec file generated by cabal-rpm-0.11.2 From 7b43b7a5e2c6e110576f34ffc547bb6e4a1c8422 Mon Sep 17 00:00:00 2001 From: Jens Petersen Date: Sun, 4 Feb 2018 01:01:45 +0900 Subject: [PATCH 05/29] drop ldconfig scriptlets --- ghc-Glob.spec | 6 ------ 1 file changed, 6 deletions(-) diff --git a/ghc-Glob.spec b/ghc-Glob.spec index f22d305..8d03185 100644 --- a/ghc-Glob.spec +++ b/ghc-Glob.spec @@ -68,12 +68,6 @@ This package provides the Haskell %{pkg_name} library development files. %cabal_test -%post -p /sbin/ldconfig - - -%postun -p /sbin/ldconfig - - %post devel %ghc_pkg_recache From 10110bfaa75961466a6f17a143e8172bd07884a5 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Wed, 7 Feb 2018 11:12:18 +0000 Subject: [PATCH 06/29] - Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild Signed-off-by: Fedora Release Engineering --- ghc-Glob.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/ghc-Glob.spec b/ghc-Glob.spec index 8d03185..dd8489e 100644 --- a/ghc-Glob.spec +++ b/ghc-Glob.spec @@ -8,7 +8,7 @@ Name: ghc-%{pkg_name} Version: 0.9.1 -Release: 2%{?dist} +Release: 3%{?dist} Summary: Globbing library License: BSD @@ -85,6 +85,9 @@ This package provides the Haskell %{pkg_name} library development files. %changelog +* Wed Feb 07 2018 Fedora Release Engineering - 0.9.1-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild + * Fri Jan 26 2018 Jens Petersen - 0.9.1-2 - rebuild From 018c2e42a623c1cf2b1aaa83652edc7d7f434b0c Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Fri, 13 Jul 2018 01:29:11 +0000 Subject: [PATCH 07/29] - Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild Signed-off-by: Fedora Release Engineering --- ghc-Glob.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/ghc-Glob.spec b/ghc-Glob.spec index dd8489e..52f921a 100644 --- a/ghc-Glob.spec +++ b/ghc-Glob.spec @@ -8,7 +8,7 @@ Name: ghc-%{pkg_name} Version: 0.9.1 -Release: 3%{?dist} +Release: 4%{?dist} Summary: Globbing library License: BSD @@ -85,6 +85,9 @@ This package provides the Haskell %{pkg_name} library development files. %changelog +* Fri Jul 13 2018 Fedora Release Engineering - 0.9.1-4 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild + * Wed Feb 07 2018 Fedora Release Engineering - 0.9.1-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild From c97f660dd56b5eae3c91de4d84a833e5326e2fed Mon Sep 17 00:00:00 2001 From: Jens Petersen Date: Sun, 22 Jul 2018 22:43:25 +0900 Subject: [PATCH 08/29] update to 0.9.2 --- .gitignore | 1 + ghc-Glob.spec | 9 ++++++--- sources | 2 +- 3 files changed, 8 insertions(+), 4 deletions(-) diff --git a/.gitignore b/.gitignore index a04adca..4492737 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1,2 @@ /Glob-0.9.1.tar.gz +/Glob-0.9.2.tar.gz diff --git a/ghc-Glob.spec b/ghc-Glob.spec index 52f921a..2609c70 100644 --- a/ghc-Glob.spec +++ b/ghc-Glob.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 Glob @@ -7,8 +7,8 @@ %bcond_with tests Name: ghc-%{pkg_name} -Version: 0.9.1 -Release: 4%{?dist} +Version: 0.9.2 +Release: 1%{?dist} Summary: Globbing library License: BSD @@ -85,6 +85,9 @@ This package provides the Haskell %{pkg_name} library development files. %changelog +* Sun Jul 22 2018 Jens Petersen - 0.9.2-1 +- update to 0.9.2 + * Fri Jul 13 2018 Fedora Release Engineering - 0.9.1-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild diff --git a/sources b/sources index f181ac8..da3246c 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (Glob-0.9.1.tar.gz) = 3c6396a8037b91c2bbafe22a26997ac69b6b78b2d82dfe79aa56b7ee269edea53721676862f5059890377b84d284d695b4623803edba4acd924078ae29dcdb1e +SHA512 (Glob-0.9.2.tar.gz) = 41b2c82c23717a6879e3ee676b26a4a233fbd74157e9ab8a044ea59c2d937737193886d4c16d71f2a24edad4135c08d3257da0d6440ecbe826ab53aefa21908b From d1f72227eb44a8b496c3ff99a45ae3b2e4fd1820 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Thu, 31 Jan 2019 21:04:16 +0000 Subject: [PATCH 09/29] - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild Signed-off-by: Fedora Release Engineering --- ghc-Glob.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/ghc-Glob.spec b/ghc-Glob.spec index 2609c70..847e457 100644 --- a/ghc-Glob.spec +++ b/ghc-Glob.spec @@ -8,7 +8,7 @@ Name: ghc-%{pkg_name} Version: 0.9.2 -Release: 1%{?dist} +Release: 2%{?dist} Summary: Globbing library License: BSD @@ -85,6 +85,9 @@ This package provides the Haskell %{pkg_name} library development files. %changelog +* Thu Jan 31 2019 Fedora Release Engineering - 0.9.2-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild + * Sun Jul 22 2018 Jens Petersen - 0.9.2-1 - update to 0.9.2 From 0fdae4a7d9fb21c1aff185259a8834ee66b06b04 Mon Sep 17 00:00:00 2001 From: Jens Petersen Date: Sun, 17 Feb 2019 22:43:08 +0800 Subject: [PATCH 10/29] refresh to cabal-rpm-0.13 --- ghc-Glob.spec | 19 ++++++++++++++++--- 1 file changed, 16 insertions(+), 3 deletions(-) diff --git a/ghc-Glob.spec b/ghc-Glob.spec index 847e457..b865d22 100644 --- a/ghc-Glob.spec +++ b/ghc-Glob.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 Glob @@ -8,16 +8,18 @@ Name: ghc-%{pkg_name} Version: 0.9.2 -Release: 2%{?dist} +Release: 3%{?dist} Summary: Globbing library 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-containers-devel BuildRequires: ghc-directory-devel BuildRequires: ghc-dlist-devel @@ -53,15 +55,21 @@ This package provides the Haskell %{pkg_name} library development files. %prep +# Begin cabal-rpm setup: %setup -q -n %{pkgver} +# End cabal-rpm setup %build +# Begin cabal-rpm build: %ghc_lib_build +# End cabal-rpm build %install +# Begin cabal-rpm install %ghc_lib_install +# End cabal-rpm install %check @@ -77,7 +85,9 @@ This package provides the Haskell %{pkg_name} library development files. %files -f %{name}.files +# Begin cabal-rpm files: %license LICENSE.txt +# End cabal-rpm files %files devel -f %{name}-devel.files @@ -85,6 +95,9 @@ This package provides the Haskell %{pkg_name} library development files. %changelog +* Sun Feb 17 2019 Jens Petersen - 0.9.2-3 +- refresh to cabal-rpm-0.13 + * Thu Jan 31 2019 Fedora Release Engineering - 0.9.2-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild From 04948110e0b8ebc4cee64eeb0d974e046f2f6280 Mon Sep 17 00:00:00 2001 From: Jens Petersen Date: Thu, 21 Feb 2019 09:59:33 +0800 Subject: [PATCH 11/29] update to 0.9.3 --- .gitignore | 1 + ghc-Glob.spec | 7 +++++-- sources | 2 +- 3 files changed, 7 insertions(+), 3 deletions(-) diff --git a/.gitignore b/.gitignore index 4492737..2683487 100644 --- a/.gitignore +++ b/.gitignore @@ -1,2 +1,3 @@ /Glob-0.9.1.tar.gz /Glob-0.9.2.tar.gz +/Glob-0.9.3.tar.gz diff --git a/ghc-Glob.spec b/ghc-Glob.spec index b865d22..2c1e064 100644 --- a/ghc-Glob.spec +++ b/ghc-Glob.spec @@ -7,8 +7,8 @@ %bcond_with tests Name: ghc-%{pkg_name} -Version: 0.9.2 -Release: 3%{?dist} +Version: 0.9.3 +Release: 1%{?dist} Summary: Globbing library License: BSD @@ -95,6 +95,9 @@ This package provides the Haskell %{pkg_name} library development files. %changelog +* Thu Feb 21 2019 Jens Petersen - 0.9.3-1 +- update to 0.9.3 + * Sun Feb 17 2019 Jens Petersen - 0.9.2-3 - refresh to cabal-rpm-0.13 diff --git a/sources b/sources index da3246c..eb3afc5 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (Glob-0.9.2.tar.gz) = 41b2c82c23717a6879e3ee676b26a4a233fbd74157e9ab8a044ea59c2d937737193886d4c16d71f2a24edad4135c08d3257da0d6440ecbe826ab53aefa21908b +SHA512 (Glob-0.9.3.tar.gz) = 4b677745881b318a5a82668d56c4547f8d1173be55cb1589ad0b9e62622151d771d3a40479126749135cbc98f56d8cfea3619358db5929c890838d3e0b85a536 From af631a185620433b244e54269d923b0c7893c0cb Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Thu, 25 Jul 2019 01:59:33 +0000 Subject: [PATCH 12/29] - Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild Signed-off-by: Fedora Release Engineering --- ghc-Glob.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/ghc-Glob.spec b/ghc-Glob.spec index 2c1e064..6b1e47c 100644 --- a/ghc-Glob.spec +++ b/ghc-Glob.spec @@ -8,7 +8,7 @@ Name: ghc-%{pkg_name} Version: 0.9.3 -Release: 1%{?dist} +Release: 2%{?dist} Summary: Globbing library License: BSD @@ -95,6 +95,9 @@ This package provides the Haskell %{pkg_name} library development files. %changelog +* Thu Jul 25 2019 Fedora Release Engineering - 0.9.3-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild + * Thu Feb 21 2019 Jens Petersen - 0.9.3-1 - update to 0.9.3 From a3296582df4d445327b92c447643275da3cdd3af Mon Sep 17 00:00:00 2001 From: Jens Petersen Date: Thu, 25 Jul 2019 04:21:01 +0000 Subject: [PATCH 13/29] cabal-rpm-1.0.0: add doc and prof subpkgs --- ghc-Glob.spec | 53 ++++++++++++++++++++++++++++++++++++++------------- 1 file changed, 40 insertions(+), 13 deletions(-) diff --git a/ghc-Glob.spec b/ghc-Glob.spec index 6b1e47c..47a8bdc 100644 --- a/ghc-Glob.spec +++ b/ghc-Glob.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 Glob @@ -8,7 +8,7 @@ Name: ghc-%{pkg_name} Version: 0.9.3 -Release: 2%{?dist} +Release: 3%{?dist} Summary: Globbing library License: BSD @@ -19,6 +19,12 @@ Source0: https://hackage.haskell.org/package/%{pkgver}/%{pkgver}.tar.gz # Begin cabal-rpm deps: BuildRequires: ghc-Cabal-devel +%if %{with haddock} +BuildRequires: ghc-doc +%endif +%if %{with ghc_prof} +BuildRequires: ghc-prof +%endif BuildRequires: ghc-rpm-macros BuildRequires: ghc-containers-devel BuildRequires: ghc-directory-devel @@ -42,11 +48,8 @@ A library for globbing: matching patterns against file paths. %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} @@ -54,6 +57,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} @@ -76,14 +98,6 @@ This package provides the Haskell %{pkg_name} library development files. %cabal_test -%post devel -%ghc_pkg_recache - - -%postun devel -%ghc_pkg_recache - - %files -f %{name}.files # Begin cabal-rpm files: %license LICENSE.txt @@ -94,7 +108,20 @@ This package provides the Haskell %{pkg_name} library development files. %doc CHANGELOG.txt README.txt +%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.3-3 +- add doc and prof subpackages (cabal-rpm-1.0.0) + * Thu Jul 25 2019 Fedora Release Engineering - 0.9.3-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild From f66fd2b3e6c7bacd531b0964bf5ec3939d10bd67 Mon Sep 17 00:00:00 2001 From: Jens Petersen Date: Mon, 5 Aug 2019 18:26:59 +0800 Subject: [PATCH 14/29] BR prof for lib and static for executable --- ghc-Glob.spec | 22 +++++++++------------- 1 file changed, 9 insertions(+), 13 deletions(-) diff --git a/ghc-Glob.spec b/ghc-Glob.spec index 47a8bdc..e131f76 100644 --- a/ghc-Glob.spec +++ b/ghc-Glob.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 Glob @@ -19,19 +19,14 @@ 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-containers-devel -BuildRequires: ghc-directory-devel -BuildRequires: ghc-dlist-devel -BuildRequires: ghc-filepath-devel -BuildRequires: ghc-transformers-compat-devel -BuildRequires: ghc-transformers-devel +BuildRequires: ghc-base-prof +BuildRequires: ghc-containers-prof +BuildRequires: ghc-directory-prof +BuildRequires: ghc-dlist-prof +BuildRequires: ghc-filepath-prof +BuildRequires: ghc-transformers-prof +BuildRequires: ghc-transformers-compat-prof %if %{with tests} BuildRequires: ghc-HUnit-devel BuildRequires: ghc-QuickCheck-devel @@ -48,6 +43,7 @@ A library for globbing: matching patterns against file paths. %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 9aa422e3f3bae09c8c3dd776edd5caada34a4b0b Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Tue, 28 Jan 2020 20:08:56 +0000 Subject: [PATCH 15/29] - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild Signed-off-by: Fedora Release Engineering --- ghc-Glob.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/ghc-Glob.spec b/ghc-Glob.spec index e131f76..c3b6b80 100644 --- a/ghc-Glob.spec +++ b/ghc-Glob.spec @@ -8,7 +8,7 @@ Name: ghc-%{pkg_name} Version: 0.9.3 -Release: 3%{?dist} +Release: 4%{?dist} Summary: Globbing library License: BSD @@ -115,6 +115,9 @@ This package provides the Haskell %{pkg_name} profiling library. %changelog +* Tue Jan 28 2020 Fedora Release Engineering - 0.9.3-4 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild + * Thu Aug 01 2019 Jens Petersen - 0.9.3-3 - add doc and prof subpackages (cabal-rpm-1.0.0) From a49ef51a50ad528c908d7bf6ba542f6d1ad46df6 Mon Sep 17 00:00:00 2001 From: Jens Petersen Date: Sat, 8 Feb 2020 22:48:35 +0800 Subject: [PATCH 16/29] refresh to cabal-rpm-2.0.2 --- ghc-Glob.spec | 24 ++++++++++++------------ 1 file changed, 12 insertions(+), 12 deletions(-) diff --git a/ghc-Glob.spec b/ghc-Glob.spec index c3b6b80..07d2b05 100644 --- a/ghc-Glob.spec +++ b/ghc-Glob.spec @@ -1,11 +1,9 @@ -# generated by cabal-rpm-1.0.1 +# generated by cabal-rpm-2.0.2 # https://fedoraproject.org/wiki/Packaging:Haskell %global pkg_name Glob %global pkgver %{pkg_name}-%{version} -%bcond_with tests - Name: ghc-%{pkg_name} Version: 0.9.3 Release: 4%{?dist} @@ -27,13 +25,6 @@ BuildRequires: ghc-dlist-prof BuildRequires: ghc-filepath-prof BuildRequires: ghc-transformers-prof BuildRequires: ghc-transformers-compat-prof -%if %{with tests} -BuildRequires: ghc-HUnit-devel -BuildRequires: ghc-QuickCheck-devel -BuildRequires: ghc-test-framework-devel -BuildRequires: ghc-test-framework-hunit-devel -BuildRequires: ghc-test-framework-quickcheck2-devel -%endif # End cabal-rpm deps %description @@ -56,6 +47,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. @@ -66,6 +58,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. @@ -90,8 +83,14 @@ This package provides the Haskell %{pkg_name} profiling library. # End cabal-rpm install -%check -%cabal_test +%if 0%{?fedora} < 31 || 0%{?rhel} < 8 +%post devel +%ghc_pkg_recache + + +%postun devel +%ghc_pkg_recache +%endif %files -f %{name}.files @@ -106,6 +105,7 @@ This package provides the Haskell %{pkg_name} profiling library. %if %{with haddock} %files doc -f %{name}-doc.files +%license LICENSE.txt %endif From 279ef2d592d0515bb9a59f0da57e46bce3163761 Mon Sep 17 00:00:00 2001 From: Jens Petersen Date: Sun, 9 Feb 2020 21:44:40 +0800 Subject: [PATCH 17/29] update to 0.10.0 --- .gitignore | 1 + Glob-0.10.0.cabal | 94 +++++++++++++++++++++++++++++++++++++++++++++++ ghc-Glob.spec | 9 ++++- sources | 2 +- 4 files changed, 103 insertions(+), 3 deletions(-) create mode 100644 Glob-0.10.0.cabal diff --git a/.gitignore b/.gitignore index 2683487..f2854bb 100644 --- a/.gitignore +++ b/.gitignore @@ -1,3 +1,4 @@ /Glob-0.9.1.tar.gz /Glob-0.9.2.tar.gz /Glob-0.9.3.tar.gz +/Glob-0.10.0.tar.gz diff --git a/Glob-0.10.0.cabal b/Glob-0.10.0.cabal new file mode 100644 index 0000000..971983a --- /dev/null +++ b/Glob-0.10.0.cabal @@ -0,0 +1,94 @@ +Cabal-Version: >= 1.9.2 + +Name: Glob +Version: 0.10.0 +x-revision: 1 +Homepage: http://iki.fi/matti.niemenmaa/glob/ +Synopsis: Globbing library +Category: System +Stability: provisional +Description: + A library for globbing: matching patterns against file paths. + +Author: Matti Niemenmaa +Maintainer: Matti Niemenmaa +License: BSD3 +License-File: LICENSE.txt + +Build-Type: Simple + +Extra-Source-Files: CHANGELOG.txt + CREDITS.txt + README.txt + +Source-Repository head + Type: git + Location: https://github.com/Deewiant/glob + +Library + Build-Depends: base >= 4 && < 5 + , containers < 0.7 + , directory < 1.4 + , dlist >= 0.4 && < 0.9 + , filepath >= 1.1 && < 1.5 + , transformers >= 0.2 && < 0.6 + , transformers-compat >= 0.3 && < 0.7 + + if impl(ghc < 8.0) + Build-Depends: semigroups >= 0.18 && < 0.20 + + if os(windows) + Build-Depends: Win32 == 2.* + + Exposed-Modules: System.FilePath.Glob + System.FilePath.Glob.Primitive + Other-Modules: System.FilePath.Glob.Base + System.FilePath.Glob.Directory + System.FilePath.Glob.Match + System.FilePath.Glob.Simplify + System.FilePath.Glob.Utils + + GHC-Options: -Wall + +Test-Suite glob-tests + type: exitcode-stdio-1.0 + + hs-source-dirs: ., tests + main-is: Main.hs + + Build-Depends: base >= 4 && < 5 + , containers < 0.7 + , directory < 1.4 + , dlist >= 0.4 && < 0.9 + , filepath >= 1.1 && < 1.5 + , transformers >= 0.2 && < 0.6 + , transformers-compat >= 0.3 && < 0.7 + , HUnit >= 1.2 && < 1.7 + , QuickCheck >= 2 && < 3 + , test-framework >= 0.2 && < 1 + , test-framework-hunit >= 0.2 && < 1 + , test-framework-quickcheck2 >= 0.3 && < 1 + + if impl(ghc < 8.0) + Build-Depends: semigroups >= 0.18 && < 0.20 + + if os(windows) + Build-Depends: Win32 == 2.* + + Other-Modules: System.FilePath.Glob.Base + System.FilePath.Glob.Directory + System.FilePath.Glob.Match + System.FilePath.Glob.Primitive + System.FilePath.Glob.Simplify + System.FilePath.Glob.Utils + Tests.Base + Tests.Compiler + Tests.Directory + Tests.Instances + Tests.Matcher + Tests.Optimizer + Tests.Regression + Tests.Simplifier + Tests.Utils + + GHC-Options: -Wall diff --git a/ghc-Glob.spec b/ghc-Glob.spec index 07d2b05..35ed8bf 100644 --- a/ghc-Glob.spec +++ b/ghc-Glob.spec @@ -5,14 +5,15 @@ %global pkgver %{pkg_name}-%{version} Name: ghc-%{pkg_name} -Version: 0.9.3 -Release: 4%{?dist} +Version: 0.10.0 +Release: 1%{?dist} Summary: Globbing library License: BSD Url: https://hackage.haskell.org/package/%{pkg_name} # Begin cabal-rpm sources: Source0: https://hackage.haskell.org/package/%{pkgver}/%{pkgver}.tar.gz +Source1: https://hackage.haskell.org/package/%{pkgver}/%{pkg_name}.cabal#/%{pkgver}.cabal # End cabal-rpm sources # Begin cabal-rpm deps: @@ -68,6 +69,7 @@ This package provides the Haskell %{pkg_name} profiling library. %prep # Begin cabal-rpm setup: %setup -q -n %{pkgver} +cp -bp %{SOURCE1} %{pkg_name}.cabal # End cabal-rpm setup @@ -115,6 +117,9 @@ This package provides the Haskell %{pkg_name} profiling library. %changelog +* Sun Feb 09 2020 Jens Petersen - 0.10.0-1 +- update to 0.10.0 + * Tue Jan 28 2020 Fedora Release Engineering - 0.9.3-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild diff --git a/sources b/sources index eb3afc5..debf5f5 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (Glob-0.9.3.tar.gz) = 4b677745881b318a5a82668d56c4547f8d1173be55cb1589ad0b9e62622151d771d3a40479126749135cbc98f56d8cfea3619358db5929c890838d3e0b85a536 +SHA512 (Glob-0.10.0.tar.gz) = a7e1fe244cc7f4b74fb9cc74712d0d11679597dc5cb2e4f06540b71d3c9999c6e7e4f5243e8f757bcdcfea7c031b82143b522b378e157ad4a5046bc1e6bea88c From bb13a43ac792a1b0db0d2caff0c12ff44484735a Mon Sep 17 00:00:00 2001 From: Jens Petersen Date: Thu, 4 Jun 2020 19:24:53 +0800 Subject: [PATCH 18/29] refresh to cabal-rpm-2.0.5 --- ghc-Glob.spec | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/ghc-Glob.spec b/ghc-Glob.spec index 35ed8bf..1040988 100644 --- a/ghc-Glob.spec +++ b/ghc-Glob.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 Glob %global pkgver %{pkg_name}-%{version} @@ -82,6 +82,7 @@ cp -bp %{SOURCE1} %{pkg_name}.cabal %install # Begin cabal-rpm install %ghc_lib_install +chmod a-x CHANGELOG.txt README.txt # End cabal-rpm install From 82e8b49ab8c7310ecc2ec2fd7ae0f567f6fa9757 Mon Sep 17 00:00:00 2001 From: Jens Petersen Date: Fri, 19 Jun 2020 16:53:29 +0800 Subject: [PATCH 19/29] refresh to cabal-rpm-2.0.6 --- ghc-Glob.spec | 16 ++++------------ 1 file changed, 4 insertions(+), 12 deletions(-) diff --git a/ghc-Glob.spec b/ghc-Glob.spec index 1040988..a896017 100644 --- a/ghc-Glob.spec +++ b/ghc-Glob.spec @@ -1,9 +1,11 @@ -# 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 Glob %global pkgver %{pkg_name}-%{version} +# testsuite missing deps: test-framework test-framework-hunit test-framework-quickcheck2 + Name: ghc-%{pkg_name} Version: 0.10.0 Release: 1%{?dist} @@ -70,6 +72,7 @@ This package provides the Haskell %{pkg_name} profiling library. # Begin cabal-rpm setup: %setup -q -n %{pkgver} cp -bp %{SOURCE1} %{pkg_name}.cabal +chmod a-x CHANGELOG.txt README.txt # End cabal-rpm setup @@ -82,20 +85,9 @@ cp -bp %{SOURCE1} %{pkg_name}.cabal %install # Begin cabal-rpm install %ghc_lib_install -chmod a-x CHANGELOG.txt README.txt # 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.txt From 5ce11b05f2e592e63cec8fc6e9024f580a205fe5 Mon Sep 17 00:00:00 2001 From: Jens Petersen Date: Fri, 17 Jul 2020 17:46:19 +0800 Subject: [PATCH 20/29] bump release --- ghc-Glob.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/ghc-Glob.spec b/ghc-Glob.spec index a896017..0f74c6d 100644 --- a/ghc-Glob.spec +++ b/ghc-Glob.spec @@ -8,7 +8,7 @@ Name: ghc-%{pkg_name} Version: 0.10.0 -Release: 1%{?dist} +Release: 2%{?dist} Summary: Globbing library License: BSD @@ -110,6 +110,9 @@ chmod a-x CHANGELOG.txt README.txt %changelog +* Fri Jul 17 2020 Jens Petersen - 0.10.0-2 +- refresh to cabal-rpm-2.0.6 + * Sun Feb 09 2020 Jens Petersen - 0.10.0-1 - update to 0.10.0 From 80c93f654262f203f7741bd5725b068a18da1fd2 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Mon, 27 Jul 2020 18:41:43 +0000 Subject: [PATCH 21/29] - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild Signed-off-by: Fedora Release Engineering --- ghc-Glob.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/ghc-Glob.spec b/ghc-Glob.spec index 0f74c6d..f4ddea5 100644 --- a/ghc-Glob.spec +++ b/ghc-Glob.spec @@ -8,7 +8,7 @@ Name: ghc-%{pkg_name} Version: 0.10.0 -Release: 2%{?dist} +Release: 3%{?dist} Summary: Globbing library License: BSD @@ -110,6 +110,9 @@ chmod a-x CHANGELOG.txt README.txt %changelog +* Mon Jul 27 2020 Fedora Release Engineering - 0.10.0-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild + * Fri Jul 17 2020 Jens Petersen - 0.10.0-2 - refresh to cabal-rpm-2.0.6 From 0e20970e5d00450a80da96a0c0956dc0e0b1689a Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Tue, 26 Jan 2021 06:45:29 +0000 Subject: [PATCH 22/29] - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild Signed-off-by: Fedora Release Engineering --- ghc-Glob.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/ghc-Glob.spec b/ghc-Glob.spec index f4ddea5..f294be9 100644 --- a/ghc-Glob.spec +++ b/ghc-Glob.spec @@ -8,7 +8,7 @@ Name: ghc-%{pkg_name} Version: 0.10.0 -Release: 3%{?dist} +Release: 4%{?dist} Summary: Globbing library License: BSD @@ -110,6 +110,9 @@ chmod a-x CHANGELOG.txt README.txt %changelog +* Tue Jan 26 2021 Fedora Release Engineering - 0.10.0-4 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild + * Mon Jul 27 2020 Fedora Release Engineering - 0.10.0-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild From f037ed76d19da770ed39a8b4bcf6c7242880744d Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Thu, 22 Jul 2021 00:11:37 +0000 Subject: [PATCH 23/29] - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild Signed-off-by: Fedora Release Engineering --- ghc-Glob.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/ghc-Glob.spec b/ghc-Glob.spec index f294be9..0b23489 100644 --- a/ghc-Glob.spec +++ b/ghc-Glob.spec @@ -8,7 +8,7 @@ Name: ghc-%{pkg_name} Version: 0.10.0 -Release: 4%{?dist} +Release: 5%{?dist} Summary: Globbing library License: BSD @@ -110,6 +110,9 @@ chmod a-x CHANGELOG.txt README.txt %changelog +* Thu Jul 22 2021 Fedora Release Engineering - 0.10.0-5 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild + * Tue Jan 26 2021 Fedora Release Engineering - 0.10.0-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild From c703d42a53d9495eeedcfb9c4e8fac721e4abc3a Mon Sep 17 00:00:00 2001 From: Jens Petersen Date: Thu, 5 Aug 2021 01:33:05 +0800 Subject: [PATCH 24/29] update to 0.10.1 --- .gitignore | 1 + Glob-0.10.0.cabal | 94 ----------------------------------------------- ghc-Glob.spec | 9 +++-- sources | 2 +- 4 files changed, 7 insertions(+), 99 deletions(-) delete mode 100644 Glob-0.10.0.cabal diff --git a/.gitignore b/.gitignore index f2854bb..f78007f 100644 --- a/.gitignore +++ b/.gitignore @@ -2,3 +2,4 @@ /Glob-0.9.2.tar.gz /Glob-0.9.3.tar.gz /Glob-0.10.0.tar.gz +/Glob-0.10.1.tar.gz diff --git a/Glob-0.10.0.cabal b/Glob-0.10.0.cabal deleted file mode 100644 index 971983a..0000000 --- a/Glob-0.10.0.cabal +++ /dev/null @@ -1,94 +0,0 @@ -Cabal-Version: >= 1.9.2 - -Name: Glob -Version: 0.10.0 -x-revision: 1 -Homepage: http://iki.fi/matti.niemenmaa/glob/ -Synopsis: Globbing library -Category: System -Stability: provisional -Description: - A library for globbing: matching patterns against file paths. - -Author: Matti Niemenmaa -Maintainer: Matti Niemenmaa -License: BSD3 -License-File: LICENSE.txt - -Build-Type: Simple - -Extra-Source-Files: CHANGELOG.txt - CREDITS.txt - README.txt - -Source-Repository head - Type: git - Location: https://github.com/Deewiant/glob - -Library - Build-Depends: base >= 4 && < 5 - , containers < 0.7 - , directory < 1.4 - , dlist >= 0.4 && < 0.9 - , filepath >= 1.1 && < 1.5 - , transformers >= 0.2 && < 0.6 - , transformers-compat >= 0.3 && < 0.7 - - if impl(ghc < 8.0) - Build-Depends: semigroups >= 0.18 && < 0.20 - - if os(windows) - Build-Depends: Win32 == 2.* - - Exposed-Modules: System.FilePath.Glob - System.FilePath.Glob.Primitive - Other-Modules: System.FilePath.Glob.Base - System.FilePath.Glob.Directory - System.FilePath.Glob.Match - System.FilePath.Glob.Simplify - System.FilePath.Glob.Utils - - GHC-Options: -Wall - -Test-Suite glob-tests - type: exitcode-stdio-1.0 - - hs-source-dirs: ., tests - main-is: Main.hs - - Build-Depends: base >= 4 && < 5 - , containers < 0.7 - , directory < 1.4 - , dlist >= 0.4 && < 0.9 - , filepath >= 1.1 && < 1.5 - , transformers >= 0.2 && < 0.6 - , transformers-compat >= 0.3 && < 0.7 - , HUnit >= 1.2 && < 1.7 - , QuickCheck >= 2 && < 3 - , test-framework >= 0.2 && < 1 - , test-framework-hunit >= 0.2 && < 1 - , test-framework-quickcheck2 >= 0.3 && < 1 - - if impl(ghc < 8.0) - Build-Depends: semigroups >= 0.18 && < 0.20 - - if os(windows) - Build-Depends: Win32 == 2.* - - Other-Modules: System.FilePath.Glob.Base - System.FilePath.Glob.Directory - System.FilePath.Glob.Match - System.FilePath.Glob.Primitive - System.FilePath.Glob.Simplify - System.FilePath.Glob.Utils - Tests.Base - Tests.Compiler - Tests.Directory - Tests.Instances - Tests.Matcher - Tests.Optimizer - Tests.Regression - Tests.Simplifier - Tests.Utils - - GHC-Options: -Wall diff --git a/ghc-Glob.spec b/ghc-Glob.spec index 0b23489..35a02f9 100644 --- a/ghc-Glob.spec +++ b/ghc-Glob.spec @@ -7,15 +7,14 @@ # testsuite missing deps: test-framework test-framework-hunit test-framework-quickcheck2 Name: ghc-%{pkg_name} -Version: 0.10.0 -Release: 5%{?dist} +Version: 0.10.1 +Release: 1%{?dist} Summary: Globbing library License: BSD Url: https://hackage.haskell.org/package/%{pkg_name} # Begin cabal-rpm sources: Source0: https://hackage.haskell.org/package/%{pkgver}/%{pkgver}.tar.gz -Source1: https://hackage.haskell.org/package/%{pkgver}/%{pkg_name}.cabal#/%{pkgver}.cabal # End cabal-rpm sources # Begin cabal-rpm deps: @@ -71,7 +70,6 @@ This package provides the Haskell %{pkg_name} profiling library. %prep # Begin cabal-rpm setup: %setup -q -n %{pkgver} -cp -bp %{SOURCE1} %{pkg_name}.cabal chmod a-x CHANGELOG.txt README.txt # End cabal-rpm setup @@ -110,6 +108,9 @@ chmod a-x CHANGELOG.txt README.txt %changelog +* Thu Aug 5 2021 Jens Petersen - 0.10.1-1 +- update to 0.10.1 + * Thu Jul 22 2021 Fedora Release Engineering - 0.10.0-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild diff --git a/sources b/sources index debf5f5..5257213 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (Glob-0.10.0.tar.gz) = a7e1fe244cc7f4b74fb9cc74712d0d11679597dc5cb2e4f06540b71d3c9999c6e7e4f5243e8f757bcdcfea7c031b82143b522b378e157ad4a5046bc1e6bea88c +SHA512 (Glob-0.10.1.tar.gz) = b2b2ee93f2cadf01f8a6828b9e742a241601f5fada1f73388dc0044f8e0985c601bd6a42738c60c54eecb619b6289ac1302751d8e2402f6494aaeb2b2a4abb42 From e79fb3fa1af3fc739b8352f317fc6d57adc0b03c Mon Sep 17 00:00:00 2001 From: Jens Petersen Date: Thu, 8 Jul 2021 00:30:09 +0800 Subject: [PATCH 25/29] refresh to cabal-rpm-2.0.9 --- ghc-Glob.spec | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ghc-Glob.spec b/ghc-Glob.spec index 35a02f9..2f8a151 100644 --- a/ghc-Glob.spec +++ b/ghc-Glob.spec @@ -1,4 +1,4 @@ -# generated by cabal-rpm-2.0.6 +# generated by cabal-rpm-2.0.10 # https://docs.fedoraproject.org/en-US/packaging-guidelines/Haskell/ %global pkg_name Glob @@ -50,6 +50,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. @@ -70,7 +71,6 @@ This package provides the Haskell %{pkg_name} profiling library. %prep # Begin cabal-rpm setup: %setup -q -n %{pkgver} -chmod a-x CHANGELOG.txt README.txt # End cabal-rpm setup From 9890a0a76f70b1a9b421df4806dc36beb850069e Mon Sep 17 00:00:00 2001 From: Jens Petersen Date: Thu, 5 Aug 2021 18:11:07 +0800 Subject: [PATCH 26/29] revise .cabal --- Glob-0.10.1.cabal | 98 +++++++++++++++++++++++++++++++++++++++++++++++ ghc-Glob.spec | 3 ++ 2 files changed, 101 insertions(+) create mode 100644 Glob-0.10.1.cabal diff --git a/Glob-0.10.1.cabal b/Glob-0.10.1.cabal new file mode 100644 index 0000000..0eb6248 --- /dev/null +++ b/Glob-0.10.1.cabal @@ -0,0 +1,98 @@ +Cabal-Version: >= 1.10 + +Name: Glob +Version: 0.10.1 +x-revision: 1 +Homepage: http://iki.fi/matti.niemenmaa/glob/ +Synopsis: Globbing library +Category: System +Stability: provisional +Description: + A library for globbing: matching patterns against file paths. + +Author: Matti Niemenmaa +Maintainer: Matti Niemenmaa +License: BSD3 +License-File: LICENSE.txt + +Build-Type: Simple + +Extra-Source-Files: CHANGELOG.txt + CREDITS.txt + README.txt + +Source-Repository head + Type: git + Location: https://github.com/Deewiant/glob + +Library + Build-Depends: base >= 4 && < 5 + , containers < 0.7 + , directory < 1.4 + , dlist >= 0.4 && < 1.1 + , filepath >= 1.1 && < 1.5 + , transformers >= 0.2 && < 0.6 + , transformers-compat >= 0.3 && < 0.8 + + if impl(ghc < 8.0) + Build-Depends: semigroups >= 0.18 && < 0.20 + + if os(windows) + Build-Depends: Win32 == 2.* + + Default-Language: Haskell98 + + Exposed-Modules: System.FilePath.Glob + System.FilePath.Glob.Primitive + Other-Modules: System.FilePath.Glob.Base + System.FilePath.Glob.Directory + System.FilePath.Glob.Match + System.FilePath.Glob.Simplify + System.FilePath.Glob.Utils + + GHC-Options: -Wall + +Test-Suite glob-tests + type: exitcode-stdio-1.0 + + hs-source-dirs: ., tests + main-is: Main.hs + + Build-Depends: base >= 4 && < 5 + , containers < 0.7 + , directory < 1.4 + , dlist >= 0.4 && < 1.1 + , filepath >= 1.1 && < 1.5 + , transformers >= 0.2 && < 0.6 + , transformers-compat >= 0.3 && < 0.8 + , HUnit >= 1.2 && < 1.7 + , QuickCheck >= 2 && < 3 + , test-framework >= 0.2 && < 1 + , test-framework-hunit >= 0.2 && < 1 + , test-framework-quickcheck2 >= 0.3 && < 1 + + if impl(ghc < 8.0) + Build-Depends: semigroups >= 0.18 && < 0.20 + + if os(windows) + Build-Depends: Win32 == 2.* + + Default-Language: Haskell98 + + Other-Modules: System.FilePath.Glob.Base + System.FilePath.Glob.Directory + System.FilePath.Glob.Match + System.FilePath.Glob.Primitive + System.FilePath.Glob.Simplify + System.FilePath.Glob.Utils + Tests.Base + Tests.Compiler + Tests.Directory + Tests.Instances + Tests.Matcher + Tests.Optimizer + Tests.Regression + Tests.Simplifier + Tests.Utils + + GHC-Options: -Wall diff --git a/ghc-Glob.spec b/ghc-Glob.spec index 2f8a151..da7eded 100644 --- a/ghc-Glob.spec +++ b/ghc-Glob.spec @@ -15,9 +15,11 @@ License: BSD Url: https://hackage.haskell.org/package/%{pkg_name} # Begin cabal-rpm sources: Source0: https://hackage.haskell.org/package/%{pkgver}/%{pkgver}.tar.gz +Source1: https://hackage.haskell.org/package/%{pkgver}/%{pkg_name}.cabal#/%{pkgver}.cabal # End cabal-rpm sources # Begin cabal-rpm deps: +BuildRequires: dos2unix BuildRequires: ghc-Cabal-devel BuildRequires: ghc-rpm-macros BuildRequires: ghc-base-prof @@ -71,6 +73,7 @@ This package provides the Haskell %{pkg_name} profiling library. %prep # Begin cabal-rpm setup: %setup -q -n %{pkgver} +dos2unix -k -n %{SOURCE1} %{pkg_name}.cabal # End cabal-rpm setup From 930849804c6f7c0969081ae4c2d64e78b5d82880 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Thu, 20 Jan 2022 04:23:42 +0000 Subject: [PATCH 27/29] - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild Signed-off-by: Fedora Release Engineering --- ghc-Glob.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/ghc-Glob.spec b/ghc-Glob.spec index da7eded..7850f56 100644 --- a/ghc-Glob.spec +++ b/ghc-Glob.spec @@ -8,7 +8,7 @@ Name: ghc-%{pkg_name} Version: 0.10.1 -Release: 1%{?dist} +Release: 2%{?dist} Summary: Globbing library License: BSD @@ -111,6 +111,9 @@ dos2unix -k -n %{SOURCE1} %{pkg_name}.cabal %changelog +* Thu Jan 20 2022 Fedora Release Engineering - 0.10.1-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild + * Thu Aug 5 2021 Jens Petersen - 0.10.1-1 - update to 0.10.1 From f6ac2be6f0c3e83be96619bf59439a44e9e00a00 Mon Sep 17 00:00:00 2001 From: Jens Petersen Date: Tue, 7 Jun 2022 10:04:23 +0800 Subject: [PATCH 28/29] update to 0.10.2 --- .gitignore | 1 + Glob-0.10.1.cabal => Glob-0.10.2.cabal | 50 +++++++++++++------------- ghc-Glob.spec | 7 ++-- sources | 2 +- 4 files changed, 32 insertions(+), 28 deletions(-) rename Glob-0.10.1.cabal => Glob-0.10.2.cabal (58%) diff --git a/.gitignore b/.gitignore index f78007f..b098ebe 100644 --- a/.gitignore +++ b/.gitignore @@ -3,3 +3,4 @@ /Glob-0.9.3.tar.gz /Glob-0.10.0.tar.gz /Glob-0.10.1.tar.gz +/Glob-0.10.2.tar.gz diff --git a/Glob-0.10.1.cabal b/Glob-0.10.2.cabal similarity index 58% rename from Glob-0.10.1.cabal rename to Glob-0.10.2.cabal index 0eb6248..5b25736 100644 --- a/Glob-0.10.1.cabal +++ b/Glob-0.10.2.cabal @@ -1,8 +1,8 @@ Cabal-Version: >= 1.10 Name: Glob -Version: 0.10.1 -x-revision: 1 +Version: 0.10.2 +x-revision: 3 Homepage: http://iki.fi/matti.niemenmaa/glob/ Synopsis: Globbing library Category: System @@ -26,19 +26,19 @@ Source-Repository head Location: https://github.com/Deewiant/glob Library - Build-Depends: base >= 4 && < 5 - , containers < 0.7 - , directory < 1.4 - , dlist >= 0.4 && < 1.1 - , filepath >= 1.1 && < 1.5 - , transformers >= 0.2 && < 0.6 - , transformers-compat >= 0.3 && < 0.8 + Build-Depends: base >= 4 && < 5 + , containers + , directory + , dlist >= 0.4 + , filepath >= 1.1 + , transformers >= 0.2 + , transformers-compat >= 0.3 if impl(ghc < 8.0) - Build-Depends: semigroups >= 0.18 && < 0.20 + Build-Depends: semigroups >= 0.18 if os(windows) - Build-Depends: Win32 == 2.* + Build-Depends: Win32 >= 2.5 Default-Language: Haskell98 @@ -59,23 +59,23 @@ Test-Suite glob-tests main-is: Main.hs Build-Depends: base >= 4 && < 5 - , containers < 0.7 - , directory < 1.4 - , dlist >= 0.4 && < 1.1 - , filepath >= 1.1 && < 1.5 - , transformers >= 0.2 && < 0.6 - , transformers-compat >= 0.3 && < 0.8 - , HUnit >= 1.2 && < 1.7 - , QuickCheck >= 2 && < 3 - , test-framework >= 0.2 && < 1 - , test-framework-hunit >= 0.2 && < 1 - , test-framework-quickcheck2 >= 0.3 && < 1 + , containers + , directory + , dlist >= 0.4 + , filepath >= 1.1 + , transformers >= 0.2 + , transformers-compat >= 0.3 + , HUnit >= 1.2 + , QuickCheck >= 2 + , test-framework >= 0.2 + , test-framework-hunit >= 0.2 + , test-framework-quickcheck2 >= 0.3 if impl(ghc < 8.0) - Build-Depends: semigroups >= 0.18 && < 0.20 + Build-Depends: semigroups >= 0.18 if os(windows) - Build-Depends: Win32 == 2.* + Build-Depends: Win32 >= 2 Default-Language: Haskell98 @@ -95,4 +95,4 @@ Test-Suite glob-tests Tests.Simplifier Tests.Utils - GHC-Options: -Wall + GHC-Options: -Wall \ No newline at end of file diff --git a/ghc-Glob.spec b/ghc-Glob.spec index 7850f56..d3bb509 100644 --- a/ghc-Glob.spec +++ b/ghc-Glob.spec @@ -7,8 +7,8 @@ # testsuite missing deps: test-framework test-framework-hunit test-framework-quickcheck2 Name: ghc-%{pkg_name} -Version: 0.10.1 -Release: 2%{?dist} +Version: 0.10.2 +Release: 1%{?dist} Summary: Globbing library License: BSD @@ -111,6 +111,9 @@ dos2unix -k -n %{SOURCE1} %{pkg_name}.cabal %changelog +* Tue Jun 07 2022 Jens Petersen - 0.10.2-1 +- https://hackage.haskell.org/package/Glob-0.10.2/changelog + * Thu Jan 20 2022 Fedora Release Engineering - 0.10.1-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild diff --git a/sources b/sources index 5257213..d7fad03 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (Glob-0.10.1.tar.gz) = b2b2ee93f2cadf01f8a6828b9e742a241601f5fada1f73388dc0044f8e0985c601bd6a42738c60c54eecb619b6289ac1302751d8e2402f6494aaeb2b2a4abb42 +SHA512 (Glob-0.10.2.tar.gz) = cd3c3fb00fad3b3e8d9ae2856a76d0d1688885ecec0b083eed87a4c1cf46111df747e66ff3e8bab2ffaf2a5f776a791442c7e0eefcf58f9d1e15e341b4c35a12 From 176127f4054f7f53bde8c4cc04c97bbb02306191 Mon Sep 17 00:00:00 2001 From: MSVSphere Packaging Team Date: Mon, 30 Oct 2023 21:13:57 +0300 Subject: [PATCH 29/29] 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 d7fad03..0000000 --- a/sources +++ /dev/null @@ -1 +0,0 @@ -SHA512 (Glob-0.10.2.tar.gz) = cd3c3fb00fad3b3e8d9ae2856a76d0d1688885ecec0b083eed87a4c1cf46111df747e66ff3e8bab2ffaf2a5f776a791442c7e0eefcf58f9d1e15e341b4c35a12