refresh with cabal-rpm-0.13 section delimiters
This commit is contained in:
parent
14fcf97dd7
commit
8e82301a26
29
happy.spec
29
happy.spec
@ -1,4 +1,4 @@
|
|||||||
# generated by cabal-rpm-0.12.5
|
# generated by cabal-rpm-0.13
|
||||||
# https://fedoraproject.org/wiki/Packaging:Haskell
|
# https://fedoraproject.org/wiki/Packaging:Haskell
|
||||||
|
|
||||||
# failing (also in stackage)
|
# failing (also in stackage)
|
||||||
@ -6,17 +6,19 @@
|
|||||||
|
|
||||||
Name: happy
|
Name: happy
|
||||||
Version: 1.19.9
|
Version: 1.19.9
|
||||||
Release: 1%{?dist}
|
Release: 2%{?dist}
|
||||||
Summary: Parser Generator for Haskell
|
Summary: Parser Generator for Haskell
|
||||||
|
|
||||||
License: BSD
|
License: BSD
|
||||||
Url: https://hackage.haskell.org/package/%{name}
|
Url: https://hackage.haskell.org/package/%{name}
|
||||||
|
# Begin cabal-rpm sources:
|
||||||
Source0: https://hackage.haskell.org/package/%{name}-%{version}/%{name}-%{version}.tar.gz
|
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
|
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-Cabal-devel
|
||||||
BuildRequires: ghc-rpm-macros
|
BuildRequires: ghc-rpm-macros
|
||||||
# Begin cabal-rpm deps:
|
|
||||||
BuildRequires: ghc-array-devel
|
BuildRequires: ghc-array-devel
|
||||||
BuildRequires: ghc-containers-devel
|
BuildRequires: ghc-containers-devel
|
||||||
BuildRequires: ghc-directory-devel
|
BuildRequires: ghc-directory-devel
|
||||||
@ -36,24 +38,21 @@ Obsoletes: %{name}-common < %{version}-%{release}
|
|||||||
Obsoletes: %{name}-static < %{version}-%{release}
|
Obsoletes: %{name}-static < %{version}-%{release}
|
||||||
|
|
||||||
%description
|
%description
|
||||||
Happy is a LALR(1) parser generator system for Haskell, similar to the tool
|
Happy is a parser generator for Haskell. Given a grammar specification in BNF,
|
||||||
`yacc' for C. Like `yacc', it takes a file containing an annotated BNF
|
Happy generates Haskell code to parse the grammar. Happy works in a similar way
|
||||||
specification of a grammar and produces a Haskell module containing a
|
to the 'yacc' tool for C.
|
||||||
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).
|
|
||||||
|
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q
|
%setup -q
|
||||||
cp -p %{SOURCE1} %{name}.cabal
|
cp -p %{SOURCE1} %{name}.cabal
|
||||||
|
# End cabal-rpm setup
|
||||||
|
|
||||||
|
|
||||||
%build
|
%build
|
||||||
|
# Begin cabal-rpm build:
|
||||||
%ghc_bin_build
|
%ghc_bin_build
|
||||||
|
# End cabal-rpm build
|
||||||
|
|
||||||
cd doc
|
cd doc
|
||||||
autoreconf
|
autoreconf
|
||||||
@ -64,6 +63,7 @@ cd ..
|
|||||||
|
|
||||||
%install
|
%install
|
||||||
%ghc_bin_install
|
%ghc_bin_install
|
||||||
|
# End cabal-rpm install
|
||||||
|
|
||||||
|
|
||||||
%check
|
%check
|
||||||
@ -71,13 +71,18 @@ cd ..
|
|||||||
|
|
||||||
|
|
||||||
%files
|
%files
|
||||||
|
# Begin cabal-rpm files:
|
||||||
%license LICENSE
|
%license LICENSE
|
||||||
%doc ANNOUNCE CHANGES README.md TODO doc/happy examples
|
%doc ANNOUNCE CHANGES README.md TODO doc/happy examples
|
||||||
%{_bindir}/%{name}
|
%{_bindir}/%{name}
|
||||||
|
# End cabal-rpm files
|
||||||
%{_datadir}/%{name}-%{version}
|
%{_datadir}/%{name}-%{version}
|
||||||
|
|
||||||
|
|
||||||
%changelog
|
%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
|
* Sun Jul 22 2018 Jens Petersen <petersen@redhat.com> - 1.19.9-1
|
||||||
- update to 1.19.9
|
- update to 1.19.9
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user