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/
|
# https://docs.fedoraproject.org/en-US/packaging-guidelines/Haskell/
|
||||||
|
|
||||||
%global pkg_name cabal-file-th
|
%global pkg_name cabal-file-th
|
||||||
%global pkgver %{pkg_name}-%{version}
|
%global pkgver %{pkg_name}-%{version}
|
||||||
|
|
||||||
|
%bcond_without tests
|
||||||
|
|
||||||
Name: ghc-%{pkg_name}
|
Name: ghc-%{pkg_name}
|
||||||
Version: 0.2.7
|
Version: 0.2.7
|
||||||
Release: 4%{?dist}
|
Release: 4%{?dist}
|
||||||
@ -45,6 +47,7 @@ This package provides the Haskell %{pkg_name} library development files.
|
|||||||
%package doc
|
%package doc
|
||||||
Summary: Haskell %{pkg_name} library documentation
|
Summary: Haskell %{pkg_name} library documentation
|
||||||
BuildArch: noarch
|
BuildArch: noarch
|
||||||
|
Requires: ghc-filesystem
|
||||||
|
|
||||||
%description doc
|
%description doc
|
||||||
This package provides the Haskell %{pkg_name} library documentation.
|
This package provides the Haskell %{pkg_name} library documentation.
|
||||||
@ -65,7 +68,6 @@ This package provides the Haskell %{pkg_name} profiling library.
|
|||||||
%prep
|
%prep
|
||||||
# Begin cabal-rpm setup:
|
# Begin cabal-rpm setup:
|
||||||
%setup -q -n %{pkgver}
|
%setup -q -n %{pkgver}
|
||||||
chmod a-x README.md
|
|
||||||
# End cabal-rpm setup
|
# End cabal-rpm setup
|
||||||
|
|
||||||
|
|
||||||
@ -81,6 +83,12 @@ chmod a-x README.md
|
|||||||
# End cabal-rpm install
|
# End cabal-rpm install
|
||||||
|
|
||||||
|
|
||||||
|
%check
|
||||||
|
%if %{with tests}
|
||||||
|
%cabal_test
|
||||||
|
%endif
|
||||||
|
|
||||||
|
|
||||||
%files -f %{name}.files
|
%files -f %{name}.files
|
||||||
# Begin cabal-rpm files:
|
# Begin cabal-rpm files:
|
||||||
%license LICENSE
|
%license LICENSE
|
||||||
|
Loading…
Reference in New Issue
Block a user