]> TLD Linux GIT Repositories - packages/virt-manager.git/commitdiff
- updated to 3.2.0
authorMarcin Krol <hawk@tld-linux.org>
Sun, 3 Jan 2021 15:14:56 +0000 (16:14 +0100)
committerMarcin Krol <hawk@tld-linux.org>
Sun, 3 Jan 2021 15:14:56 +0000 (16:14 +0100)
arm-ovmf-path.patch [deleted file]
virt-manager.spec

diff --git a/arm-ovmf-path.patch b/arm-ovmf-path.patch
deleted file mode 100644 (file)
index 124fe83..0000000
+++ /dev/null
@@ -1,13 +0,0 @@
-diff -ur virt-manager-2.1.0.orig/virtinst/domcapabilities.py virt-manager-2.1.0/virtinst/domcapabilities.py
---- virt-manager-2.1.0.orig/virtinst/domcapabilities.py        2019-01-11 02:27:09.000000000 +0100
-+++ virt-manager-2.1.0/virtinst/domcapabilities.py     2019-05-09 21:23:21.532000000 +0200
-@@ -175,7 +175,9 @@
-             r".*aarch64.*",  # generic attempt at a catchall
-         ],
-         "armv7l": [
-+            r".*AAVMF32_CODE\.fd",  # RHEL
-             r".*arm/QEMU_EFI.*",  # fedora, gerd's firmware repo
-+            r".*arm.*",  # generic attempt at a catchall
-         ],
-     }
index 5816d7d3e9a4c2d9301f5cf9d30c16a7afed4d51..340774846eade51f3776ae49ffef5d79e625be60 100644 (file)
@@ -1,14 +1,13 @@
 Summary:       Virtual Machine Manager
 Summary(pl.UTF-8):     Zarządca maszyn wirtualnych
 Name:          virt-manager
-Version:       2.2.1
+Version:       3.2.0
 Release:       1
 Epoch:         1
 License:       GPL v2+
 Group:         Applications/Emulators
 Source0:       https://releases.pagure.org/virt-manager/%{name}-%{version}.tar.gz
-# Source0-md5: adb4fa436d60b62a8e18a7b3a1667d97
-Patch0:                arm-ovmf-path.patch
+# Source0-md5: a87507223c32d15eb12e1754404061dc
 URL:           http://virt-manager.org/
 BuildRequires: gettext-tools >= 0.14.1
 BuildRequires: glib2-devel
@@ -58,6 +57,17 @@ statystyki wykorzystania zasobów istniejących maszyn wirtualnych na
 maszynach lokalnych i zdalnych. Wykorzystuje libvirt jako API do
 zarządzania.
 
+%package -n bash-completion-%{name}
+Summary:        bash-completion for libvirt
+Group:          Applications/Shells
+Requires:       bash-completion
+%if "%{_rpmversion}" >= "5"
+BuildArch:      noarch
+%endif
+
+%description -n bash-completion-%{name}
+This package provides bash-completion for libvirt.
+
 %package -n python3-virtinst
 Summary:       Python modules and utilities for installing virtual machines
 Summary(pl.UTF-8):     Moduły Pythona i narzędzia do instalowania maszyn wirtualnych
@@ -86,7 +96,6 @@ virt-clone (klonujący istniejącą maszynę wirtualną).
 
 %prep
 %setup -q
-%patch0 -p1
 
 %build
 %{__python3} setup.py \
@@ -100,6 +109,9 @@ rm -rf $RPM_BUILD_ROOT
 
 %py3_install
 
+install -d $RPM_BUILD_ROOT/etc/bash_completion.d
+%{__mv} $RPM_BUILD_ROOT%{_datadir}/bash-completion/completions/* $RPM_BUILD_ROOT/etc/bash_completion.d/
+
 %find_lang %{name}
 
 %clean
@@ -123,24 +135,34 @@ fi
 %{_datadir}/%{name}/ui
 %dir %{_datadir}/%{name}/virtManager
 %{_datadir}/%{name}/virtManager/*.py*
-%attr(755,root,root) %{_datadir}/%{name}/virt-manager
-%attr(755,root,root) %{_datadir}/%{name}/virtManager
-%{_datadir}/appdata/virt-manager.appdata.xml
+%dir %{_datadir}/%{name}/virtManager/details
+%{_datadir}/%{name}/virtManager/details/*.py*
+%dir %{_datadir}/%{name}/virtManager/device
+%{_datadir}/%{name}/virtManager/device/*.py*
+%dir %{_datadir}/%{name}/virtManager/lib
+%{_datadir}/%{name}/virtManager/lib/*.py*
+%dir %{_datadir}/%{name}/virtManager/object
+%{_datadir}/%{name}/virtManager/object/*.py*
+%{_datadir}/metainfo/virt-manager.appdata.xml
 %{_datadir}/glib-2.0/schemas/org.virt-manager.virt-manager.gschema.xml
 %{_desktopdir}/%{name}.desktop
 %{_iconsdir}/hicolor/*/apps/virt-manager.png
 %{_mandir}/man1/virt-manager.1*
 
+%files -n bash-completion-%{name}
+%defattr(644,root,root,755)
+/etc/bash_completion.d/virt-clone
+/etc/bash_completion.d/virt-install
+/etc/bash_completion.d/virt-xml
+
 %files -n python3-virtinst -f %{name}.lang
 %defattr(644,root,root,755)
 %attr(755,root,root) %{_bindir}/virt-clone
-%attr(755,root,root) %{_bindir}/virt-convert
 %attr(755,root,root) %{_bindir}/virt-install
 %attr(755,root,root) %{_bindir}/virt-xml
 %dir %{_datadir}/%{name}
-%dir %{_datadir}/%{name}/virtconv
-%{_datadir}/%{name}/virtconv/*.py*
 %dir %{_datadir}/%{name}/virtinst
+%{_datadir}/%{name}/virtinst/build.cfg
 %{_datadir}/%{name}/virtinst/*.py*
 %dir %{_datadir}/%{name}/virtinst/devices
 %{_datadir}/%{name}/virtinst/devices/*.py*
@@ -148,11 +170,6 @@ fi
 %{_datadir}/%{name}/virtinst/domain/*.py*
 %dir %{_datadir}/%{name}/virtinst/install
 %{_datadir}/%{name}/virtinst/install/*.py*
-%attr(755,root,root) %{_datadir}/%{name}/virt-clone
-%attr(755,root,root) %{_datadir}/%{name}/virt-convert
-%attr(755,root,root) %{_datadir}/%{name}/virt-install
-%attr(755,root,root) %{_datadir}/%{name}/virt-xml
 %{_mandir}/man1/virt-clone.1*
-%{_mandir}/man1/virt-convert.1*
 %{_mandir}/man1/virt-install.1*
 %{_mandir}/man1/virt-xml.1*