Fix applying patch for MSVSphere support

pull/2/head changed/i9-beta/osinfo-db-20230518-1.el9.inferit.1
Arkady L. Shane 1 year ago
parent 7817e4dcf3
commit 6f8e8f52c6

@ -3,7 +3,7 @@
Summary: osinfo database files Summary: osinfo database files
Name: osinfo-db Name: osinfo-db
Version: 20230518 Version: 20230518
Release: 1%{?dist}.inferit Release: 1%{?dist}.inferit.1
License: LGPLv2+ License: LGPLv2+
Source0: https://fedorahosted.org/releases/l/i/libosinfo/%{name}-%{version}.tar.xz Source0: https://fedorahosted.org/releases/l/i/libosinfo/%{name}-%{version}.tar.xz
Source1: https://fedorahosted.org/releases/l/i/libosinfo/%{name}-%{version}.tar.xz.asc Source1: https://fedorahosted.org/releases/l/i/libosinfo/%{name}-%{version}.tar.xz.asc
@ -24,7 +24,9 @@ provisioning of new virtual machines
%autosetup -S git_am %autosetup -S git_am
%install %install
osinfo-db-import --root %{buildroot} --dir %{_datadir}/osinfo %{SOURCE0} #repack
tar -c --exclude=.git -af /tmp/%{name}-%{version}.tar.xz -C %{_builddir} %{name}-%{version}
osinfo-db-import --root %{buildroot} --dir %{_datadir}/osinfo /tmp/%{name}-%{version}.tar.xz
%if 0%{?rhel} %if 0%{?rhel}
# Remove the upstream virtio-win / spice-guest-tools drivers # Remove the upstream virtio-win / spice-guest-tools drivers
find %{buildroot}/%{_datadir}/osinfo/os/microsoft.com/ -name "win-*.d" -type d -exec rm -rf {} + find %{buildroot}/%{_datadir}/osinfo/os/microsoft.com/ -name "win-*.d" -type d -exec rm -rf {} +
@ -42,6 +44,11 @@ find %{buildroot}/%{_datadir}/osinfo/os/microsoft.com/ -name "win-*.d" -type d -
%{_datadir}/osinfo/schema %{_datadir}/osinfo/schema
%changelog %changelog
* Mon Dec 4 2023 Arkady L. Shane <tigro@msvsphere-os.ru> - 20230518-1.inferit.1
- Fix applying patch for MSVSphere support
- Update to new release (v20230518)
Resolves: rhbz#2184784
* Wed Sep 13 2023 Arkady L. Shane <ashejn@msvsphere.ru> - 20221130-1.inferit.1 * Wed Sep 13 2023 Arkady L. Shane <ashejn@msvsphere.ru> - 20221130-1.inferit.1
- Change urls from msvsphere.ru to msvsphere-os.ru - Change urls from msvsphere.ru to msvsphere-os.ru

Loading…
Cancel
Save