]> TLD Linux GIT Repositories - packages/virt-manager.git/commitdiff
- updated to 4.1.0
authorMarcin Krol <hawk@tld-linux.org>
Sat, 27 Aug 2022 12:59:52 +0000 (14:59 +0200)
committerMarcin Krol <hawk@tld-linux.org>
Sat, 27 Aug 2022 12:59:52 +0000 (14:59 +0200)
virt-manager.spec

index 340774846eade51f3776ae49ffef5d79e625be60..0a0f2435168c79f349751e632f33cb44822af960 100644 (file)
@@ -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