From 4fb7380e8707f3686a72dcb617b882febf19a6d4 Mon Sep 17 00:00:00 2001 From: Björn Esser Date: Jan 08 2018 00:27:29 +0000 Subject: Prefer %%global over %%define as indicated by guidelines --- diff --git a/gnome-boxes.spec b/gnome-boxes.spec index cf75d47..da7fe76 100644 --- a/gnome-boxes.spec +++ b/gnome-boxes.spec @@ -10,24 +10,24 @@ ExclusiveArch: x86_64 # The following qemu_kvm_arches/with_qemu_kvm defines come from # libvirt.spec %if 0%{?fedora} - %define qemu_kvm_arches %{ix86} x86_64 %{power64} s390x %{arm} aarch64 + %global qemu_kvm_arches %{ix86} x86_64 %{power64} s390x %{arm} aarch64 %endif %if 0%{?rhel} >= 7 - %define qemu_kvm_arches x86_64 %{power64} + %global qemu_kvm_arches x86_64 %{power64} %endif %ifarch %{qemu_kvm_arches} - %define with_qemu_kvm 1 + %global with_qemu_kvm 1 %else - %define with_qemu_kvm 0 + %global with_qemu_kvm 0 %endif %global url_ver %%(echo %{version}|cut -d. -f1,2) Name: gnome-boxes Version: 3.27.1 -Release: 3%{?dist} +Release: 4%{?dist} Summary: A simple GNOME 3 application to access remote or virtual systems License: LGPLv2+ @@ -125,6 +125,9 @@ desktop-file-validate %{buildroot}%{_datadir}/applications/org.gnome.Boxes.deskt %{_datadir}/gnome-shell/search-providers/gnome-boxes-search-provider.ini %changelog +* Mon Jan 08 2018 Björn Esser - 3.27.1-4 +- Prefer %%global over %%define as indicated by guidelines + * Mon Jan 08 2018 Björn Esser - 3.27.1-3 - Add a patch making newly created VMs use VIRTIO - Resolves: rhbz#1491320