refresh with cabal-rpm-0.13 section delimiters

This commit is contained in:
Jens Petersen 2018-10-24 00:09:16 +09:00
parent 14fcf97dd7
commit 8e82301a26
1 changed files with 17 additions and 12 deletions

View File

@ -1,4 +1,4 @@
# generated by cabal-rpm-0.12.5
# generated by cabal-rpm-0.13
# https://fedoraproject.org/wiki/Packaging:Haskell
# failing (also in stackage)
@ -6,17 +6,19 @@
Name: happy
Version: 1.19.9
Release: 1%{?dist}
Release: 2%{?dist}
Summary: Parser Generator for Haskell
License: BSD
Url: https://hackage.haskell.org/package/%{name}
# Begin cabal-rpm sources:
Source0: https://hackage.haskell.org/package/%{name}-%{version}/%{name}-%{version}.tar.gz
Source1: https://hackage.haskell.org/package/%{name}-%{version}/%{name}.cabal#/%{name}-%{version}.cabal
# End cabal-rpm sources
# Begin cabal-rpm deps:
BuildRequires: ghc-Cabal-devel
BuildRequires: ghc-rpm-macros
# Begin cabal-rpm deps:
BuildRequires: ghc-array-devel
BuildRequires: ghc-containers-devel
BuildRequires: ghc-directory-devel
@ -36,24 +38,21 @@ Obsoletes: %{name}-common < %{version}-%{release}
Obsoletes: %{name}-static < %{version}-%{release}
%description
Happy is a LALR(1) parser generator system for Haskell, similar to the tool
`yacc' for C. Like `yacc', it takes a file containing an annotated BNF
specification of a grammar and produces a Haskell module containing a
parser for the grammar.
Happy is flexible: you can have several Happy parsers in the same
program, and several entry points to a single grammar. Happy can work
in conjunction with a lexical analyser supplied by the user (either
hand-written or generated by another program).
Happy is a parser generator for Haskell. Given a grammar specification in BNF,
Happy generates Haskell code to parse the grammar. Happy works in a similar way
to the 'yacc' tool for C.
%prep
%setup -q
cp -p %{SOURCE1} %{name}.cabal
# End cabal-rpm setup
%build
# Begin cabal-rpm build:
%ghc_bin_build
# End cabal-rpm build
cd doc
autoreconf
@ -64,6 +63,7 @@ cd ..
%install
%ghc_bin_install
# End cabal-rpm install
%check
@ -71,13 +71,18 @@ cd ..
%files
# Begin cabal-rpm files:
%license LICENSE
%doc ANNOUNCE CHANGES README.md TODO doc/happy examples
%{_bindir}/%{name}
# End cabal-rpm files
%{_datadir}/%{name}-%{version}
%changelog
* Wed Oct 24 2018 Jens Petersen <petersen@redhat.com> - 1.19.9-2
- rebuild for static executable
* Sun Jul 22 2018 Jens Petersen <petersen@redhat.com> - 1.19.9-1
- update to 1.19.9