refresh to cabal-rpm-2.0.2
This commit is contained in:
parent
1218248131
commit
d56b7feaad
|
@ -1,4 +1,4 @@
|
||||||
# generated by cabal-rpm-1.0.1
|
# generated by cabal-rpm-2.0.2
|
||||||
# https://fedoraproject.org/wiki/Packaging:Haskell
|
# https://fedoraproject.org/wiki/Packaging:Haskell
|
||||||
|
|
||||||
%global pkg_name brainfuck
|
%global pkg_name brainfuck
|
||||||
|
@ -53,6 +53,7 @@ This package provides the Haskell %{name} library development files.
|
||||||
%if %{with haddock}
|
%if %{with haddock}
|
||||||
%package -n ghc-%{name}-doc
|
%package -n ghc-%{name}-doc
|
||||||
Summary: Haskell %{name} library documentation
|
Summary: Haskell %{name} library documentation
|
||||||
|
BuildArch: noarch
|
||||||
|
|
||||||
%description -n ghc-%{name}-doc
|
%description -n ghc-%{name}-doc
|
||||||
This package provides the Haskell %{name} library documentation.
|
This package provides the Haskell %{name} library documentation.
|
||||||
|
@ -63,6 +64,7 @@ This package provides the Haskell %{name} library documentation.
|
||||||
%package -n ghc-%{name}-prof
|
%package -n ghc-%{name}-prof
|
||||||
Summary: Haskell %{name} profiling library
|
Summary: Haskell %{name} profiling library
|
||||||
Requires: ghc-%{name}-devel%{?_isa} = %{version}-%{release}
|
Requires: ghc-%{name}-devel%{?_isa} = %{version}-%{release}
|
||||||
|
Supplements: (ghc-%{name}-devel and ghc-prof)
|
||||||
|
|
||||||
%description -n ghc-%{name}-prof
|
%description -n ghc-%{name}-prof
|
||||||
This package provides the Haskell %{name} profiling library.
|
This package provides the Haskell %{name} profiling library.
|
||||||
|
@ -87,6 +89,16 @@ This package provides the Haskell %{name} profiling library.
|
||||||
# End cabal-rpm install
|
# End cabal-rpm install
|
||||||
|
|
||||||
|
|
||||||
|
%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
|
%files
|
||||||
# Begin cabal-rpm files:
|
# Begin cabal-rpm files:
|
||||||
%license LICENSE
|
%license LICENSE
|
||||||
|
@ -105,6 +117,7 @@ This package provides the Haskell %{name} profiling library.
|
||||||
|
|
||||||
%if %{with haddock}
|
%if %{with haddock}
|
||||||
%files -n ghc-%{name}-doc -f ghc-%{name}-doc.files
|
%files -n ghc-%{name}-doc -f ghc-%{name}-doc.files
|
||||||
|
%license LICENSE
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue