[packages/virt-manager] - updated to 4.1.0 - kab locale is supported now (though empty atm.)

qboosh qboosh at pld-linux.org
Tue Jun 6 19:27:03 CEST 2023


commit 3f1625d2a2d33d81e35a47b0a589d13cd3fa6a2a
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date:   Tue Jun 6 19:29:42 2023 +0200

    - updated to 4.1.0
    - kab locale is supported now (though empty atm.)

 setuptools-61.patch |  8 --------
 virt-manager.spec   | 33 +++++++++++----------------------
 2 files changed, 11 insertions(+), 30 deletions(-)
---
diff --git a/virt-manager.spec b/virt-manager.spec
index e703503..94f2890 100644
--- a/virt-manager.spec
+++ b/virt-manager.spec
@@ -1,34 +1,29 @@
 Summary:	Virtual Machine Manager
 Summary(pl.UTF-8):	Zarządca maszyn wirtualnych
 Name:		virt-manager
-Version:	4.0.0
-Release:	2
+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:	4c407920b9d3c385e4ceaa177f003b9d
-Patch0:		setuptools-61.patch
-URL:		http://virt-manager.org/
+# Source0-md5:	8bf86bcc7e43a956ff94ebdaf4d7d399
+URL:		https://virt-manager.org/
+# rst2man
 BuildRequires:	docutils
 BuildRequires:	gettext-tools >= 0.14.1
-BuildRequires:	glib2-devel
-BuildRequires:	intltool >= 0.35.0
-BuildRequires:	perl-tools-pod
-BuildRequires:	python3-devel
-BuildRequires:	python3-libvirt >= 0.9.6
-BuildRequires:	python3-libxml2 >= 1:2.7.8
+BuildRequires:	python3-devel >= 1:3
 BuildRequires:	rpmbuild(macros) >= 1.592
 Requires(post,postun):	glib2
 Requires(post,postun):	gtk-update-icon-cache
-Requires:	gtk+3 >= 3.14
+Requires:	gtk+3 >= 3.22.0
 Requires:	gtk3-vnc >= 0.4.3
 Requires:	gtksourceview4
 Requires:	hicolor-icon-theme
 Requires:	libosinfo >= 0.2.10
 Requires:	libvirt-glib >= 0.0.9
 Requires:	python3-libvirt >= 0.9.6
-Requires:	python3-pygobject3 >= 3.14
+Requires:	python3-pygobject3 >= 3.32
 Requires:	python3-virtinst = %{epoch}:%{version}-%{release}
 Requires:	spice-gtk
 Requires:	vte >= 0.34
@@ -97,14 +92,9 @@ virt-clone (klonujący istniejącą maszynę wirtualną).
 
 %prep
 %setup -q
-%patch0 -p1
-
-%{__sed} -i '1s,%{_bindir}/env python3$,%{__python3},' \
-	virtManager/virtmanager.py
 
 %build
-%{__python3} setup.py \
-	configure \
+%{__python3} setup.py configure \
 	--prefix=%{_prefix} \
 	--default-graphics="spice"
 
@@ -113,12 +103,11 @@ rm -rf $RPM_BUILD_ROOT
 
 %{__python3} setup.py \
 	--no-update-icon-cache \
-	--no-compile-schemas install \
+	--no-compile-schemas \
+	install \
 	--prefix=%{_prefix} \
 	-O1 --root=$RPM_BUILD_ROOT
 
-%{__rm} -r $RPM_BUILD_ROOT%{_localedir}/kab
-
 %find_lang %{name}
 
 %clean
diff --git a/setuptools-61.patch b/setuptools-61.patch
deleted file mode 100644
index 6ddc280..0000000
--- a/setuptools-61.patch
+++ /dev/null
@@ -1,8 +0,0 @@
---- virt-manager-4.0.0/setup.py~	1970-01-01 00:00:00.000000000 +0000
-+++ virt-manager-4.0.0/setup.py	2022-05-09 09:37:17.358455333 +0000
-@@ -547,4 +547,5 @@
-     },
- 
-     distclass=VMMDistribution,
-+    packages=[],
- )
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/virt-manager.git/commitdiff/3f1625d2a2d33d81e35a47b0a589d13cd3fa6a2a



More information about the pld-cvs-commit mailing list