From 15db149f703922ede41f9011e1ac315f13e0ebe6 Mon Sep 17 00:00:00 2001 From: David King Date: Mon, 29 Feb 2016 09:54:40 +0000 Subject: [PATCH] Use isa macro when requiring base package https://fedoraproject.org/wiki/Packaging:Guidelines#Requiring_Base_Package --- libproxy.spec | 17 +++++++++-------- 1 file changed, 9 insertions(+), 8 deletions(-) diff --git a/libproxy.spec b/libproxy.spec index e1a8811..283463b 100644 --- a/libproxy.spec +++ b/libproxy.spec @@ -54,7 +54,7 @@ libproxy offers the following features: %package bin Summary: Binary to test %{name} Group: Applications/System -Requires: %{name} = %{version}-%{release} +Requires: %{name}%{?_isa} = %{version}-%{release} %description bin The %{name}-bin package contains the proxy binary for %{name} @@ -72,7 +72,7 @@ The %{name}-python package contains the python binding for %{name} %package gnome Summary: Plugin for %{name} and gnome Group: System Environment/Libraries -Requires: %{name} = %{version}-%{release} +Requires: %{name}%{?_isa} = %{version}-%{release} %description gnome The %{name}-gnome package contains the %{name} plugin for gnome. @@ -80,7 +80,7 @@ The %{name}-gnome package contains the %{name} plugin for gnome. %package kde Summary: Plugin for %{name} and kde Group: System Environment/Libraries -Requires: %{name} = %{version}-%{release} +Requires: %{name}%{?_isa} = %{version}-%{release} Requires: /usr/bin/kreadconfig5 %description kde @@ -89,7 +89,7 @@ The %{name}-kde package contains the %{name} plugin for kde. %package mozjs Summary: Plugin for %{name} and mozjs Group: System Environment/Libraries -Requires: %{name} = %{version}-%{release} +Requires: %{name}%{?_isa} = %{version}-%{release} Provides: %{name}-pac = %{version}-%{release} %description mozjs @@ -98,7 +98,7 @@ The %{name}-mozjs package contains the %{name} plugin for mozjs. %package networkmanager Summary: Plugin for %{name} and networkmanager Group: System Environment/Libraries -Requires: %{name} = %{version}-%{release} +Requires: %{name}%{?_isa} = %{version}-%{release} %description networkmanager The %{name}-networkmanager package contains the %{name} plugin @@ -107,7 +107,7 @@ for networkmanager. %package webkitgtk3 Summary: Plugin for %{name} and webkitgtk3 Group: System Environment/Libraries -Requires: %{name} = %{version}-%{release} +Requires: %{name}%{?_isa} = %{version}-%{release} Provides: %{name}-pac = %{version}-%{release} %description webkitgtk3 @@ -117,7 +117,7 @@ webkitgtk3. %package pacrunner Summary: Plugin for %{name} and PacRunner Group: System Environment/Libraries -Requires: %{name} = %{version}-%{release} +Requires: %{name}%{?_isa} = %{version}-%{release} Provides: %{name}-pac = %{version}-%{release} %description pacrunner @@ -129,7 +129,7 @@ PacRunner. %package devel Summary: Development files for %{name} Group: Development/Libraries -Requires: %{name} = %{version}-%{release} +Requires: %{name}%{?_isa} = %{version}-%{release} Requires: pkgconfig %description devel @@ -212,6 +212,7 @@ make test * Mon Feb 29 2016 David King - 0.4.12-1 - Update to 0.4.12 - Simplify conditional macros +- Use isa macro when requiring base package * Thu Feb 04 2016 Fedora Release Engineering - 0.4.11-13 - Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild