From 51dc17ad3460f3c84a4b74e04880b66237cf8e49 Mon Sep 17 00:00:00 2001 From: starlet-dx <15929766099@163.com> Date: Fri, 18 Nov 2022 09:48:02 +0800 Subject: [PATCH] Replace openEuler with vendor --- gnome-boxes.spec | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/gnome-boxes.spec b/gnome-boxes.spec index c32ce2a..966e0ec 100644 --- a/gnome-boxes.spec +++ b/gnome-boxes.spec @@ -1,5 +1,6 @@ -%global distributor_name openEuler -%global distributor_version %{openEuler} +%global vendor %{?_vendor:%{_vendor}}%{!?_vendor:openEuler} +%global distributor_name %{vendor} +%global distributor_version %{%{vendor}} %global major_version %%(echo %%{tarball_version} | cut -d. -f1) %global __provides_exclude_from ^%{_libdir}/gnome-boxes/ @@ -7,7 +8,7 @@ Name: gnome-boxes Version: 42.1 -Release: 1 +Release: 2 Summary: An application of the GNOME Desktop Environment License: LGPLv2+ URL: https://wiki.gnome.org/Apps/Boxes @@ -83,6 +84,9 @@ desktop-file-validate %{buildroot}%{_datadir}/applications/org.gnome.Boxes.deskt %{_sysconfdir}/ld.so.conf.d/%{name}-%{_arch}.conf %changelog +* Fri Nov 18 2022 yaoxin - 42.1-2 +- Replace openEuler with vendor + * Mon Oct 31 2022 yaoxin - 42.1-1 - Update to 42.1