refresh to cabal-rpm-2.0.6
This commit is contained in:
parent
c41842e6d3
commit
a2addee9b8
@ -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/
|
# https://docs.fedoraproject.org/en-US/packaging-guidelines/Haskell/
|
||||||
|
|
||||||
%global pkg_name xmonad-contrib
|
%global pkg_name xmonad-contrib
|
||||||
@ -92,6 +92,7 @@ This package provides the Haskell %{pkg_name} profiling library.
|
|||||||
%prep
|
%prep
|
||||||
# Begin cabal-rpm setup:
|
# Begin cabal-rpm setup:
|
||||||
%setup -q -n %{pkgver}
|
%setup -q -n %{pkgver}
|
||||||
|
chmod a-x CHANGES.md README.md
|
||||||
# End cabal-rpm setup
|
# End cabal-rpm setup
|
||||||
%patch0 -p1 -b .orig-xft
|
%patch0 -p1 -b .orig-xft
|
||||||
%patch1 -p1 -b .orig-misc-fixed
|
%patch1 -p1 -b .orig-misc-fixed
|
||||||
@ -109,20 +110,9 @@ This package provides the Haskell %{pkg_name} profiling library.
|
|||||||
%install
|
%install
|
||||||
# Begin cabal-rpm install
|
# Begin cabal-rpm install
|
||||||
%ghc_lib_install
|
%ghc_lib_install
|
||||||
chmod a-x CHANGES.md README.md
|
|
||||||
# End cabal-rpm install
|
# 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
|
%files -f %{name}.files
|
||||||
# Begin cabal-rpm files:
|
# Begin cabal-rpm files:
|
||||||
%license LICENSE
|
%license LICENSE
|
||||||
|
Loading…
Reference in New Issue
Block a user