refresh to cabal-rpm-2.0.6
This commit is contained in:
parent
6cac6147c7
commit
3d925d19ed
14
xmonad.spec
14
xmonad.spec
@ -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 xmonad
|
||||
@ -177,6 +177,7 @@ This package provides the Haskell %{name} profiling library.
|
||||
%prep
|
||||
# Begin cabal-rpm setup:
|
||||
%setup -q
|
||||
chmod a-x CHANGES.md README.md
|
||||
# End cabal-rpm setup
|
||||
cp -p %SOURCE4 .
|
||||
|
||||
@ -190,7 +191,6 @@ cp -p %SOURCE4 .
|
||||
%install
|
||||
# Begin cabal-rpm install
|
||||
%ghc_lib_install
|
||||
chmod a-x CHANGES.md README.md
|
||||
# End cabal-rpm install
|
||||
mv %{buildroot}%{_defaultlicensedir}/%{name}{,-core}
|
||||
|
||||
@ -206,16 +206,6 @@ install -p -m 0644 -D %SOURCE7 %{buildroot}%{_datadir}/xmonad/xmonad.hs
|
||||
%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
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user