refresh to cabal-rpm-2.0.6
This commit is contained in:
parent
32d2fdac68
commit
a5f0e64c36
|
@ -1,9 +1,11 @@
|
|||
# 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 cassava
|
||||
%global pkgver %{pkg_name}-%{version}
|
||||
|
||||
# testsuite missing deps: quickcheck-instances test-framework test-framework-hunit test-framework-quickcheck2
|
||||
|
||||
Name: ghc-%{pkg_name}
|
||||
Version: 0.5.2.0
|
||||
Release: 1%{?dist}
|
||||
|
@ -91,6 +93,7 @@ This package provides the Haskell %{pkg_name} profiling library.
|
|||
%prep
|
||||
# Begin cabal-rpm setup:
|
||||
%setup -q -n %{pkgver}
|
||||
chmod a-x CHANGES.md README.md
|
||||
# End cabal-rpm setup
|
||||
cabal-tweak-drop-dep bytestring-builder
|
||||
|
||||
|
@ -104,20 +107,9 @@ cabal-tweak-drop-dep bytestring-builder
|
|||
%install
|
||||
# Begin cabal-rpm install
|
||||
%ghc_lib_install
|
||||
chmod a-x CHANGES.md README.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
|
||||
|
|
Loading…
Reference in New Issue