Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package libvmdk for openSUSE:Factory checked in at 2022-01-24 23:10:19 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/libvmdk (Old) and /work/SRC/openSUSE:Factory/.libvmdk.new.1938 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "libvmdk" Mon Jan 24 23:10:19 2022 rev:12 rq:948441 version:20210807 Changes: -------- --- /work/SRC/openSUSE:Factory/libvmdk/libvmdk.changes 2021-11-27 00:52:06.530639553 +0100 +++ /work/SRC/openSUSE:Factory/.libvmdk.new.1938/libvmdk.changes 2022-01-24 23:10:59.366349761 +0100 @@ -1,0 +2,5 @@ +Mon Jan 24 10:41:51 UTC 2022 - Jan Engelhardt <jeng...@inai.de> + +- Enable multipython builds. (This reenables Python2 on Leap 15.) + +------------------------------------------------------------------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ libvmdk.spec ++++++ --- /var/tmp/diff_new_pack.1lYC0b/_old 2022-01-24 23:11:00.694340685 +0100 +++ /var/tmp/diff_new_pack.1lYC0b/_new 2022-01-24 23:11:00.698340657 +0100 @@ -1,7 +1,7 @@ # # spec file for package libvmdk # -# Copyright (c) 2021 SUSE LLC +# Copyright (c) 2022 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -29,10 +29,13 @@ Source3: %name.keyring Source11: VMWare_Virtual_Disk_Format_VMDK.pdf Patch1: system-libs.patch +BuildRequires: %{python_module devel} BuildRequires: c_compiler BuildRequires: gettext-tools >= 0.18.1 BuildRequires: libtool BuildRequires: pkg-config +BuildRequires: python-rpm-macros +BuildRequires: zlib-devel BuildRequires: pkgconfig(fuse) BuildRequires: pkgconfig(libbfio) >= 20201229 BuildRequires: pkgconfig(libcdata) >= 20200509 @@ -47,9 +50,7 @@ BuildRequires: pkgconfig(libfdata) >= 20201129 BuildRequires: pkgconfig(libfvalue) >= 20210510 BuildRequires: pkgconfig(libuna) >= 20210801 -BuildRequires: pkgconfig(python2) -BuildRequires: pkgconfig(python3) -BuildRequires: pkgconfig(zlib) +%python_subpackages %description The libvmdk library is a library to access the VMware Virtual Disk (VMDK) format. @@ -114,27 +115,24 @@ This package contains libraries and header files for developing applications that want to make use of libvmdk. -%package -n python3-%{name} -Summary: Python 3 bindings for libvmdk, a VMDK image format parser -License: LGPL-3.0-or-later -Group: Development/Languages/Python - -%description -n python3-%{name} -The libvmdk library is a library to access the VMware Virtual Disk (VMDK) format. - -This package contains the Python 3 bindings for libvmdk. - %prep %autosetup -p1 cp %_sourcedir/*.pdf . %build autoreconf -fi -%configure --disable-static --enable-wide-character-type --enable-python3 +# OOT builds are presently broken, so we have to install +# within each python iteration now, not in %%install. +%{python_expand # +%configure --disable-static --enable-wide-character-type \ + --enable-python PYTHON_VERSION="%{$python_bin_suffix}" %make_build +%make_install DESTDIR="%_builddir/rt" +%make_build clean +} %install -%make_install +mv %_builddir/rt/* %buildroot/ find %{buildroot} -type f -name "*.la" -delete -print %check @@ -147,12 +145,12 @@ %license COPYING* %{_libdir}/libvmdk.so.* -%files tools +%files -n %name-tools %license COPYING* %{_bindir}/vmdk* %{_mandir}/man1/vmdk*.1* -%files devel +%files -n %name-devel %license COPYING* %doc VMWare_Virtual_Disk_Format* %{_includedir}/libvmdk.h @@ -161,8 +159,8 @@ %{_libdir}/pkgconfig/libvmdk.pc %{_mandir}/man3/libvmdk.3* -%files -n python3-%{name} +%files %python_files %license COPYING* -%{python3_sitearch}/pyvmdk.so +%python_sitearch/pyvmdk.so %changelog