libvirt better layout in spec file for patches
Signed-off-by: virtbuilder_pel7x64builder0 <virtbuilder@powerel.org>master
parent
a5119223d5
commit
7343285f4d
|
@ -56,18 +56,16 @@ Group: Development/Libraries
|
|||
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
|
||||
URL: https://libvirt.org/
|
||||
|
||||
%ifarch x86_64
|
||||
Patch1: libvirt-network-bridge-function.patch
|
||||
%endif
|
||||
Patch2: libvirt-network-switch-function.patch
|
||||
|
||||
%if %(echo %{version} | grep -q "\.0$"; echo $?) == 1
|
||||
%define mainturl stable_updates/
|
||||
%endif
|
||||
Source: https://libvirt.org/sources/%{?mainturl}libvirt-%{version}.tar.xz
|
||||
Source1: symlinks
|
||||
|
||||
%ifarch x86_64
|
||||
Patch1: libvirt-network-bridge-function.patch
|
||||
%endif
|
||||
Patch2: libvirt-network-switch-function.patch
|
||||
|
||||
Requires: libvirt-daemon = %{version}-%{release}
|
||||
Requires: libvirt-daemon-config-network = %{version}-%{release}
|
||||
|
|
Loading…
Reference in New Issue