refresh to cabal-rpm-2.0.2

This commit is contained in:
Jens Petersen 2020-02-08 22:52:01 +08:00
parent e188023e4b
commit 5d50ce731f
1 changed files with 5 additions and 7 deletions

View File

@ -1,11 +1,9 @@
# generated by cabal-rpm-1.0.3 # generated by cabal-rpm-2.0.2
# https://fedoraproject.org/wiki/Packaging:Haskell # https://fedoraproject.org/wiki/Packaging:Haskell
%global pkg_name simple-cabal %global pkg_name simple-cabal
%global pkgver %{pkg_name}-%{version} %global pkgver %{pkg_name}-%{version}
%global _devel -%{?ghc_devel_prof}%{!?ghc_devel_prof:devel}
Name: ghc-%{pkg_name} Name: ghc-%{pkg_name}
Version: 0.1.1 Version: 0.1.1
Release: 2%{?dist} Release: 2%{?dist}
@ -19,10 +17,10 @@ Source0: https://hackage.haskell.org/package/%{pkgver}/%{pkgver}.tar.gz
# Begin cabal-rpm deps: # Begin cabal-rpm deps:
BuildRequires: ghc-rpm-macros BuildRequires: ghc-rpm-macros
BuildRequires: ghc-Cabal%{_devel} BuildRequires: ghc-Cabal-prof
BuildRequires: ghc-base%{_devel} BuildRequires: ghc-base-prof
BuildRequires: ghc-directory%{_devel} BuildRequires: ghc-directory-prof
BuildRequires: ghc-filepath%{_devel} BuildRequires: ghc-filepath-prof
# End cabal-rpm deps # End cabal-rpm deps
%description %description