|
|
|
@ -1,12 +1,10 @@
|
|
|
|
|
# generated by cabal-rpm-1.0.1
|
|
|
|
|
# generated by cabal-rpm-2.0.2 --stream hackage
|
|
|
|
|
# https://fedoraproject.org/wiki/Packaging:Haskell
|
|
|
|
|
|
|
|
|
|
%bcond_without manpage
|
|
|
|
|
|
|
|
|
|
%global _devel -%{?ghc_devel_prof:static}%{!?ghc_devel_prof:devel}
|
|
|
|
|
|
|
|
|
|
Name: cabal-rpm
|
|
|
|
|
Version: 2.0.0
|
|
|
|
|
Version: 2.0.4
|
|
|
|
|
Release: 1%{?dist}
|
|
|
|
|
Summary: RPM packaging tool for Haskell Cabal-based packages
|
|
|
|
|
|
|
|
|
@ -19,21 +17,21 @@ Source1: cblrpm.1
|
|
|
|
|
|
|
|
|
|
# Begin cabal-rpm deps:
|
|
|
|
|
BuildRequires: ghc-rpm-macros
|
|
|
|
|
BuildRequires: ghc-Cabal%{_devel}
|
|
|
|
|
BuildRequires: ghc-base%{_devel}
|
|
|
|
|
BuildRequires: ghc-bytestring%{_devel}
|
|
|
|
|
BuildRequires: ghc-directory%{_devel}
|
|
|
|
|
BuildRequires: ghc-filepath%{_devel}
|
|
|
|
|
BuildRequires: ghc-http-client%{_devel}
|
|
|
|
|
BuildRequires: ghc-http-client-tls%{_devel}
|
|
|
|
|
BuildRequires: ghc-http-conduit%{_devel}
|
|
|
|
|
BuildRequires: ghc-optparse-applicative%{_devel}
|
|
|
|
|
BuildRequires: ghc-process%{_devel}
|
|
|
|
|
BuildRequires: ghc-simple-cabal%{_devel}
|
|
|
|
|
BuildRequires: ghc-simple-cmd%{_devel}
|
|
|
|
|
BuildRequires: ghc-simple-cmd-args%{_devel}
|
|
|
|
|
BuildRequires: ghc-time%{_devel}
|
|
|
|
|
BuildRequires: ghc-unix%{_devel}
|
|
|
|
|
BuildRequires: ghc-Cabal-static
|
|
|
|
|
BuildRequires: ghc-base-static
|
|
|
|
|
BuildRequires: ghc-bytestring-static
|
|
|
|
|
BuildRequires: ghc-directory-static
|
|
|
|
|
BuildRequires: ghc-filepath-static
|
|
|
|
|
BuildRequires: ghc-http-client-static
|
|
|
|
|
BuildRequires: ghc-http-client-tls-static
|
|
|
|
|
BuildRequires: ghc-http-conduit-static
|
|
|
|
|
BuildRequires: ghc-optparse-applicative-static
|
|
|
|
|
BuildRequires: ghc-process-static
|
|
|
|
|
BuildRequires: ghc-simple-cabal-static
|
|
|
|
|
BuildRequires: ghc-simple-cmd-static
|
|
|
|
|
BuildRequires: ghc-simple-cmd-args-static
|
|
|
|
|
BuildRequires: ghc-time-static
|
|
|
|
|
BuildRequires: ghc-unix-static
|
|
|
|
|
# End cabal-rpm deps
|
|
|
|
|
%if %{with manpage}
|
|
|
|
|
BuildRequires: pandoc
|
|
|
|
@ -63,7 +61,7 @@ dependencies. The diff command compares the current spec file with a freshly
|
|
|
|
|
generated one, the update command updates the spec file to latest version from
|
|
|
|
|
Stackage or Hackage, and the refresh command updates the spec file to the
|
|
|
|
|
current cabal-rpm packaging. It also handles Hackage revisions of packages.
|
|
|
|
|
Standalone packages can also be packaged built with cabal-install.
|
|
|
|
|
Standalone packages can also be made, built with cabal-install.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%prep
|
|
|
|
@ -106,6 +104,24 @@ ln -s %{name} %{buildroot}%{_bindir}/cblrpm
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
|
* Thu Feb 27 2020 Jens Petersen <petersen@redhat.com> - 2.0.4-1
|
|
|
|
|
- drop %_devel compat macro
|
|
|
|
|
- default stream is now lts-14
|
|
|
|
|
- spec: detect local revised .cabal file
|
|
|
|
|
- sort deps of subpackages
|
|
|
|
|
- metapkgs don't have prof or doc
|
|
|
|
|
- fix generation of subpackages for a new package
|
|
|
|
|
- update: logic reworked to reduce redundant downloads
|
|
|
|
|
- quote macros in commented fields
|
|
|
|
|
- read --subpackage from spec header
|
|
|
|
|
- generate BRs for subpackages
|
|
|
|
|
|
|
|
|
|
* Thu Feb 20 2020 Jens Petersen <petersen@redhat.com> - 2.0.0-3
|
|
|
|
|
- refresh to cabal-rpm-2.0.2
|
|
|
|
|
|
|
|
|
|
* Tue Jan 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 2.0.0-2
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
* Mon Jan 20 2020 Jens Petersen <petersen@redhat.com> - 2.0.0-1
|
|
|
|
|
- update to 2.0.0:
|
|
|
|
|
- major refactor to handle stream/pkgid more precisely and correctly
|
|
|
|
|