refresh to cabal-rpm-1.0.3

This commit is contained in:
Jens Petersen 2019-12-27 14:40:10 +08:00
parent 23ef6c6a7f
commit f268b93b43
1 changed files with 16 additions and 4 deletions

View File

@ -1,9 +1,11 @@
# generated by cabal-rpm-1.0.2
# generated by cabal-rpm-1.0.3
# https://fedoraproject.org/wiki/Packaging:Haskell
%global pkg_name data-clist
%global pkgver %{pkg_name}-%{version}
%global _devel -%{?ghc_devel_prof}%{!?ghc_devel_prof:devel}
Name: ghc-%{pkg_name}
Version: 0.1.2.3
Release: 2%{?dist}
@ -18,9 +20,9 @@ Source0: https://hackage.haskell.org/package/%{pkgver}/%{pkgver}.tar.gz
# Begin cabal-rpm deps:
BuildRequires: ghc-Cabal-devel
BuildRequires: ghc-rpm-macros
BuildRequires: ghc-QuickCheck-prof
BuildRequires: ghc-base-prof
BuildRequires: ghc-deepseq-prof
BuildRequires: ghc-QuickCheck%{_devel}
BuildRequires: ghc-base%{_devel}
BuildRequires: ghc-deepseq%{_devel}
# End cabal-rpm deps
%description
@ -81,6 +83,16 @@ This package provides the Haskell %{pkg_name} profiling library.
# End cabal-rpm install
%if 0%{?fedora} < 31 || 0%{?rhel} < 8
%post devel
%ghc_pkg_recache
%postun devel
%ghc_pkg_recache
%endif
%files -f %{name}.files
# Begin cabal-rpm files:
%license LICENSE