refresh to cabal-rpm-0.13
This commit is contained in:
parent
095cb8c2de
commit
b280f9f0d4
|
@ -1,4 +1,4 @@
|
|||
# generated by cabal-rpm-0.12.5
|
||||
# generated by cabal-rpm-0.13
|
||||
# https://fedoraproject.org/wiki/Packaging:Haskell
|
||||
|
||||
%global pkg_name snap-server
|
||||
|
@ -12,17 +12,19 @@
|
|||
Name: ghc-%{pkg_name}
|
||||
Version: 1.0.3.3
|
||||
# can only be reset when all subpkgs bumped
|
||||
Release: 5%{?dist}
|
||||
Release: 6%{?dist}
|
||||
Summary: A web server for the Snap Framework
|
||||
|
||||
License: BSD
|
||||
Url: https://hackage.haskell.org/package/%{pkg_name}
|
||||
# Begin cabal-rpm sources:
|
||||
Source0: https://hackage.haskell.org/package/%{pkgver}/%{pkgver}.tar.gz
|
||||
Source1: https://hackage.haskell.org/package/%{iostreamshaproxy}/%{iostreamshaproxy}.tar.gz
|
||||
# End cabal-rpm sources
|
||||
|
||||
# Begin cabal-rpm deps:
|
||||
BuildRequires: ghc-Cabal-devel
|
||||
BuildRequires: ghc-rpm-macros-extra
|
||||
# Begin cabal-rpm deps:
|
||||
BuildRequires: ghc-attoparsec-devel
|
||||
BuildRequires: ghc-blaze-builder-devel
|
||||
BuildRequires: ghc-bytestring-devel
|
||||
|
@ -97,20 +99,26 @@ This package provides the Haskell %{pkg_name} library development files.
|
|||
|
||||
|
||||
%prep
|
||||
# Begin cabal-rpm setup:
|
||||
%setup -q -n %{pkgver} -a1
|
||||
# End cabal-rpm setup
|
||||
|
||||
cabal-tweak-drop-dep bytestring-builder
|
||||
cabal-tweak-dep-ver unix-compat '< 0.5' '< 0.6'
|
||||
|
||||
|
||||
%build
|
||||
# Begin cabal-rpm build:
|
||||
%ghc_libs_build %{subpkgs}
|
||||
%ghc_lib_build
|
||||
# End cabal-rpm build
|
||||
|
||||
|
||||
%install
|
||||
# Begin cabal-rpm install
|
||||
%ghc_libs_install %{subpkgs}
|
||||
%ghc_lib_install
|
||||
# End cabal-rpm install
|
||||
|
||||
|
||||
%check
|
||||
|
@ -126,7 +134,9 @@ cabal-tweak-dep-ver unix-compat '< 0.5' '< 0.6'
|
|||
|
||||
|
||||
%files -f %{name}.files
|
||||
# Begin cabal-rpm files:
|
||||
%license LICENSE
|
||||
# End cabal-rpm files
|
||||
|
||||
|
||||
%files devel -f %{name}-devel.files
|
||||
|
@ -134,6 +144,9 @@ cabal-tweak-dep-ver unix-compat '< 0.5' '< 0.6'
|
|||
|
||||
|
||||
%changelog
|
||||
* Sun Feb 17 2019 Jens Petersen <petersen@redhat.com> - 1.0.3.3-6
|
||||
- refresh to cabal-rpm-0.13
|
||||
|
||||
* Thu Jan 31 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.3.3-5
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
|
||||
|
||||
|
|
Loading…
Reference in New Issue