update to 0.2.3

This commit is contained in:
Jens Petersen 2016-07-08 19:35:28 +09:00
parent e431d752bc
commit 309ff6b9d6
2 changed files with 42 additions and 2 deletions

35
cabal-file-th.cabal Normal file
View File

@ -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

View File

@ -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 <petersen@redhat.com> - 0.2.3-1
- update to 0.2.3
* Wed Feb 03 2016 Fedora Release Engineering <releng@fedoraproject.org> - 0.2.3-10
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild