Add Provides: bundled() to rpm package
There is no way to determine component versions in the "Provides: Bundled ()" sections. RPMBuild just adds lines as is without any checks. -resolves: rhbz#2090250 Signed-off-by: Konstantin Kostiuk <kkostiuk@redhat.com>
This commit is contained in:
parent
318b018e32
commit
79f0389086
@ -14,6 +14,6 @@ index 91ff57278e..586de296f5 100644
|
||||
+++ b/VERSION
|
||||
@@ -1 +1 @@
|
||||
-7.1.0
|
||||
+105.0.2
|
||||
+105.0.3
|
||||
--
|
||||
2.17.2
|
||||
|
@ -6,7 +6,7 @@
|
||||
%define ga_distro "RHEL"
|
||||
|
||||
Name: mingw-qemu-ga-win
|
||||
Version: 105.0.2
|
||||
Version: 105.0.3
|
||||
Release: 1%{?dist}
|
||||
Summary: Qemus Guest agent for Windows
|
||||
|
||||
@ -23,6 +23,13 @@ Patch0002: 0002-qga-win-usb-support.patch
|
||||
|
||||
BuildArch: noarch
|
||||
|
||||
Provides: bundled(mingw-gcc)
|
||||
Provides: bundled(mingw-gcc-c++)
|
||||
Provides: bundled(mingw-gettext)
|
||||
Provides: bundled(mingw-glib2)
|
||||
Provides: bundled(mingw-pcre)
|
||||
# based on https://gitlab.com/qemu-project/qemu/-/blob/v7.1.0/qga/installer/qemu-ga.wxs
|
||||
|
||||
BuildRequires: libtool
|
||||
BuildRequires: zlib-devel
|
||||
BuildRequires: glib2-devel
|
||||
@ -111,6 +118,10 @@ cp build/qga/qemu-ga-x86_64.msi $RPM_BUILD_ROOT%{mingw64_bindir}
|
||||
%{mingw64_bindir}/qemu-ga*
|
||||
|
||||
%changelog
|
||||
* Mon Dec 26 2022 Konstantin Kostiuk <kkostiuk@redhat.com> 105.0.3
|
||||
- Set version to 105.0.3
|
||||
- BZ#2090250 - mingw-qemu-ga-win: Add Provides: bundled() to rpm packages [rhel-9]
|
||||
|
||||
* Tue Dec 6 2022 Konstantin Kostiuk <kkostiuk@redhat.com> 105.0.2
|
||||
- Set version to 105.0.2
|
||||
- Fix wrong requires
|
||||
|
Loading…
Reference in New Issue
Block a user