refresh to cabal-rpm-2.0.6

This commit is contained in:
Jens Petersen 2020-06-19 16:58:07 +08:00
parent d8105456e3
commit 9d2da718e1
1 changed files with 2 additions and 11 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 xmobar
@ -130,6 +130,7 @@ This package provides the Haskell %{name} profiling library.
%prep
# Begin cabal-rpm setup:
%setup -q -a1
chmod a-x changelog.md readme.md
# End cabal-rpm setup
%patch0 -p1 -b .orig
@ -160,16 +161,6 @@ install --mode=0755 -p examples/xmonadpropwrite %{buildroot}%{_bindir}/xmonadpro
%cabal_test
%if 0%{?fedora} < 31 || 0%{?rhel} < 8
%post -n ghc-%{name}-devel
%ghc_pkg_recache
%postun -n ghc-%{name}-devel
%ghc_pkg_recache
%endif
%files
# Begin cabal-rpm files:
%license license