Use isa macro when requiring base package

https://fedoraproject.org/wiki/Packaging:Guidelines#Requiring_Base_Package
This commit is contained in:
David King 2016-02-29 09:54:40 +00:00
parent df96441e4e
commit 15db149f70

View File

@ -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 <amigadave@amigadave.com> - 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 <releng@fedoraproject.org> - 0.4.11-13
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild