From 875c485828945cecfb57e868461043a6b4b3e415 Mon Sep 17 00:00:00 2001 From: Dario Faggioli Date: Wed, 21 Feb 2024 16:16:35 +0100 Subject: [PATCH] [openSUSE][RPM] Cosmetic fixes to spec files (copyright, sorting, etc) Update the copyright year to 2024, sort dependencies etc. This way, 'osc' does not have to do these changes all the times (they're automatic, so no big deal, but it's annoying to see them in the diffs of all the requests). Signed-off-by: Dario Faggioli --- rpm/qemu-linux-user.spec | 8 ++++---- rpm/qemu.spec | 10 +++++----- 2 files changed, 9 insertions(+), 9 deletions(-) diff --git a/rpm/qemu-linux-user.spec b/rpm/qemu-linux-user.spec index 01e2b613c0..7978314de0 100644 --- a/rpm/qemu-linux-user.spec +++ b/rpm/qemu-linux-user.spec @@ -1,7 +1,7 @@ # # spec file for package qemu-linux-user # -# Copyright (c) 2023 SUSE LLC +# Copyright (c) 2024 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -46,18 +46,18 @@ BuildRequires: zlib-devel-static %if 0%{?qemu_user_space_build:1} #!BuildIgnore: post-build-checks %endif +BuildRequires: discount BuildRequires: fdupes BuildRequires: flex BuildRequires: gcc-c++ BuildRequires: meson BuildRequires: ninja >= 1.7 -BuildRequires: discount %if 0%{?suse_version} >= 1600 -BuildRequires: python3-base >= 3.8 BuildRequires: python3-Sphinx +BuildRequires: python3-base >= 3.8 %else -BuildRequires: python311-base BuildRequires: python311-Sphinx +BuildRequires: python311-base %endif %description diff --git a/rpm/qemu.spec b/rpm/qemu.spec index f5adbd240c..ca689ee30b 100644 --- a/rpm/qemu.spec +++ b/rpm/qemu.spec @@ -1,7 +1,7 @@ # # spec file for package qemu # -# Copyright (c) 2023 SUSE LLC +# Copyright (c) 2024 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -147,11 +147,11 @@ BuildRequires: pkgconfig(liburing) >= %liburing_min_version BuildRequires: libxdp-devel %endif %if 0%{?suse_version} >= 1600 -BuildRequires: python3-base >= 3.8 BuildRequires: python3-Sphinx +BuildRequires: python3-base >= 3.8 %else -BuildRequires: python311-base BuildRequires: python311-Sphinx +BuildRequires: python311-base %endif BuildRequires: Mesa-devel BuildRequires: bison @@ -1068,9 +1068,9 @@ make -O V=1 VERBOSE=1 -j1 check-qtest %package spice Summary: Modules and packages for SPICE Group: System/Emulators/PC -Requires: qemu-headless Requires: qemu-audio-spice Requires: qemu-chardev-spice +Requires: qemu-headless Requires: qemu-hw-display-qxl Requires: qemu-hw-usb-redirect Requires: qemu-ui-spice-core @@ -1915,7 +1915,7 @@ Summary: OPAL firmware (aka skiboot), used in booting OpenPOWER systems Group: System/Emulators/PC BuildArch: noarch Requires(post): update-alternatives -Requires(postun):update-alternatives +Requires(postun): update-alternatives %description skiboot Provides OPAL (OpenPower Abstraction Layer) firmware, aka skiboot, as -- 2.51.1