|
|
|
@ -31,7 +31,7 @@ BuildRequires: autoconf
|
|
|
|
|
BuildRequires: docbook-style-xsl
|
|
|
|
|
BuildRequires: libxslt
|
|
|
|
|
%if %{with static}
|
|
|
|
|
Requires: %{name}-common = %{release}
|
|
|
|
|
Requires: %{name}-common = %{version}-%{release}
|
|
|
|
|
Requires(post): %{_sbindir}/update-alternatives
|
|
|
|
|
Requires(postun): %{_sbindir}/update-alternatives
|
|
|
|
|
%endif
|
|
|
|
@ -53,7 +53,7 @@ This provides the common files for %{name}.
|
|
|
|
|
|
|
|
|
|
%package static
|
|
|
|
|
Summary: Static Haskell build
|
|
|
|
|
Requires: %{name}-common = %{release}
|
|
|
|
|
Requires: %{name}-common = %{version}-%{release}
|
|
|
|
|
Requires(post): %{_sbindir}/update-alternatives
|
|
|
|
|
Requires(postun): %{_sbindir}/update-alternatives
|
|
|
|
|
|
|
|
|
@ -88,9 +88,8 @@ cd ..
|
|
|
|
|
mv %{buildroot}%{_bindir}/%{name}{,.dynamic}
|
|
|
|
|
install dist/build/%{name}/%{name}.static %{buildroot}%{_bindir}
|
|
|
|
|
touch %{buildroot}%{_bindir}/%{name}
|
|
|
|
|
%endif
|
|
|
|
|
|
|
|
|
|
rm %{buildroot}%{_pkgdocdir}/LICENSE
|
|
|
|
|
%endif
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%check
|
|
|
|
|