From f5058c08f1eb3423eb5a22d85d0794f08c20dd28 Mon Sep 17 00:00:00 2001 From: Gwyn Ciesla Date: Mon, 28 Aug 2017 11:33:02 +0000 Subject: [PATCH 01/32] 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..0544cc8 --- /dev/null +++ b/README.md @@ -0,0 +1,3 @@ +# ghc-th-abstraction + +The ghc-th-abstraction package \ No newline at end of file From 3b806113ae9067659e2d444d4cc2c9eed934abbf Mon Sep 17 00:00:00 2001 From: Elliott Sales de Andrade Date: Mon, 28 Aug 2017 19:25:36 -0400 Subject: [PATCH 02/32] Initial import (#1485511). --- .gitignore | 1 + README.md | 3 -- ghc-th-abstraction.spec | 83 +++++++++++++++++++++++++++++++++++++++++ sources | 1 + 4 files changed, 85 insertions(+), 3 deletions(-) create mode 100644 .gitignore delete mode 100644 README.md create mode 100644 ghc-th-abstraction.spec create mode 100644 sources diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..a2f0131 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +/th-abstraction-0.2.5.0.tar.gz diff --git a/README.md b/README.md deleted file mode 100644 index 0544cc8..0000000 --- a/README.md +++ /dev/null @@ -1,3 +0,0 @@ -# ghc-th-abstraction - -The ghc-th-abstraction package \ No newline at end of file diff --git a/ghc-th-abstraction.spec b/ghc-th-abstraction.spec new file mode 100644 index 0000000..52fbd76 --- /dev/null +++ b/ghc-th-abstraction.spec @@ -0,0 +1,83 @@ +# generated by cabal-rpm-0.11.2 +# https://fedoraproject.org/wiki/Packaging:Haskell + +%global pkg_name th-abstraction +%global pkgver %{pkg_name}-%{version} + +Name: ghc-%{pkg_name} +Version: 0.2.5.0 +Release: 1.git.0.ea2a955%{?dist} +Summary: Nicer interface for reified information about data types + +License: ISC +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-template-haskell-devel +# End cabal-rpm deps + +%description +This package normalizes variations in the interface for inspecting datatype +information via Template Haskell so that packages and support a single, easier +to use informational datatype while supporting many versions of Template +Haskell. + + +%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 + + +%files devel -f %{name}-devel.files +%doc ChangeLog.md README.md + + +%changelog +* Sat Aug 26 2017 Elliott Sales de Andrade 0.2.5.0-1 +- Update to latest version. +- Update to latest spec template. + +* Sat Aug 26 2017 Elliott Sales de Andrade - 0.2.5.0-1 +- update to 0.2.5.0 + +* Sat Jul 22 2017 Fedora Haskell SIG - 0.2.3.0-1 +- spec file generated by cabal-rpm-0.11 diff --git a/sources b/sources new file mode 100644 index 0000000..2e35cb7 --- /dev/null +++ b/sources @@ -0,0 +1 @@ +SHA512 (th-abstraction-0.2.5.0.tar.gz) = b7a3cb36af20eeaa2e9df3dd8a96824ca42805d6525d57fe4381e86599f1212147a00adfa245f0e7b0cac49d146a59a8f199f14596bf920a614938ade70965c3 From 3656cc44c41f35a25730a559225c5ad282fa72de Mon Sep 17 00:00:00 2001 From: Elliott Sales de Andrade Date: Mon, 28 Aug 2017 19:25:50 -0400 Subject: [PATCH 03/32] Fix release number. --- ghc-th-abstraction.spec | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ghc-th-abstraction.spec b/ghc-th-abstraction.spec index 52fbd76..b19de71 100644 --- a/ghc-th-abstraction.spec +++ b/ghc-th-abstraction.spec @@ -6,7 +6,7 @@ Name: ghc-%{pkg_name} Version: 0.2.5.0 -Release: 1.git.0.ea2a955%{?dist} +Release: 1%{?dist} Summary: Nicer interface for reified information about data types License: ISC From 6edb5ab8afc7780a5f113030503665c162b7d1ee Mon Sep 17 00:00:00 2001 From: Jens Petersen Date: Wed, 24 Jan 2018 14:12:10 +0100 Subject: [PATCH 04/32] refresh to cabal-rpm-0.12.1 --- ghc-th-abstraction.spec | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/ghc-th-abstraction.spec b/ghc-th-abstraction.spec index b19de71..551524e 100644 --- a/ghc-th-abstraction.spec +++ b/ghc-th-abstraction.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 th-abstraction @@ -30,9 +30,12 @@ Haskell. %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 @@ -55,6 +58,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 b7c5dc915d4e5f48d2595da14610e6df4f4b5463 Mon Sep 17 00:00:00 2001 From: Jens Petersen Date: Wed, 24 Jan 2018 15:56:40 +0100 Subject: [PATCH 05/32] update to 0.2.6.0 --- .gitignore | 1 + ghc-th-abstraction.spec | 5 ++++- sources | 2 +- 3 files changed, 6 insertions(+), 2 deletions(-) diff --git a/.gitignore b/.gitignore index a2f0131..3c1fc14 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1,2 @@ /th-abstraction-0.2.5.0.tar.gz +/th-abstraction-0.2.6.0.tar.gz diff --git a/ghc-th-abstraction.spec b/ghc-th-abstraction.spec index 551524e..8e20a57 100644 --- a/ghc-th-abstraction.spec +++ b/ghc-th-abstraction.spec @@ -5,7 +5,7 @@ %global pkgver %{pkg_name}-%{version} Name: ghc-%{pkg_name} -Version: 0.2.5.0 +Version: 0.2.6.0 Release: 1%{?dist} Summary: Nicer interface for reified information about data types @@ -81,6 +81,9 @@ This package provides the Haskell %{pkg_name} library development files. %changelog +* Wed Jan 24 2018 Jens Petersen - 0.2.6.0-1 +- update to 0.2.6.0 + * Sat Aug 26 2017 Elliott Sales de Andrade 0.2.5.0-1 - Update to latest version. - Update to latest spec template. diff --git a/sources b/sources index 2e35cb7..c3c7fbf 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (th-abstraction-0.2.5.0.tar.gz) = b7a3cb36af20eeaa2e9df3dd8a96824ca42805d6525d57fe4381e86599f1212147a00adfa245f0e7b0cac49d146a59a8f199f14596bf920a614938ade70965c3 +SHA512 (th-abstraction-0.2.6.0.tar.gz) = d1c09914e6760e43498ea41d81ca22e2fc3fb7cf396bb718f729a19bd2698572c242357c1b40a8df9101f2afd86b37fa5c07f82beb46f87b21a9667c48db5b7b From 1cf63b283eb2cd2c0afc21e853fd504edd188e05 Mon Sep 17 00:00:00 2001 From: Jens Petersen Date: Sun, 4 Feb 2018 01:03:36 +0900 Subject: [PATCH 06/32] drop ldconfig scriptlets --- ghc-th-abstraction.spec | 6 ------ 1 file changed, 6 deletions(-) diff --git a/ghc-th-abstraction.spec b/ghc-th-abstraction.spec index 8e20a57..653d8d4 100644 --- a/ghc-th-abstraction.spec +++ b/ghc-th-abstraction.spec @@ -58,12 +58,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 ea0ebffd4b4bf4d85d470978213f0ad511201e43 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Wed, 7 Feb 2018 12:14:53 +0000 Subject: [PATCH 07/32] - Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild Signed-off-by: Fedora Release Engineering --- ghc-th-abstraction.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/ghc-th-abstraction.spec b/ghc-th-abstraction.spec index 653d8d4..59a501d 100644 --- a/ghc-th-abstraction.spec +++ b/ghc-th-abstraction.spec @@ -6,7 +6,7 @@ Name: ghc-%{pkg_name} Version: 0.2.6.0 -Release: 1%{?dist} +Release: 2%{?dist} Summary: Nicer interface for reified information about data types License: ISC @@ -75,6 +75,9 @@ This package provides the Haskell %{pkg_name} library development files. %changelog +* Wed Feb 07 2018 Fedora Release Engineering - 0.2.6.0-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild + * Wed Jan 24 2018 Jens Petersen - 0.2.6.0-1 - update to 0.2.6.0 From 4d0160aff9b845ab321a70da9fd618433c44db35 Mon Sep 17 00:00:00 2001 From: Elliott Sales de Andrade Date: Mon, 9 Jul 2018 01:06:56 -0400 Subject: [PATCH 08/32] update to 0.2.8.0 --- .gitignore | 1 + ghc-th-abstraction.spec | 7 +++++-- sources | 2 +- 3 files changed, 7 insertions(+), 3 deletions(-) diff --git a/.gitignore b/.gitignore index 3c1fc14..26e4ce0 100644 --- a/.gitignore +++ b/.gitignore @@ -1,2 +1,3 @@ /th-abstraction-0.2.5.0.tar.gz /th-abstraction-0.2.6.0.tar.gz +/th-abstraction-0.2.8.0.tar.gz diff --git a/ghc-th-abstraction.spec b/ghc-th-abstraction.spec index 59a501d..0e5b456 100644 --- a/ghc-th-abstraction.spec +++ b/ghc-th-abstraction.spec @@ -5,8 +5,8 @@ %global pkgver %{pkg_name}-%{version} Name: ghc-%{pkg_name} -Version: 0.2.6.0 -Release: 2%{?dist} +Version: 0.2.8.0 +Release: 1%{?dist} Summary: Nicer interface for reified information about data types License: ISC @@ -75,6 +75,9 @@ This package provides the Haskell %{pkg_name} library development files. %changelog +* Mon Jul 09 2018 Elliott Sales de Andrade - 0.2.8.0-1 +- update to 0.2.8.0 + * Wed Feb 07 2018 Fedora Release Engineering - 0.2.6.0-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild diff --git a/sources b/sources index c3c7fbf..f62d979 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (th-abstraction-0.2.6.0.tar.gz) = d1c09914e6760e43498ea41d81ca22e2fc3fb7cf396bb718f729a19bd2698572c242357c1b40a8df9101f2afd86b37fa5c07f82beb46f87b21a9667c48db5b7b +SHA512 (th-abstraction-0.2.8.0.tar.gz) = 42454e652be3bf21a2ab129a0fa051891879b7e9b7df7bc092912878b2c999dc7495b29887a1ab837d60e3b4d14b7f3c6b5d99f6ca6265f29765a4cc5acdf1fb From 64d930dabdfa585d58e1848e28c9e1c408fabb58 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Fri, 13 Jul 2018 02:11:53 +0000 Subject: [PATCH 09/32] - Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild Signed-off-by: Fedora Release Engineering --- ghc-th-abstraction.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/ghc-th-abstraction.spec b/ghc-th-abstraction.spec index 0e5b456..93e8505 100644 --- a/ghc-th-abstraction.spec +++ b/ghc-th-abstraction.spec @@ -6,7 +6,7 @@ Name: ghc-%{pkg_name} Version: 0.2.8.0 -Release: 1%{?dist} +Release: 2%{?dist} Summary: Nicer interface for reified information about data types License: ISC @@ -75,6 +75,9 @@ This package provides the Haskell %{pkg_name} library development files. %changelog +* Fri Jul 13 2018 Fedora Release Engineering - 0.2.8.0-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild + * Mon Jul 09 2018 Elliott Sales de Andrade - 0.2.8.0-1 - update to 0.2.8.0 From ff6e71b7c1a74e53f633aeaafdb471cae7377e52 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Thu, 31 Jan 2019 22:07:32 +0000 Subject: [PATCH 10/32] - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild Signed-off-by: Fedora Release Engineering --- ghc-th-abstraction.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/ghc-th-abstraction.spec b/ghc-th-abstraction.spec index 93e8505..62e9cbb 100644 --- a/ghc-th-abstraction.spec +++ b/ghc-th-abstraction.spec @@ -6,7 +6,7 @@ Name: ghc-%{pkg_name} Version: 0.2.8.0 -Release: 2%{?dist} +Release: 3%{?dist} Summary: Nicer interface for reified information about data types License: ISC @@ -75,6 +75,9 @@ This package provides the Haskell %{pkg_name} library development files. %changelog +* Thu Jan 31 2019 Fedora Release Engineering - 0.2.8.0-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild + * Fri Jul 13 2018 Fedora Release Engineering - 0.2.8.0-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild From 488e04c81d0d104f97854517c152f80b9a34ee61 Mon Sep 17 00:00:00 2001 From: Jens Petersen Date: Sun, 17 Feb 2019 22:47:29 +0800 Subject: [PATCH 11/32] refresh to cabal-rpm-0.13 --- ghc-th-abstraction.spec | 21 ++++++++++++++--- th-abstraction-0.2.8.0.cabal | 44 ++++++++++++++++++++++++++++++++++++ 2 files changed, 62 insertions(+), 3 deletions(-) create mode 100644 th-abstraction-0.2.8.0.cabal diff --git a/ghc-th-abstraction.spec b/ghc-th-abstraction.spec index 62e9cbb..e6a8537 100644 --- a/ghc-th-abstraction.spec +++ b/ghc-th-abstraction.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 th-abstraction @@ -6,16 +6,19 @@ Name: ghc-%{pkg_name} Version: 0.2.8.0 -Release: 3%{?dist} +Release: 4%{?dist} Summary: Nicer interface for reified information about data types License: ISC 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: ghc-Cabal-devel BuildRequires: ghc-rpm-macros -# Begin cabal-rpm deps: BuildRequires: ghc-containers-devel BuildRequires: ghc-template-haskell-devel # End cabal-rpm deps @@ -43,15 +46,22 @@ This package provides the Haskell %{pkg_name} library development files. %prep +# Begin cabal-rpm setup: %setup -q -n %{pkgver} +cp -bp %{SOURCE1} %{pkg_name}.cabal +# 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 @@ -67,7 +77,9 @@ This package provides the Haskell %{pkg_name} library development files. %files -f %{name}.files +# Begin cabal-rpm files: %license LICENSE +# End cabal-rpm files %files devel -f %{name}-devel.files @@ -75,6 +87,9 @@ This package provides the Haskell %{pkg_name} library development files. %changelog +* Sun Feb 17 2019 Jens Petersen - 0.2.8.0-4 +- refresh to cabal-rpm-0.13 + * Thu Jan 31 2019 Fedora Release Engineering - 0.2.8.0-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild diff --git a/th-abstraction-0.2.8.0.cabal b/th-abstraction-0.2.8.0.cabal new file mode 100644 index 0000000..c86ffcc --- /dev/null +++ b/th-abstraction-0.2.8.0.cabal @@ -0,0 +1,44 @@ +name: th-abstraction +version: 0.2.8.0 +x-revision: 1 +synopsis: Nicer interface for reified information about data types +description: This package normalizes variations in the interface for + inspecting datatype information via Template Haskell + so that packages and support a single, easier to use + informational datatype while supporting many versions + of Template Haskell. +license: ISC +license-file: LICENSE +author: Eric Mertens +maintainer: emertens@gmail.com +copyright: 2017 Eric Mertens +homepage: https://github.com/glguy/th-abstraction +bug-reports: https://github.com/glguy/th-abstraction/issues +category: Development +build-type: Simple +extra-source-files: ChangeLog.md README.md +cabal-version: >=1.10 +tested-with: GHC==8.4.3, GHC==8.2.2, GHC==8.0.2, GHC==7.10.3, GHC==7.8.4, GHC==7.6.3, GHC==7.4.2, GHC==7.2.2, GHC==7.0.4 + +source-repository head + type: git + location: https://github.com/glguy/th-abstraction.git + +library + exposed-modules: Language.Haskell.TH.Datatype + other-modules: Language.Haskell.TH.Datatype.Internal + build-depends: base >=4.3 && <5, + ghc-prim, + template-haskell >=2.5 && <2.15, + containers >=0.4 && <0.7 + hs-source-dirs: src + default-language: Haskell2010 + +test-suite unit-tests + other-modules: Harness + Types + type: exitcode-stdio-1.0 + main-is: Main.hs + build-depends: th-abstraction, base, containers, template-haskell + hs-source-dirs: test + default-language: Haskell2010 From d257d3cf06fc1bbc31441217922f5559ccab0395 Mon Sep 17 00:00:00 2001 From: Jens Petersen Date: Thu, 21 Feb 2019 12:25:53 +0800 Subject: [PATCH 12/32] update to 0.2.10.0 --- .gitignore | 1 + ghc-th-abstraction.spec | 9 ++++---- sources | 2 +- th-abstraction-0.2.8.0.cabal | 44 ------------------------------------ 4 files changed, 7 insertions(+), 49 deletions(-) delete mode 100644 th-abstraction-0.2.8.0.cabal diff --git a/.gitignore b/.gitignore index 26e4ce0..402d176 100644 --- a/.gitignore +++ b/.gitignore @@ -1,3 +1,4 @@ /th-abstraction-0.2.5.0.tar.gz /th-abstraction-0.2.6.0.tar.gz /th-abstraction-0.2.8.0.tar.gz +/th-abstraction-0.2.10.0.tar.gz diff --git a/ghc-th-abstraction.spec b/ghc-th-abstraction.spec index e6a8537..b3aa8e6 100644 --- a/ghc-th-abstraction.spec +++ b/ghc-th-abstraction.spec @@ -5,15 +5,14 @@ %global pkgver %{pkg_name}-%{version} Name: ghc-%{pkg_name} -Version: 0.2.8.0 -Release: 4%{?dist} +Version: 0.2.10.0 +Release: 1%{?dist} Summary: Nicer interface for reified information about data types License: ISC 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: @@ -48,7 +47,6 @@ This package provides the Haskell %{pkg_name} library development files. %prep # Begin cabal-rpm setup: %setup -q -n %{pkgver} -cp -bp %{SOURCE1} %{pkg_name}.cabal # End cabal-rpm setup @@ -87,6 +85,9 @@ cp -bp %{SOURCE1} %{pkg_name}.cabal %changelog +* Thu Feb 21 2019 Jens Petersen - 0.2.10.0-1 +- update to 0.2.10.0 + * Sun Feb 17 2019 Jens Petersen - 0.2.8.0-4 - refresh to cabal-rpm-0.13 diff --git a/sources b/sources index f62d979..9914f16 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (th-abstraction-0.2.8.0.tar.gz) = 42454e652be3bf21a2ab129a0fa051891879b7e9b7df7bc092912878b2c999dc7495b29887a1ab837d60e3b4d14b7f3c6b5d99f6ca6265f29765a4cc5acdf1fb +SHA512 (th-abstraction-0.2.10.0.tar.gz) = af1c3bb3a0d3380e1b0f19a3d6f9b6445a684bb69142fa531d7c8ac3157768f47f33075db43f83404b25b43e9477b44a7b80e243ae8b7068de151af755c8e9e9 diff --git a/th-abstraction-0.2.8.0.cabal b/th-abstraction-0.2.8.0.cabal deleted file mode 100644 index c86ffcc..0000000 --- a/th-abstraction-0.2.8.0.cabal +++ /dev/null @@ -1,44 +0,0 @@ -name: th-abstraction -version: 0.2.8.0 -x-revision: 1 -synopsis: Nicer interface for reified information about data types -description: This package normalizes variations in the interface for - inspecting datatype information via Template Haskell - so that packages and support a single, easier to use - informational datatype while supporting many versions - of Template Haskell. -license: ISC -license-file: LICENSE -author: Eric Mertens -maintainer: emertens@gmail.com -copyright: 2017 Eric Mertens -homepage: https://github.com/glguy/th-abstraction -bug-reports: https://github.com/glguy/th-abstraction/issues -category: Development -build-type: Simple -extra-source-files: ChangeLog.md README.md -cabal-version: >=1.10 -tested-with: GHC==8.4.3, GHC==8.2.2, GHC==8.0.2, GHC==7.10.3, GHC==7.8.4, GHC==7.6.3, GHC==7.4.2, GHC==7.2.2, GHC==7.0.4 - -source-repository head - type: git - location: https://github.com/glguy/th-abstraction.git - -library - exposed-modules: Language.Haskell.TH.Datatype - other-modules: Language.Haskell.TH.Datatype.Internal - build-depends: base >=4.3 && <5, - ghc-prim, - template-haskell >=2.5 && <2.15, - containers >=0.4 && <0.7 - hs-source-dirs: src - default-language: Haskell2010 - -test-suite unit-tests - other-modules: Harness - Types - type: exitcode-stdio-1.0 - main-is: Main.hs - build-depends: th-abstraction, base, containers, template-haskell - hs-source-dirs: test - default-language: Haskell2010 From a03ccd61c4851d6baaa723dc0d5afcef1d91f305 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Thu, 25 Jul 2019 03:06:06 +0000 Subject: [PATCH 13/32] - Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild Signed-off-by: Fedora Release Engineering --- ghc-th-abstraction.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/ghc-th-abstraction.spec b/ghc-th-abstraction.spec index b3aa8e6..6c76fab 100644 --- a/ghc-th-abstraction.spec +++ b/ghc-th-abstraction.spec @@ -6,7 +6,7 @@ Name: ghc-%{pkg_name} Version: 0.2.10.0 -Release: 1%{?dist} +Release: 2%{?dist} Summary: Nicer interface for reified information about data types License: ISC @@ -85,6 +85,9 @@ This package provides the Haskell %{pkg_name} library development files. %changelog +* Thu Jul 25 2019 Fedora Release Engineering - 0.2.10.0-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild + * Thu Feb 21 2019 Jens Petersen - 0.2.10.0-1 - update to 0.2.10.0 From d6c8b9a8fdece6d9965d9c1e415a95807260d1ce Mon Sep 17 00:00:00 2001 From: Jens Petersen Date: Thu, 25 Jul 2019 04:26:19 +0000 Subject: [PATCH 14/32] refresh to cabal-rpm-1.0.0: lib doc/prof subpkgs and bin static BRs --- ghc-th-abstraction.spec | 48 ++++++++++++++++++++++++++++++----------- 1 file changed, 36 insertions(+), 12 deletions(-) diff --git a/ghc-th-abstraction.spec b/ghc-th-abstraction.spec index 6c76fab..573ab7e 100644 --- a/ghc-th-abstraction.spec +++ b/ghc-th-abstraction.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 th-abstraction @@ -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-containers-devel BuildRequires: ghc-template-haskell-devel @@ -32,11 +38,8 @@ Haskell. %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} @@ -44,6 +47,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} @@ -66,14 +88,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 @@ -84,6 +98,16 @@ This package provides the Haskell %{pkg_name} library development files. %doc ChangeLog.md README.md +%if %{with haddock} +%files doc -f %{name}-doc.files +%endif + + +%if %{with ghc_prof} +%files prof -f %{name}-prof.files +%endif + + %changelog * Thu Jul 25 2019 Fedora Release Engineering - 0.2.10.0-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild From 5a81fd7bd6bce42ec24c596f391cd279e00bdb7e Mon Sep 17 00:00:00 2001 From: Jens Petersen Date: Thu, 25 Jul 2019 16:48:13 +0000 Subject: [PATCH 15/32] update to 0.2.11.0 --- .gitignore | 1 + ghc-th-abstraction.spec | 7 +++++-- sources | 2 +- 3 files changed, 7 insertions(+), 3 deletions(-) diff --git a/.gitignore b/.gitignore index 402d176..c0d8751 100644 --- a/.gitignore +++ b/.gitignore @@ -2,3 +2,4 @@ /th-abstraction-0.2.6.0.tar.gz /th-abstraction-0.2.8.0.tar.gz /th-abstraction-0.2.10.0.tar.gz +/th-abstraction-0.2.11.0.tar.gz diff --git a/ghc-th-abstraction.spec b/ghc-th-abstraction.spec index 573ab7e..82cbe93 100644 --- a/ghc-th-abstraction.spec +++ b/ghc-th-abstraction.spec @@ -5,8 +5,8 @@ %global pkgver %{pkg_name}-%{version} Name: ghc-%{pkg_name} -Version: 0.2.10.0 -Release: 2%{?dist} +Version: 0.2.11.0 +Release: 1%{?dist} Summary: Nicer interface for reified information about data types License: ISC @@ -109,6 +109,9 @@ This package provides the Haskell %{pkg_name} profiling library. %changelog +* Thu Jul 25 2019 Jens Petersen - 0.2.11.0-1 +- update to 0.2.11.0 + * Thu Jul 25 2019 Fedora Release Engineering - 0.2.10.0-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild diff --git a/sources b/sources index 9914f16..ff35522 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (th-abstraction-0.2.10.0.tar.gz) = af1c3bb3a0d3380e1b0f19a3d6f9b6445a684bb69142fa531d7c8ac3157768f47f33075db43f83404b25b43e9477b44a7b80e243ae8b7068de151af755c8e9e9 +SHA512 (th-abstraction-0.2.11.0.tar.gz) = 9b1a0230dac6fa6d2dec3fb03c683c4b88368f71420b8b947cf915e5f7b3a6e39ddeccf927ed730b325ad382dd8b56473697f97b2c0f937bd8f2d27e38eff0c6 From f2685c9d56a6958a4cb69bbc61e41f1980bc8392 Mon Sep 17 00:00:00 2001 From: Jens Petersen Date: Mon, 5 Aug 2019 18:32:18 +0800 Subject: [PATCH 16/32] BR prof for lib and static for executable --- ghc-th-abstraction.spec | 14 +++++--------- 1 file changed, 5 insertions(+), 9 deletions(-) diff --git a/ghc-th-abstraction.spec b/ghc-th-abstraction.spec index 82cbe93..a2e08eb 100644 --- a/ghc-th-abstraction.spec +++ b/ghc-th-abstraction.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 th-abstraction @@ -17,15 +17,10 @@ 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-template-haskell-devel +BuildRequires: ghc-base-prof +BuildRequires: ghc-containers-prof +BuildRequires: ghc-template-haskell-prof # End cabal-rpm deps %description @@ -38,6 +33,7 @@ Haskell. %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 756b906664a60d927853edaf2a08d57f7b25e88b Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Tue, 28 Jan 2020 21:30:58 +0000 Subject: [PATCH 17/32] - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild Signed-off-by: Fedora Release Engineering --- ghc-th-abstraction.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/ghc-th-abstraction.spec b/ghc-th-abstraction.spec index a2e08eb..d7e8040 100644 --- a/ghc-th-abstraction.spec +++ b/ghc-th-abstraction.spec @@ -6,7 +6,7 @@ Name: ghc-%{pkg_name} Version: 0.2.11.0 -Release: 1%{?dist} +Release: 2%{?dist} Summary: Nicer interface for reified information about data types License: ISC @@ -105,6 +105,9 @@ This package provides the Haskell %{pkg_name} profiling library. %changelog +* Tue Jan 28 2020 Fedora Release Engineering - 0.2.11.0-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild + * Thu Jul 25 2019 Jens Petersen - 0.2.11.0-1 - update to 0.2.11.0 From b615d0386ac1417eb1b35765c3433d584384a1c8 Mon Sep 17 00:00:00 2001 From: Jens Petersen Date: Sat, 8 Feb 2020 22:52:22 +0800 Subject: [PATCH 18/32] refresh to cabal-rpm-2.0.2 --- ghc-th-abstraction.spec | 15 ++++++++++++++- 1 file changed, 14 insertions(+), 1 deletion(-) diff --git a/ghc-th-abstraction.spec b/ghc-th-abstraction.spec index d7e8040..2af3249 100644 --- a/ghc-th-abstraction.spec +++ b/ghc-th-abstraction.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 th-abstraction @@ -46,6 +46,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. @@ -56,6 +57,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. @@ -84,6 +86,16 @@ This package provides the Haskell %{pkg_name} profiling library. %cabal_test +%if 0%{?fedora} < 31 || 0%{?rhel} < 8 +%post devel +%ghc_pkg_recache + + +%postun devel +%ghc_pkg_recache +%endif + + %files -f %{name}.files # Begin cabal-rpm files: %license LICENSE @@ -96,6 +108,7 @@ This package provides the Haskell %{pkg_name} profiling library. %if %{with haddock} %files doc -f %{name}-doc.files +%license LICENSE %endif From 203e2e85ba8738feb5993dbf5431842cca52ccfa Mon Sep 17 00:00:00 2001 From: Jens Petersen Date: Fri, 14 Feb 2020 12:06:41 +0800 Subject: [PATCH 19/32] update to 0.3.2.0 --- .gitignore | 1 + ghc-th-abstraction.spec | 7 +++++-- sources | 2 +- 3 files changed, 7 insertions(+), 3 deletions(-) diff --git a/.gitignore b/.gitignore index c0d8751..0653771 100644 --- a/.gitignore +++ b/.gitignore @@ -3,3 +3,4 @@ /th-abstraction-0.2.8.0.tar.gz /th-abstraction-0.2.10.0.tar.gz /th-abstraction-0.2.11.0.tar.gz +/th-abstraction-0.3.2.0.tar.gz diff --git a/ghc-th-abstraction.spec b/ghc-th-abstraction.spec index 2af3249..ca25590 100644 --- a/ghc-th-abstraction.spec +++ b/ghc-th-abstraction.spec @@ -5,8 +5,8 @@ %global pkgver %{pkg_name}-%{version} Name: ghc-%{pkg_name} -Version: 0.2.11.0 -Release: 2%{?dist} +Version: 0.3.2.0 +Release: 1%{?dist} Summary: Nicer interface for reified information about data types License: ISC @@ -118,6 +118,9 @@ This package provides the Haskell %{pkg_name} profiling library. %changelog +* Fri Feb 14 2020 Jens Petersen - 0.3.2.0-1 +- update to 0.3.2.0 + * Tue Jan 28 2020 Fedora Release Engineering - 0.2.11.0-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild diff --git a/sources b/sources index ff35522..10fc95c 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (th-abstraction-0.2.11.0.tar.gz) = 9b1a0230dac6fa6d2dec3fb03c683c4b88368f71420b8b947cf915e5f7b3a6e39ddeccf927ed730b325ad382dd8b56473697f97b2c0f937bd8f2d27e38eff0c6 +SHA512 (th-abstraction-0.3.2.0.tar.gz) = d03087e52c51f6038d41a35fbfd0c6ab8b890c6d0aa91bc1a42c46f746f60d3c19c41766006977e0ebee4517bab5aab0f0439a2ed2434e5d41a7086eeb3ecea3 From 849e8d64a534c1a5ad7a0fc6bb552c5e3f090b1b Mon Sep 17 00:00:00 2001 From: Jens Petersen Date: Thu, 4 Jun 2020 19:28:36 +0800 Subject: [PATCH 20/32] refresh to cabal-rpm-2.0.5 --- ghc-th-abstraction.spec | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/ghc-th-abstraction.spec b/ghc-th-abstraction.spec index ca25590..22ae330 100644 --- a/ghc-th-abstraction.spec +++ b/ghc-th-abstraction.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 th-abstraction %global pkgver %{pkg_name}-%{version} @@ -79,6 +79,7 @@ This package provides the Haskell %{pkg_name} profiling library. %install # Begin cabal-rpm install %ghc_lib_install +chmod a-x ChangeLog.md README.md # End cabal-rpm install From d989b052b6d66fe12699560c9369b64c710ea672 Mon Sep 17 00:00:00 2001 From: Jens Petersen Date: Fri, 19 Jun 2020 16:57:14 +0800 Subject: [PATCH 21/32] refresh to cabal-rpm-2.0.6 --- ghc-th-abstraction.spec | 14 ++------------ 1 file changed, 2 insertions(+), 12 deletions(-) diff --git a/ghc-th-abstraction.spec b/ghc-th-abstraction.spec index 22ae330..531d0cc 100644 --- a/ghc-th-abstraction.spec +++ b/ghc-th-abstraction.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 th-abstraction @@ -67,6 +67,7 @@ This package provides the Haskell %{pkg_name} profiling library. %prep # Begin cabal-rpm setup: %setup -q -n %{pkgver} +chmod a-x ChangeLog.md README.md # End cabal-rpm setup @@ -79,7 +80,6 @@ This package provides the Haskell %{pkg_name} profiling library. %install # Begin cabal-rpm install %ghc_lib_install -chmod a-x ChangeLog.md README.md # End cabal-rpm install @@ -87,16 +87,6 @@ chmod a-x ChangeLog.md README.md %cabal_test -%if 0%{?fedora} < 31 || 0%{?rhel} < 8 -%post devel -%ghc_pkg_recache - - -%postun devel -%ghc_pkg_recache -%endif - - %files -f %{name}.files # Begin cabal-rpm files: %license LICENSE From b151c37b7a707bae3222348f5a975e2b7d4e70c7 Mon Sep 17 00:00:00 2001 From: Jens Petersen Date: Fri, 17 Jul 2020 18:42:34 +0800 Subject: [PATCH 22/32] bump release --- ghc-th-abstraction.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/ghc-th-abstraction.spec b/ghc-th-abstraction.spec index 531d0cc..02ada82 100644 --- a/ghc-th-abstraction.spec +++ b/ghc-th-abstraction.spec @@ -6,7 +6,7 @@ Name: ghc-%{pkg_name} Version: 0.3.2.0 -Release: 1%{?dist} +Release: 2%{?dist} Summary: Nicer interface for reified information about data types License: ISC @@ -109,6 +109,9 @@ chmod a-x ChangeLog.md README.md %changelog +* Fri Jul 17 2020 Jens Petersen - 0.3.2.0-2 +- refresh to cabal-rpm-2.0.6 + * Fri Feb 14 2020 Jens Petersen - 0.3.2.0-1 - update to 0.3.2.0 From 5233706779cc368861303ab7722e30578a3ef8ec Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Mon, 27 Jul 2020 19:45:22 +0000 Subject: [PATCH 23/32] - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild Signed-off-by: Fedora Release Engineering --- ghc-th-abstraction.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/ghc-th-abstraction.spec b/ghc-th-abstraction.spec index 02ada82..dd69363 100644 --- a/ghc-th-abstraction.spec +++ b/ghc-th-abstraction.spec @@ -6,7 +6,7 @@ Name: ghc-%{pkg_name} Version: 0.3.2.0 -Release: 2%{?dist} +Release: 3%{?dist} Summary: Nicer interface for reified information about data types License: ISC @@ -109,6 +109,9 @@ chmod a-x ChangeLog.md README.md %changelog +* Mon Jul 27 2020 Fedora Release Engineering - 0.3.2.0-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild + * Fri Jul 17 2020 Jens Petersen - 0.3.2.0-2 - refresh to cabal-rpm-2.0.6 From 65b729d55c0b447e3751bf0b5bb282a88217144e Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Sat, 1 Aug 2020 01:34:54 +0000 Subject: [PATCH 24/32] - Second attempt - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild Signed-off-by: Fedora Release Engineering --- ghc-th-abstraction.spec | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/ghc-th-abstraction.spec b/ghc-th-abstraction.spec index dd69363..26fd94f 100644 --- a/ghc-th-abstraction.spec +++ b/ghc-th-abstraction.spec @@ -6,7 +6,7 @@ Name: ghc-%{pkg_name} Version: 0.3.2.0 -Release: 3%{?dist} +Release: 4%{?dist} Summary: Nicer interface for reified information about data types License: ISC @@ -109,6 +109,10 @@ chmod a-x ChangeLog.md README.md %changelog +* Sat Aug 01 2020 Fedora Release Engineering - 0.3.2.0-4 +- Second attempt - Rebuilt for + https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild + * Mon Jul 27 2020 Fedora Release Engineering - 0.3.2.0-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild From d4cd581390c5830de1c501962dc601302e6cc128 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Tue, 26 Jan 2021 07:49:06 +0000 Subject: [PATCH 25/32] - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild Signed-off-by: Fedora Release Engineering --- ghc-th-abstraction.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/ghc-th-abstraction.spec b/ghc-th-abstraction.spec index 26fd94f..d08c236 100644 --- a/ghc-th-abstraction.spec +++ b/ghc-th-abstraction.spec @@ -6,7 +6,7 @@ Name: ghc-%{pkg_name} Version: 0.3.2.0 -Release: 4%{?dist} +Release: 5%{?dist} Summary: Nicer interface for reified information about data types License: ISC @@ -109,6 +109,9 @@ chmod a-x ChangeLog.md README.md %changelog +* Tue Jan 26 2021 Fedora Release Engineering - 0.3.2.0-5 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild + * Sat Aug 01 2020 Fedora Release Engineering - 0.3.2.0-4 - Second attempt - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild From 44c69a35a4e11778b29ddf95dbcc6917326c3a38 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Thu, 22 Jul 2021 01:20:58 +0000 Subject: [PATCH 26/32] - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild Signed-off-by: Fedora Release Engineering --- ghc-th-abstraction.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/ghc-th-abstraction.spec b/ghc-th-abstraction.spec index d08c236..e68c780 100644 --- a/ghc-th-abstraction.spec +++ b/ghc-th-abstraction.spec @@ -6,7 +6,7 @@ Name: ghc-%{pkg_name} Version: 0.3.2.0 -Release: 5%{?dist} +Release: 6%{?dist} Summary: Nicer interface for reified information about data types License: ISC @@ -109,6 +109,9 @@ chmod a-x ChangeLog.md README.md %changelog +* Thu Jul 22 2021 Fedora Release Engineering - 0.3.2.0-6 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild + * Tue Jan 26 2021 Fedora Release Engineering - 0.3.2.0-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild From a402ea2986fdf1b441ae713a09fec9334e0b1f8d Mon Sep 17 00:00:00 2001 From: Jens Petersen Date: Thu, 5 Aug 2021 12:53:45 +0800 Subject: [PATCH 27/32] update to 0.4.2.0 --- .gitignore | 1 + ghc-th-abstraction.spec | 7 +++++-- sources | 2 +- 3 files changed, 7 insertions(+), 3 deletions(-) diff --git a/.gitignore b/.gitignore index 0653771..3eec72e 100644 --- a/.gitignore +++ b/.gitignore @@ -4,3 +4,4 @@ /th-abstraction-0.2.10.0.tar.gz /th-abstraction-0.2.11.0.tar.gz /th-abstraction-0.3.2.0.tar.gz +/th-abstraction-0.4.2.0.tar.gz diff --git a/ghc-th-abstraction.spec b/ghc-th-abstraction.spec index e68c780..a48d37c 100644 --- a/ghc-th-abstraction.spec +++ b/ghc-th-abstraction.spec @@ -5,8 +5,8 @@ %global pkgver %{pkg_name}-%{version} Name: ghc-%{pkg_name} -Version: 0.3.2.0 -Release: 6%{?dist} +Version: 0.4.2.0 +Release: 1%{?dist} Summary: Nicer interface for reified information about data types License: ISC @@ -109,6 +109,9 @@ chmod a-x ChangeLog.md README.md %changelog +* Thu Aug 5 2021 Jens Petersen - 0.4.2.0-1 +- update to 0.4.2.0 + * Thu Jul 22 2021 Fedora Release Engineering - 0.3.2.0-6 - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild diff --git a/sources b/sources index 10fc95c..11f610d 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (th-abstraction-0.3.2.0.tar.gz) = d03087e52c51f6038d41a35fbfd0c6ab8b890c6d0aa91bc1a42c46f746f60d3c19c41766006977e0ebee4517bab5aab0f0439a2ed2434e5d41a7086eeb3ecea3 +SHA512 (th-abstraction-0.4.2.0.tar.gz) = f67f494c165d7080c45202e58d9e20aa154bf1a7ddaf44643adcfb36d4c62f0b660ab83464a3d06340298b5c7154042d3a956b0ffc5dd99bc5644b52c31e90e4 From 837b5406645d414f695621c327928f95224b5844 Mon Sep 17 00:00:00 2001 From: Jens Petersen Date: Thu, 8 Jul 2021 00:30:13 +0800 Subject: [PATCH 28/32] refresh to cabal-rpm-2.0.9 --- ghc-th-abstraction.spec | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/ghc-th-abstraction.spec b/ghc-th-abstraction.spec index a48d37c..0d46406 100644 --- a/ghc-th-abstraction.spec +++ b/ghc-th-abstraction.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 th-abstraction @@ -47,6 +47,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. @@ -67,7 +68,6 @@ This package provides the Haskell %{pkg_name} profiling library. %prep # Begin cabal-rpm setup: %setup -q -n %{pkgver} -chmod a-x ChangeLog.md README.md # End cabal-rpm setup @@ -84,7 +84,9 @@ chmod a-x ChangeLog.md README.md %check +%if %{with tests} %cabal_test +%endif %files -f %{name}.files From bb7f5f93f91f612b154f78e4feea61cf55944984 Mon Sep 17 00:00:00 2001 From: Jens Petersen Date: Wed, 4 Aug 2021 22:29:12 +0800 Subject: [PATCH 29/32] revise .cabal --- ghc-th-abstraction.spec | 3 +++ th-abstraction-0.4.2.0.cabal | 50 ++++++++++++++++++++++++++++++++++++ 2 files changed, 53 insertions(+) create mode 100644 th-abstraction-0.4.2.0.cabal diff --git a/ghc-th-abstraction.spec b/ghc-th-abstraction.spec index 0d46406..1206a4b 100644 --- a/ghc-th-abstraction.spec +++ b/ghc-th-abstraction.spec @@ -13,9 +13,11 @@ License: ISC 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 @@ -68,6 +70,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 diff --git a/th-abstraction-0.4.2.0.cabal b/th-abstraction-0.4.2.0.cabal new file mode 100644 index 0000000..7a9387f --- /dev/null +++ b/th-abstraction-0.4.2.0.cabal @@ -0,0 +1,50 @@ +name: th-abstraction +version: 0.4.2.0 +x-revision: 1 +synopsis: Nicer interface for reified information about data types +description: This package normalizes variations in the interface for + inspecting datatype information via Template Haskell + so that packages and support a single, easier to use + informational datatype while supporting many versions + of Template Haskell. +license: ISC +license-file: LICENSE +author: Eric Mertens +maintainer: emertens@gmail.com +copyright: 2017 Eric Mertens +homepage: https://github.com/glguy/th-abstraction +bug-reports: https://github.com/glguy/th-abstraction/issues +category: Development +build-type: Simple +extra-source-files: ChangeLog.md README.md +cabal-version: >=1.10 +tested-with: GHC==8.10.1, GHC==8.8.3, GHC==8.6.5, GHC==8.4.4, GHC==8.2.2, GHC==8.0.2, GHC==7.10.3, GHC==7.8.4, GHC==7.6.3, GHC==7.4.2, GHC==7.2.2, GHC==7.0.4 + +source-repository head + type: git + location: https://github.com/glguy/th-abstraction.git + +library + exposed-modules: Language.Haskell.TH.Datatype + Language.Haskell.TH.Datatype.TyVarBndr + other-modules: Language.Haskell.TH.Datatype.Internal + build-depends: base >=4.3 && <5, + ghc-prim, + template-haskell >=2.5 && <2.19, + containers >=0.4 && <0.7 + hs-source-dirs: src + default-language: Haskell2010 + + if impl(ghc >= 9.0) + -- these flags may abort compilation with GHC-8.10 + -- https://gitlab.haskell.org/ghc/ghc/-/merge_requests/3295 + ghc-options: -Winferred-safe-imports -Wmissing-safe-haskell-mode + +test-suite unit-tests + other-modules: Harness + Types + type: exitcode-stdio-1.0 + main-is: Main.hs + build-depends: th-abstraction, base, containers, template-haskell <2.18 + hs-source-dirs: test + default-language: Haskell2010 From 6ec849026eb07d6e9461734618de0771c336e56e Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Thu, 20 Jan 2022 05:39:07 +0000 Subject: [PATCH 30/32] - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild Signed-off-by: Fedora Release Engineering --- ghc-th-abstraction.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/ghc-th-abstraction.spec b/ghc-th-abstraction.spec index 1206a4b..5ea3f27 100644 --- a/ghc-th-abstraction.spec +++ b/ghc-th-abstraction.spec @@ -6,7 +6,7 @@ Name: ghc-%{pkg_name} Version: 0.4.2.0 -Release: 1%{?dist} +Release: 2%{?dist} Summary: Nicer interface for reified information about data types License: ISC @@ -114,6 +114,9 @@ dos2unix -k -n %{SOURCE1} %{pkg_name}.cabal %changelog +* Thu Jan 20 2022 Fedora Release Engineering - 0.4.2.0-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild + * Thu Aug 5 2021 Jens Petersen - 0.4.2.0-1 - update to 0.4.2.0 From 53cbae406423559ac085c5f7913625c901bffc5e Mon Sep 17 00:00:00 2001 From: Jens Petersen Date: Tue, 7 Jun 2022 14:53:03 +0800 Subject: [PATCH 31/32] update to 0.4.3.0 --- .gitignore | 1 + ghc-th-abstraction.spec | 10 ++++---- sources | 2 +- th-abstraction-0.4.2.0.cabal | 50 ------------------------------------ 4 files changed, 7 insertions(+), 56 deletions(-) delete mode 100644 th-abstraction-0.4.2.0.cabal diff --git a/.gitignore b/.gitignore index 3eec72e..6423704 100644 --- a/.gitignore +++ b/.gitignore @@ -5,3 +5,4 @@ /th-abstraction-0.2.11.0.tar.gz /th-abstraction-0.3.2.0.tar.gz /th-abstraction-0.4.2.0.tar.gz +/th-abstraction-0.4.3.0.tar.gz diff --git a/ghc-th-abstraction.spec b/ghc-th-abstraction.spec index 5ea3f27..972c3ec 100644 --- a/ghc-th-abstraction.spec +++ b/ghc-th-abstraction.spec @@ -5,19 +5,17 @@ %global pkgver %{pkg_name}-%{version} Name: ghc-%{pkg_name} -Version: 0.4.2.0 -Release: 2%{?dist} +Version: 0.4.3.0 +Release: 1%{?dist} Summary: Nicer interface for reified information about data types License: ISC 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 @@ -70,7 +68,6 @@ 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 @@ -114,6 +111,9 @@ dos2unix -k -n %{SOURCE1} %{pkg_name}.cabal %changelog +* Tue Jun 07 2022 Jens Petersen - 0.4.3.0-1 +- https://hackage.haskell.org/package/th-abstraction-0.4.3.0/changelog + * Thu Jan 20 2022 Fedora Release Engineering - 0.4.2.0-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild diff --git a/sources b/sources index 11f610d..d75ae4d 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (th-abstraction-0.4.2.0.tar.gz) = f67f494c165d7080c45202e58d9e20aa154bf1a7ddaf44643adcfb36d4c62f0b660ab83464a3d06340298b5c7154042d3a956b0ffc5dd99bc5644b52c31e90e4 +SHA512 (th-abstraction-0.4.3.0.tar.gz) = a474bd042721efb83db5f707537589faa320f0e4ccf6bc839c450ff8d0970d3835003c134fc59f88e692d47264b1717bbd053543623dd40aa591155531a31003 diff --git a/th-abstraction-0.4.2.0.cabal b/th-abstraction-0.4.2.0.cabal deleted file mode 100644 index 7a9387f..0000000 --- a/th-abstraction-0.4.2.0.cabal +++ /dev/null @@ -1,50 +0,0 @@ -name: th-abstraction -version: 0.4.2.0 -x-revision: 1 -synopsis: Nicer interface for reified information about data types -description: This package normalizes variations in the interface for - inspecting datatype information via Template Haskell - so that packages and support a single, easier to use - informational datatype while supporting many versions - of Template Haskell. -license: ISC -license-file: LICENSE -author: Eric Mertens -maintainer: emertens@gmail.com -copyright: 2017 Eric Mertens -homepage: https://github.com/glguy/th-abstraction -bug-reports: https://github.com/glguy/th-abstraction/issues -category: Development -build-type: Simple -extra-source-files: ChangeLog.md README.md -cabal-version: >=1.10 -tested-with: GHC==8.10.1, GHC==8.8.3, GHC==8.6.5, GHC==8.4.4, GHC==8.2.2, GHC==8.0.2, GHC==7.10.3, GHC==7.8.4, GHC==7.6.3, GHC==7.4.2, GHC==7.2.2, GHC==7.0.4 - -source-repository head - type: git - location: https://github.com/glguy/th-abstraction.git - -library - exposed-modules: Language.Haskell.TH.Datatype - Language.Haskell.TH.Datatype.TyVarBndr - other-modules: Language.Haskell.TH.Datatype.Internal - build-depends: base >=4.3 && <5, - ghc-prim, - template-haskell >=2.5 && <2.19, - containers >=0.4 && <0.7 - hs-source-dirs: src - default-language: Haskell2010 - - if impl(ghc >= 9.0) - -- these flags may abort compilation with GHC-8.10 - -- https://gitlab.haskell.org/ghc/ghc/-/merge_requests/3295 - ghc-options: -Winferred-safe-imports -Wmissing-safe-haskell-mode - -test-suite unit-tests - other-modules: Harness - Types - type: exitcode-stdio-1.0 - main-is: Main.hs - build-depends: th-abstraction, base, containers, template-haskell <2.18 - hs-source-dirs: test - default-language: Haskell2010 From 13791c9709030954f33de60e2d723e54d2300f38 Mon Sep 17 00:00:00 2001 From: MSVSphere Packaging Team Date: Mon, 30 Oct 2023 22:03:02 +0300 Subject: [PATCH 32/32] 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 d75ae4d..0000000 --- a/sources +++ /dev/null @@ -1 +0,0 @@ -SHA512 (th-abstraction-0.4.3.0.tar.gz) = a474bd042721efb83db5f707537589faa320f0e4ccf6bc839c450ff8d0970d3835003c134fc59f88e692d47264b1717bbd053543623dd40aa591155531a31003