refresh to cabal-rpm-2.0.9

epel9
Jens Petersen 4 years ago
parent 12aa1b6a72
commit 5dbe16a508

@ -1,12 +1,10 @@
# 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 cryptonite %global pkg_name cryptonite
%global pkgver %{pkg_name}-%{version} %global pkgver %{pkg_name}-%{version}
# https://github.com/feuerbach/tasty/issues/266 %bcond_without tests
# https://gitlab.haskell.org/ghc/ghc/issues/17744
%bcond_with tests
Name: ghc-%{pkg_name} Name: ghc-%{pkg_name}
Version: 0.27 Version: 0.27
@ -87,6 +85,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
# docs are arch dependent # docs are arch dependent
Requires: ghc-filesystem
Obsoletes: %{name}-devel-doc < %{version}-%{release} Obsoletes: %{name}-devel-doc < %{version}-%{release}
%description doc %description doc
@ -124,7 +123,9 @@ This package provides the Haskell %{pkg_name} profiling library.
%check %check
%if %{with tests}
%cabal_test %cabal_test
%endif
%files -f %{name}.files %files -f %{name}.files

Loading…
Cancel
Save