From 053dbbbdb4339e60b84832fc0469048968152c1d Mon Sep 17 00:00:00 2001 From: Marcin Krol Date: Sat, 27 Aug 2022 14:59:52 +0200 Subject: [PATCH] - updated to 4.1.0 --- virt-manager.spec | 18 ++++++++++++------ 1 file changed, 12 insertions(+), 6 deletions(-) diff --git a/virt-manager.spec b/virt-manager.spec index 3407748..0a0f243 100644 --- a/virt-manager.spec +++ b/virt-manager.spec @@ -1,13 +1,13 @@ Summary: Virtual Machine Manager Summary(pl.UTF-8): Zarządca maszyn wirtualnych Name: virt-manager -Version: 3.2.0 +Version: 4.1.0 Release: 1 Epoch: 1 License: GPL v2+ Group: Applications/Emulators Source0: https://releases.pagure.org/virt-manager/%{name}-%{version}.tar.gz -# Source0-md5: a87507223c32d15eb12e1754404061dc +# Source0-md5: 8bf86bcc7e43a956ff94ebdaf4d7d399 URL: http://virt-manager.org/ BuildRequires: gettext-tools >= 0.14.1 BuildRequires: glib2-devel @@ -16,6 +16,7 @@ BuildRequires: libosinfo >= 1.0.0 BuildRequires: perl-tools-pod BuildRequires: python3-devel BuildRequires: python3-libvirt >= 0.9.6 +BuildRequires: python3-libxml2 >= 1:2.7.8 BuildRequires: rpmbuild(macros) >= 1.592 Requires(post,postun): glib2 Requires(post,postun): gtk-update-icon-cache @@ -36,6 +37,7 @@ Requires: python3-pygobject3 >= 3.14 Requires: python3-virtinst = %{epoch}:%{version}-%{release} Requires: spice-gtk Requires: vte >= 0.34 +Requires: xorriso Suggests: gnome-keyring >= 0.4.9 Suggests: python3-libguestfs >= 1.12.0 ExclusiveArch: %{ix86} %{x8664} ia64 @@ -100,18 +102,22 @@ virt-clone (klonujący istniejącą maszynę wirtualną). %build %{__python3} setup.py \ configure \ - --prefix=%{_prefix} - -%py3_build + --prefix=%{_prefix} \ %install rm -rf $RPM_BUILD_ROOT -%py3_install +%{__python3} setup.py \ + --no-update-icon-cache \ + --no-compile-schemas install \ + --prefix=%{_prefix} \ + --root=$RPM_BUILD_ROOT install -d $RPM_BUILD_ROOT/etc/bash_completion.d %{__mv} $RPM_BUILD_ROOT%{_datadir}/bash-completion/completions/* $RPM_BUILD_ROOT/etc/bash_completion.d/ +%{__rm} -r $RPM_BUILD_ROOT%{_localedir}/kab + %find_lang %{name} %clean -- 2.46.0