refresh to cabal-rpm-2.0.9
This commit is contained in:
parent
3445671f23
commit
ad55464c13
|
@ -1,9 +1,11 @@
|
|||
# generated by cabal-rpm-2.0.6
|
||||
# generated by cabal-rpm-2.0.9
|
||||
# https://docs.fedoraproject.org/en-US/packaging-guidelines/Haskell/
|
||||
|
||||
%global pkg_name cabal-file-th
|
||||
%global pkgver %{pkg_name}-%{version}
|
||||
|
||||
%bcond_without tests
|
||||
|
||||
Name: ghc-%{pkg_name}
|
||||
Version: 0.2.7
|
||||
Release: 4%{?dist}
|
||||
|
@ -45,6 +47,7 @@ This package provides the Haskell %{pkg_name} library development files.
|
|||
%package doc
|
||||
Summary: Haskell %{pkg_name} library documentation
|
||||
BuildArch: noarch
|
||||
Requires: ghc-filesystem
|
||||
|
||||
%description doc
|
||||
This package provides the Haskell %{pkg_name} library documentation.
|
||||
|
@ -65,7 +68,6 @@ This package provides the Haskell %{pkg_name} profiling library.
|
|||
%prep
|
||||
# Begin cabal-rpm setup:
|
||||
%setup -q -n %{pkgver}
|
||||
chmod a-x README.md
|
||||
# End cabal-rpm setup
|
||||
|
||||
|
||||
|
@ -81,6 +83,12 @@ chmod a-x README.md
|
|||
# End cabal-rpm install
|
||||
|
||||
|
||||
%check
|
||||
%if %{with tests}
|
||||
%cabal_test
|
||||
%endif
|
||||
|
||||
|
||||
%files -f %{name}.files
|
||||
# Begin cabal-rpm files:
|
||||
%license LICENSE
|
||||
|
|
Loading…
Reference in New Issue