From 6f800f3da78a6c8ab3b00ac5866b533ce21cba16 Mon Sep 17 00:00:00 2001 From: Jens Petersen Date: Fri, 17 Nov 2017 19:57:42 +0900 Subject: [PATCH] update to 0.12 release --- .gitignore | 1 + cabal-rpm.spec | 22 +++++++++++++++++----- sources | 2 +- 3 files changed, 19 insertions(+), 6 deletions(-) diff --git a/.gitignore b/.gitignore index e8c48a4..863e7c9 100644 --- a/.gitignore +++ b/.gitignore @@ -33,3 +33,4 @@ /cabal-rpm-0.11.tar.gz /cabal-rpm-0.11.1.tar.gz /cabal-rpm-0.11.2.tar.gz +/cabal-rpm-0.12.tar.gz diff --git a/cabal-rpm.spec b/cabal-rpm.spec index d6e4563..536a67a 100644 --- a/cabal-rpm.spec +++ b/cabal-rpm.spec @@ -1,8 +1,8 @@ -# generated by cabal-rpm-0.11.1 +# generated by cabal-rpm-0.12 # https://fedoraproject.org/wiki/Packaging:Haskell Name: cabal-rpm -Version: 0.11.2 +Version: 0.12 Release: 1%{?dist} Summary: RPM packaging tool for Haskell Cabal-based packages @@ -14,9 +14,12 @@ Source1: cblrpm.1 BuildRequires: ghc-Cabal-devel BuildRequires: ghc-rpm-macros # Begin cabal-rpm deps: +BuildRequires: ghc-bytestring-devel BuildRequires: ghc-directory-devel BuildRequires: ghc-filepath-devel -BuildRequires: ghc-old-locale-devel +BuildRequires: ghc-http-client-devel +BuildRequires: ghc-http-client-tls-devel +BuildRequires: ghc-http-conduit-devel BuildRequires: ghc-process-devel BuildRequires: ghc-time-devel BuildRequires: ghc-unix-devel @@ -44,8 +47,9 @@ cblrpm has commands to generate a RPM spec file and srpm for a package. It can rpmbuild packages, dnf install their dependencies, prep packages, and install them. There are commands to list package dependencies and missing dependencies. The diff command compares the current spec file with a freshly -generated one and the update command updates the spec file to latest version -from Hackage. +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. %prep @@ -74,6 +78,14 @@ ln -s %{name} %{buildroot}%{_bindir}/cblrpm %changelog +* Fri Nov 17 2017 Jens Petersen - 0.12-1 +- query stackage.org directly via https +- run cabal update before cabal commands +- devel packages now provide doc subpackage for forward compatibility +- new --hackage option to get package version from Hackage not Stackage +- do not add .cabal files containing "doc" to docs +- silence mock rpmbuild -bs warnings about undefined %ghc_version + * Mon Jul 31 2017 Jens Petersen - 0.11.2-1 - fix cblrpm update --subpackage - fix rpm installation when no sudo diff --git a/sources b/sources index f928891..853f26b 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (cabal-rpm-0.11.2.tar.gz) = 0eb445d8323bd891a4b8ac5e86eb42c9c74b1cbfaf7c19322109947ddebdcb7188938df6721fc539cc6384d478af14e20511504bb1af4a9ea07a61e408ad188d +SHA512 (cabal-rpm-0.12.tar.gz) = 80585b889721c28bed545bbb56acb644127caf376ce787aec3cf5665f851b49964a18263ff5e045bd01ca68facd3f0b43fe7a9d6cc9830bd8925cf4767fc34b0