update to 2.12.0.0 metapkg

This commit is contained in:
Jens Petersen 2021-08-05 21:28:11 +08:00
parent 1b64467456
commit 905bd6c87a
3 changed files with 12 additions and 73 deletions

1
.gitignore vendored
View File

@ -5,3 +5,4 @@
/persistent-template-2.6.0.tar.gz
/persistent-template-2.8.2.3.tar.gz
/persistent-template-2.9.1.0.tar.gz
/persistent-template-2.12.0.0.tar.gz

View File

@ -1,13 +1,11 @@
# generated by cabal-rpm-2.0.9
# generated by cabal-rpm-2.0.10
# https://docs.fedoraproject.org/en-US/packaging-guidelines/Haskell/
%global pkg_name persistent-template
%global pkgver %{pkg_name}-%{version}
%bcond_without tests
Name: ghc-%{pkg_name}
Version: 2.9.1.0
Version: 2.12.0.0
Release: 1%{?dist}
Summary: Type-safe, non-relational, multi-backend persistence
@ -20,67 +18,24 @@ Source0: https://hackage.haskell.org/package/%{pkgver}/%{pkgver}.tar.gz
# Begin cabal-rpm deps:
BuildRequires: ghc-Cabal-devel
BuildRequires: ghc-rpm-macros
BuildRequires: ghc-aeson-prof
BuildRequires: ghc-base-prof
BuildRequires: ghc-bytestring-prof
BuildRequires: ghc-containers-prof
BuildRequires: ghc-http-api-data-prof
BuildRequires: ghc-monad-control-prof
BuildRequires: ghc-monad-logger-prof
BuildRequires: ghc-path-pieces-prof
BuildRequires: ghc-persistent-prof
BuildRequires: ghc-template-haskell-prof
BuildRequires: ghc-text-prof
BuildRequires: ghc-th-lift-instances-prof
BuildRequires: ghc-transformers-prof
BuildRequires: ghc-unordered-containers-prof
%if %{with tests}
BuildRequires: ghc-QuickCheck-devel
BuildRequires: ghc-hspec-devel
%endif
# End cabal-rpm deps
%description
Provides Template Haskell helpers for the persistent package.
The library has been merged into the persistent package.
%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
Requires: %{name}%{?_isa} = %{version}-%{release}
%description devel
This package provides the Haskell %{pkg_name} library development
files.
%if %{with haddock}
%package doc
Summary: Haskell %{pkg_name} library documentation
BuildArch: noarch
Requires: ghc-filesystem
%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}
Supplements: (%{name}-devel and ghc-prof)
%description prof
This package provides the Haskell %{pkg_name} profiling library.
%endif
%prep
# Begin cabal-rpm setup:
%setup -q -n %{pkgver}
@ -89,44 +44,27 @@ This package provides the Haskell %{pkg_name} profiling library.
%build
# Begin cabal-rpm build:
%ghc_lib_build
%ghc_lib_build_without_haddock
# End cabal-rpm build
%install
# Begin cabal-rpm install
%ghc_lib_install
mv %{buildroot}%{_ghcdocdir}{,-devel}
# End cabal-rpm install
%check
%if %{with tests}
%cabal_test
%endif
%files -f %{name}.files
# Begin cabal-rpm files:
%license LICENSE
# End cabal-rpm files
%files devel -f %{name}-devel.files
%license LICENSE
%doc ChangeLog.md README.md
%if %{with haddock}
%files doc -f %{name}-doc.files
%license LICENSE
%endif
%if %{with ghc_prof}
%files prof -f %{name}-prof.files
%endif
%changelog
* Thu Aug 5 2021 Jens Petersen <petersen@redhat.com> - 2.12.0.0-1
- update to 2.12.0.0 meta-package
- the functionality has been merged into persistent
* Thu Aug 5 2021 Jens Petersen <petersen@redhat.com> - 2.9.1.0-1
- update to 2.9.1.0

View File

@ -1 +1 @@
SHA512 (persistent-template-2.9.1.0.tar.gz) = 56c89b4f02401cbf9716b97c4c314d6ef079dccf75ec1166f9b2b641049723002587fd5d074c1a87d20f7162d8b5677a87c84a1e4333eb93c425a5f09c84ea64
SHA512 (persistent-template-2.12.0.0.tar.gz) = 5098c88f92d5e8609de62f6571d8c7f1b2f08d0286974f1ba5eabc01e3479b48a2ae1a0e85e54f1e9956902189142c5d04a4b314a1945341f4e76828959405a7