|
|
@ -3,7 +3,7 @@
|
|
|
|
Summary: osinfo database files
|
|
|
|
Summary: osinfo database files
|
|
|
|
Name: osinfo-db
|
|
|
|
Name: osinfo-db
|
|
|
|
Version: 20240701
|
|
|
|
Version: 20240701
|
|
|
|
Release: 2%{?dist}.inferit.1
|
|
|
|
Release: 2%{?dist}.inferit.2
|
|
|
|
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,9 @@ find %{buildroot}/%{_datadir}/osinfo/os/microsoft.com/ -name "win-*.d" -type d -
|
|
|
|
%{_datadir}/osinfo/schema
|
|
|
|
%{_datadir}/osinfo/schema
|
|
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
%changelog
|
|
|
|
|
|
|
|
* Wed Nov 27 2024 Arkady L. Shane <tigro@msvsphere-os.ru> - 20240701-2.inferit.2
|
|
|
|
|
|
|
|
- Fix Spec (Broken MSVSphere detection)
|
|
|
|
|
|
|
|
|
|
|
|
* Wed Nov 13 2024 Eduard Basov <ebasov@msvsphere-os.ru> - 20240701-2.inferit.1
|
|
|
|
* Wed Nov 13 2024 Eduard Basov <ebasov@msvsphere-os.ru> - 20240701-2.inferit.1
|
|
|
|
- Fix .patch and add aarch64
|
|
|
|
- Fix .patch and add aarch64
|
|
|
|
|
|
|
|
|
|
|
|