From 7014db360f7e9b6450084f3cfbc5c7570439c758 Mon Sep 17 00:00:00 2001 From: Jens Petersen Date: Wed, 3 Dec 2014 21:38:07 +1000 Subject: [PATCH] fix the requires for common --- alex.spec | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/alex.spec b/alex.spec index c5a1670..9d3dadb 100644 --- a/alex.spec +++ b/alex.spec @@ -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