refresh to cabal-rpm-2.0.2
This commit is contained in:
parent
de3e944da7
commit
b54e5948ed
20
xmonad.spec
20
xmonad.spec
@ -1,4 +1,4 @@
|
||||
# generated by cabal-rpm-1.0.1
|
||||
# generated by cabal-rpm-2.0.2
|
||||
# https://fedoraproject.org/wiki/Packaging:Haskell
|
||||
|
||||
%global pkg_name xmonad
|
||||
@ -8,7 +8,7 @@
|
||||
|
||||
Name: %{pkg_name}
|
||||
Version: 0.15
|
||||
Release: 4%{?dist}
|
||||
Release: 5%{?dist}
|
||||
Summary: A tiling window manager
|
||||
|
||||
License: BSD
|
||||
@ -156,6 +156,7 @@ in a MATE session.
|
||||
%if %{with haddock}
|
||||
%package -n ghc-%{name}-doc
|
||||
Summary: Haskell %{name} library documentation
|
||||
BuildArch: noarch
|
||||
|
||||
%description -n ghc-%{name}-doc
|
||||
This package provides the Haskell %{name} library documentation.
|
||||
@ -166,6 +167,7 @@ This package provides the Haskell %{name} library documentation.
|
||||
%package -n ghc-%{name}-prof
|
||||
Summary: Haskell %{name} profiling library
|
||||
Requires: ghc-%{name}-devel%{?_isa} = %{version}-%{release}
|
||||
Supplements: (ghc-%{name}-devel and ghc-prof)
|
||||
|
||||
%description -n ghc-%{name}-prof
|
||||
This package provides the Haskell %{name} profiling library.
|
||||
@ -203,6 +205,16 @@ 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
|
||||
|
||||
|
||||
@ -237,6 +249,7 @@ install -p -m 0644 -D %SOURCE7 %{buildroot}%{_datadir}/xmonad/xmonad.hs
|
||||
|
||||
%if %{with haddock}
|
||||
%files -n ghc-%{name}-doc -f ghc-%{name}-doc.files
|
||||
%license LICENSE
|
||||
%endif
|
||||
|
||||
|
||||
@ -246,6 +259,9 @@ install -p -m 0644 -D %SOURCE7 %{buildroot}%{_datadir}/xmonad/xmonad.hs
|
||||
|
||||
|
||||
%changelog
|
||||
* Wed Feb 19 2020 Jens Petersen <petersen@redhat.com> - 0.15-5
|
||||
- refresh to cabal-rpm-2.0.2
|
||||
|
||||
* Fri Jan 31 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.15-4
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user