Browse Source

libvirt better layout in spec file for patches

Signed-off-by: virtbuilder_pel7x64builder0 <virtbuilder@powerel.org>
master
virtbuilder_pel7x64builder0 6 years ago
parent
commit
7343285f4d
  1. 8
      SPECS/libvirt.spec

8
SPECS/libvirt.spec

@ -56,18 +56,16 @@ Group: Development/Libraries @@ -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…
Cancel
Save