refresh to cabal-rpm-2.0.6

This commit is contained in:
Jens Petersen 2020-06-19 16:56:46 +08:00
parent ab3b053272
commit 9a03c4bb31
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 servant
@ -8,6 +8,8 @@
%global dec dec-0.0.3
%global subpkgs %{dec} %{singletonbool}
# testsuite missing deps: quickcheck-instances
Name: ghc-%{pkg_name}
Version: 0.16.2
# can only be reset when all subpkgs bumped
@ -112,6 +114,7 @@ This package provides the Haskell %{pkg_name} profiling library.
# Begin cabal-rpm setup:
%setup -q -n %{pkgver} -a1 -a2
cp -bp %{SOURCE3} %{pkg_name}.cabal
chmod a-x CHANGELOG.md
# End cabal-rpm setup
@ -127,20 +130,9 @@ cp -bp %{SOURCE3} %{pkg_name}.cabal
%ghc_libs_install %{subpkgs}
%ghc_lib_install
%ghc_fix_rpath %{pkgver}
chmod a-x 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