refresh to cabal-rpm-2.0.6
This commit is contained in:
parent
74eb164a63
commit
2b34cfc585
@ -1,4 +1,4 @@
|
||||
# generated by cabal-rpm-2.0.5
|
||||
# generated by cabal-rpm-2.0.6
|
||||
# https://docs.fedoraproject.org/en-US/packaging-guidelines/Haskell/
|
||||
|
||||
%global pkg_name zlib
|
||||
@ -82,6 +82,7 @@ This package provides the Haskell %{pkg_name} profiling library.
|
||||
%prep
|
||||
# Begin cabal-rpm setup:
|
||||
%setup -q -n %{pkgver}
|
||||
chmod a-x changelog
|
||||
# End cabal-rpm setup
|
||||
#remove the copy library
|
||||
rm -r cbits
|
||||
@ -96,7 +97,6 @@ rm -r cbits
|
||||
%install
|
||||
# Begin cabal-rpm install
|
||||
%ghc_lib_install
|
||||
chmod a-x changelog
|
||||
# End cabal-rpm install
|
||||
|
||||
|
||||
@ -104,16 +104,6 @@ chmod a-x changelog
|
||||
%cabal_test
|
||||
|
||||
|
||||
%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
|
||||
|
Loading…
Reference in New Issue
Block a user