refresh to cabal-rpm-0.12.1

epel9
Jens Petersen 7 years ago
parent ce04926085
commit 6d5b9252a2

@ -1,4 +1,4 @@
# generated by cabal-rpm-0.11.1
# generated by cabal-rpm-0.12.1
# https://fedoraproject.org/wiki/Packaging:Haskell
%global pkg_name hscolour
@ -45,9 +45,12 @@ This package provides the Haskell %{name} shared library.
%package -n ghc-%{name}-devel
Summary: Haskell %{name} library development files
Provides: ghc-%{name}-static = %{version}-%{release}
Provides: ghc-%{name}-doc = %{version}-%{release}
%if %{defined ghc_version}
Requires: ghc-compiler = %{ghc_version}
Requires(post): ghc-compiler = %{ghc_version}
Requires(postun): ghc-compiler = %{ghc_version}
%endif
Requires: ghc-%{name}%{?_isa} = %{version}-%{release}
%description -n ghc-%{name}-devel
@ -66,6 +69,12 @@ This package provides the Haskell %{name} library development files.
%ghc_lib_install
%post -n ghc-%{name} -p /sbin/ldconfig
%postun -n ghc-%{name} -p /sbin/ldconfig
%post -n ghc-%{name}-devel
%ghc_pkg_recache

Loading…
Cancel
Save