diff --git a/unzip-rcc.spec b/unzip-rcc.spec index 432a436..a77e360 100644 --- a/unzip-rcc.spec +++ b/unzip-rcc.spec @@ -44,6 +44,7 @@ Patch12: unzip-dont_call_isprint.patch %if %{with rcc} BuildRequires: librcc-devel Suggests: librcc0 +Provides: %{_name} = %{version} %define update_weight 20 %define _suffix rcc %else @@ -53,7 +54,7 @@ Suggests: librcc0 BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRequires: update-alternatives Requires: update-alternatives -Recommends: unzip-doc +Recommends: %{_name}-doc %description UnZip is an extraction utility for archives compressed in .zip format diff --git a/unzip.spec b/unzip.spec index bd55f28..bf510ea 100644 --- a/unzip.spec +++ b/unzip.spec @@ -44,6 +44,7 @@ Patch12: unzip-dont_call_isprint.patch %if %{with rcc} BuildRequires: librcc-devel Suggests: librcc0 +Provides: %{_name} = %{version} %define update_weight 20 %define _suffix rcc %else @@ -53,7 +54,7 @@ Suggests: librcc0 BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRequires: update-alternatives Requires: update-alternatives -Recommends: unzip-doc +Recommends: %{_name}-doc %description UnZip is an extraction utility for archives compressed in .zip format