From 309ff6b9d6bf9708e19bff3973330da7450bf3bf Mon Sep 17 00:00:00 2001 From: Jens Petersen Date: Fri, 8 Jul 2016 19:35:28 +0900 Subject: [PATCH] update to 0.2.3 --- cabal-file-th.cabal | 35 +++++++++++++++++++++++++++++++++++ ghc-cabal-file-th.spec | 9 +++++++-- 2 files changed, 42 insertions(+), 2 deletions(-) create mode 100644 cabal-file-th.cabal diff --git a/cabal-file-th.cabal b/cabal-file-th.cabal new file mode 100644 index 0000000..1d57a91 --- /dev/null +++ b/cabal-file-th.cabal @@ -0,0 +1,35 @@ +Name: cabal-file-th +Version: 0.2.3 +x-revision: 1 +Synopsis: Template Haskell expressions for reading fields from a project's cabal file. +Description: Template Haskell expressions for reading fields from a project's cabal file. +Homepage: http://github.com/nkpart/cabal-file-th +License: BSD3 +License-file: LICENSE +Author: Nick Partridge +Maintainer: nkpart@gmail.com +Category: Development +Build-type: Simple +Extra-source-files: README.md, test/Test.hs, test/test-version-interp.cabal +Cabal-version: >= 1.9 + +source-repository head + type: git + location: git://github.com/nkpart/cabal-file-th.git + + +Library + Exposed-modules: Distribution.PackageDescription.TH + Build-depends: base >= 4 && < 5, + Cabal >= 1.10, + directory, + template-haskell + Ghc-options: -Wall + +Test-suite test + Main-is: Test.hs + Hs-source-dirs: test + Type: exitcode-stdio-1.0 + Build-depends: base >= 4 && < 5, + cabal-file-th + diff --git a/ghc-cabal-file-th.spec b/ghc-cabal-file-th.spec index dbb8687..0fc277b 100644 --- a/ghc-cabal-file-th.spec +++ b/ghc-cabal-file-th.spec @@ -4,12 +4,14 @@ Name: ghc-%{pkg_name} Version: 0.2.3 -Release: 10%{?dist} +Release: 1%{?dist} Summary: Template Haskell expressions for reading cabal files License: BSD Url: https://hackage.haskell.org/package/%{pkg_name} Source0: https://hackage.haskell.org/package/%{pkg_name}-%{version}/%{pkg_name}-%{version}.tar.gz +# https://hackage.haskell.org/package/%{pkg_name}-%{version}/revisions/ +Source1: %{pkg_name}.cabal BuildRequires: ghc-Cabal-devel BuildRequires: ghc-rpm-macros @@ -37,7 +39,7 @@ This package provides the Haskell %{pkg_name} library development files. %prep %setup -q -n %{pkg_name}-%{version} -cabal-tweak-dep-ver Cabal '< 1.17' '< 1.19' +cp -p %{SOURCE1} . %build @@ -65,6 +67,9 @@ cabal-tweak-dep-ver Cabal '< 1.17' '< 1.19' %changelog +* Fri Jul 08 2016 Jens Petersen - 0.2.3-1 +- update to 0.2.3 + * Wed Feb 03 2016 Fedora Release Engineering - 0.2.3-10 - Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild