refresh to cabal-rpm-2.0.6

This commit is contained in:
Jens Petersen 2020-06-19 16:56:59 +08:00
parent c08f7edfdb
commit 60ded2a19c
1 changed files with 4 additions and 12 deletions

View File

@ -1,4 +1,4 @@
# generated by cabal-rpm-2.0.5 --subpackage
# generated by cabal-rpm-2.0.6 --subpackage
# https://docs.fedoraproject.org/en-US/packaging-guidelines/Haskell/
%global pkg_name statistics
@ -7,6 +7,8 @@
%global denselinearalgebra dense-linear-algebra-0.1.0.0
%global subpkgs %{denselinearalgebra}
# testsuite missing deps: tasty-expected-failure
Name: ghc-%{pkg_name}
Version: 0.15.2.0
# can only be reset when all subpkgs bumped
@ -107,6 +109,7 @@ This package provides the Haskell %{pkg_name} profiling library.
%prep
# Begin cabal-rpm setup:
%setup -q -n %{pkgver} -a1
chmod a-x README.markdown changelog.md
# End cabal-rpm setup
@ -122,20 +125,9 @@ This package provides the Haskell %{pkg_name} profiling library.
%ghc_libs_install %{subpkgs}
%ghc_lib_install
%ghc_fix_rpath %{pkgver}
chmod a-x README.markdown changelog.md
# 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