refresh to cabal-rpm-0.12.1
This commit is contained in:
parent
43e58b26bc
commit
fec3b584db
1 changed files with 10 additions and 1 deletions
|
|
@ -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 unlambda
|
||||
|
|
@ -37,9 +37,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
|
||||
|
|
@ -59,6 +62,12 @@ iconv -f iso8859-1 -t utf-8 Language/Unlambda.hs > Language/Unlambda.conv && mv
|
|||
%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…
Add table
Add a link
Reference in a new issue