Hello community,

here is the log from the commit of package diskimage-builder for 
openSUSE:Leap:15.2 checked in at 2020-06-01 12:10:00
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Leap:15.2/diskimage-builder (Old)
 and      /work/SRC/openSUSE:Leap:15.2/.diskimage-builder.new.3606 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "diskimage-builder"

Mon Jun  1 12:10:00 2020 rev:23 rq:810558 version:2.28.0

Changes:
--------
--- /work/SRC/openSUSE:Leap:15.2/diskimage-builder/diskimage-builder.changes    
2020-01-15 14:52:27.989490271 +0100
+++ 
/work/SRC/openSUSE:Leap:15.2/.diskimage-builder.new.3606/diskimage-builder.changes
  2020-06-01 12:10:01.622475436 +0200
@@ -1,0 +2,244 @@
+Wed May  6 19:58:04 UTC 2020 - Dominique Leuenberger <[email protected]>
+
+- Run test-suite using python3: export PYTHON=%{_bindir}/python3
+  before running testr.
+- Replace all python2-* BuildRequires with their python3
+  equivalents.
+
+-------------------------------------------------------------------
+Thu Oct 10 13:32:59 UTC 2019 - Markos Chandras <[email protected]>
+
+- Update to 2.28.0
+  * Add NetworkManager and dhcp-client for CentOS 8
+  * Fix networking for CentOS 8
+  * simple-init: Use wrappers to call pip for glean install
+  * simple-init: default to NetworkManager for CentOS and Fedora
+  * Add security mirror override for debian-minimal
+  * pip-and-virtualenv : deprecate source for CentOS 8, new variables
+  * yum-minimal: Don't install yum, install libcurl
+  * Use $YUM instead of direct calls in more places
+  * Add environment switch for centos8 to use dnf
+  * Update redhat-common pkg-map for centos 8
+  * Update locales for Centos 8
+  * dib-python : handle centos 8
+  * yum-minimal : update mirrors for Centos 8
+  * Remove "failovermethod=priority" for Fedora (dnf)
+  * Install Python 3 libselinux packages for Fedora
+  * Revert "Fixed use of flake8"
+  * Only install doc requirements if needed
+  * Use x86 architeture specific grub2 packages for RHEL
+  * Move doc related modules to doc/requirements.txt
+
+-------------------------------------------------------------------
+Mon Sep  9 11:33:05 UTC 2019 - Markos Chandras <[email protected]>
+
+- Update to 2.27.0
+  * Uninstall linux-firmware and linux-firmware-whence
+  * Fixed use of flake8
+  * Allow configurable gzip binary name
+  * Do not delete cracklib from /usr/share
+  * Fedora 30 functional and boot tests
+  * rpm-distro: ensure we selinux relabel underlying directories
+  * Allow extra repositories to be added to images
+  * yum-minimal: install fedora-release-cloud
+
+-------------------------------------------------------------------
+Thu Aug 22 06:31:15 UTC 2019 - Markos Chandras <[email protected]>
+
+- Update to 2.26.1
+  * zypper-minimal: Don't get confused by etc/resolv.conf symlink
+  * simple-init: add configurable RA timeout with network-manager
+  * update gentoo systemd profile to 17.1 from 17.0
+  * block-device-efi : expand disk size calculation
+  * Don't show all elements found
+  * dracut-regenerate: catch failures and exit code
+  * Fixes packages for arm64 bootloader
+  * Fixes DIB_DISTRIBUTION_MIRROR_UBUNTU_IGNORE matching when empty
+  * Fix the pypi element for multiple mirror URLs
+  * Stop regex warning
+  * Create /etc/machine-id for RHEL images
+  * fix comments / spelling errors in gentoo element
+  * support alternate portage directories
+  * journal-to-console: element to send systemd journal to console
+  * update version of open-iscsi that is installed on musl
+  * Cleanup: remove useless statement
+
+-------------------------------------------------------------------
+Mon Jul 15 11:21:56 UTC 2019 - Markos Chandras <[email protected]>
+
+- Update to 2.25.0
+  * Only enable dbus-daemon on fedora-29
+  * Set router solicitation delay with using NM
+  * [RHEL-8] Set _clear_old_files=0 in install-pip element
+  * disable autounmask for emerge
+  * ironic-agent: Use targetcli & python3-devel on rhel8
+  * Mailing lists change openstack-dev to openstack-discuss
+  * install gnupg2 by default in debian-minimal
+  * set default sources conf for buster as it now has a release
+  * Enable nodepool testing for opensuse 15.1
+  * Replace nodepool func jobs
+  * Move existing Zuul project config to projects.yaml
+  * Move Zuul config in-repo
+  * Add DIB_UBUNTU_KERNEL to ubuntu-minimal
+  * Sync Sphinx requirement
+  * Update test coverage for openSUSE/-minimal to 15.1
+  * Remove the rhel 8 check for xfs
+  * debootstrap: make default network interface names configurable
+  * Move pypi to dib-python
+  * ironic-agent: install mdadm on the ramdisk
+  * Use architecture-specific grub2 RPMs on RHEL8
+  * Increase size of EFI system partition (again)
+  * bindep: exclude zypper from debian-stretch
+  * Makes image caching more resilient
+  * fail early when lates build information can not be fetched
+  * Deprecate rhel7 in favor of rhel
+  * Add version-less RHEL element for RHEL7 and RHEL8
+  * allow the use of non-bzip compressed stages for building gentoo
+  * Replace git.openstack.org URLs with opendev.org URLs
+  * Use megabyte granularity for image extra space
+  * bindep: add sudo
+  * Update test coverage for openSUSE/-minimal to 15.0
+  * Use fedora-release-common for fedora 30+
+  * openssh-server: harden sshd config
+  * Support defining the free space in the image
+  * Allow specification of filesystem journal size
+  * Document the various global filesystem options
+  * Add option to skip update packages
+
+-------------------------------------------------------------------
+Wed May 15 23:41:19 UTC 2019 - Jonathan Harker <[email protected]>
+
+- Upgrade to 2.22.0
+  * Only enable dbus-daemon for fedora-29 and below
+  * Switch simple-init to support python3
+  * openssh-server: harden sshd config
+  * Support defining the free space in the image
+  * Allow specification of filesystem journal size
+  * Document the various global filesystem options
+  * Constraint networkx to <2.3 for Python 2
+  * Fix Fedora aarch64 image location
+  * debian-minimal buster support
+  * Also use selinuxenabled to check selinux status
+
+-------------------------------------------------------------------
+Fri Apr 12 13:36:52 UTC 2019 - Markos Chandras <[email protected]>
+
+- Version bump to 2.21.0
+  * Minor clarifications in centos7 element docs
+  * Unmount internal mounts on finalise errors
+  * Add DIB_APT_MINIMAL_CREATE_INTERFACES toggle
+  * [lvm] Add Ubuntu bionic as supported distro
+
+-------------------------------------------------------------------
+Tue Mar 19 01:32:35 UTC 2019 - John Vandenberg <[email protected]>
+
+- Relax egg-info requirement flake8 >=2.5.4,<2.6.0 which is
+  incompatible with available flake8 3.x
+
+-------------------------------------------------------------------
+Fri Mar  1 15:40:31 UTC 2019 - Markos Chandras <[email protected]>
+
+- Version bump to 2.20.3
+  * Update gentoo-releng gpg key
+  * Fix opensuse 42.3 pip-and-virtualenv
+  * Keep git after ironic-agent post
+  * set rhel minor release
+  * update spelling errors
+
+-------------------------------------------------------------------
+Fri Feb 15 12:57:22 UTC 2019 - Markos Chandras <[email protected]>
+
+- Version bump to 2.20.1
+  * pip-and-virtualenv: handle centos image-based builds
+  * pip-and-virtualenv : only remove system files on centos
+  * Enable dbus-broker for Fedora 29
+  * fix systemd import-tar for gentoo
+  * Add python3-setuptools to bindep.txt for Fedora
+  * support cracklib in pam for Gentoo's musl profile
+  * Make sure $TMP_BUILD_DIR/mnt is owned by root
+  * change to python36 for gentoo
+  * source-repositories: Replace documentation http with https links
+  * Delete the duplicate words in  50-zipl
+  * Change phase to check for dracut-regenerate in iscsi-boot
+  * Add policycoreutils-python-utils to bindep
+  * Use template for lower-constraints
+  * simple-init: allow for NetworkManager support
+  * package-installs: provide for skip from env var
+  * Add an element to configure iBFT network interfaces
+  * move selinux-permissive configure to pre-install phase
+  * Update to Fedora 29
+  * Increase size of EFI system partition 
+
+-------------------------------------------------------------------
+Mon Nov  5 16:31:48 UTC 2018 - Markos Chandras <[email protected]>
+
+- Version bump to 2.18.0
+  * Add ubuntu-systemd-container operating-system element
+  * Turn on quiet mode when logfile specified
+  * Fix epel repo rewrite, add to testing
+  * Add a post-root.d phase
+  * Fix DIB_DISTRIBUTION_MIRROR_UBUNTU_IGNORE regex typo
+  * Add support for Fedora 28, remove EOL Fedora 26
+  * ubuntu: Add options to ignore mirror components and use insecure repos
+  * simplify overlay logic for Gentoo
+  * simplify python3.6 selection on gentoo
+  * Turn down pkg-map and hook copy tracing output
+  * enable caching for gentoo builds
+  * Add a pre-finalise.d phase
+  * Minor documentation updates
+  * Allow debootstrap to cleanup without a kernel
+  * Fail build due to missing kauditd only when SELinux is enabled
+  * Fix DIB ubuntu-minimal running on bionic (18.04)
+  * ubuntu-common: Update default DIB_RELEASE to bionic
+  * Move common ubuntu environment setting to ubuntu-common element
+  * allow building non-gentoo images on gentoo hosts
+
+-------------------------------------------------------------------
+Fri Sep 14 09:16:45 UTC 2018 - Markos Chandras <[email protected]>
++++ 47 more lines (skipped)
++++ between 
/work/SRC/openSUSE:Leap:15.2/diskimage-builder/diskimage-builder.changes
++++ and 
/work/SRC/openSUSE:Leap:15.2/.diskimage-builder.new.3606/diskimage-builder.changes

Old:
----
  diskimage-builder-2.15.1.tar.gz

New:
----
  diskimage-builder-2.28.0.tar.gz

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ diskimage-builder.spec ++++++
--- /var/tmp/diff_new_pack.UaLRNZ/_old  2020-06-01 12:10:01.962476504 +0200
+++ /var/tmp/diff_new_pack.UaLRNZ/_new  2020-06-01 12:10:01.966476517 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package diskimage-builder
 #
-# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2020 SUSE LLC
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -12,77 +12,80 @@
 # license that conforms to the Open Source Definition (Version 1.9)
 # published by the Open Source Initiative.
 
-# Please submit bugfixes or comments via http://bugs.opensuse.org/
+# Please submit bugfixes or comments via https://bugs.opensuse.org/
 #
 
 
 # Prevent shebangs of element scripts from being added as a requirement (they
 # are only ever run inside the disk image build chroot).
-
-%global         __requires_exclude_from 
^%{python_sitelib}/diskimage_builder/elements/.*$
+%global         __requires_exclude_from 
^%{python3_sitelib}/diskimage_builder/elements/.*$
 Name:           diskimage-builder
-Version:        2.15.1
+Version:        2.28.0
 Release:        0
 Summary:        Image Building Tools for OpenStack
 License:        Apache-2.0
 Group:          Development/Languages/Python
-Url:            https://github.com/openstack/diskimage-builder
+URL:            https://github.com/openstack/diskimage-builder
 Source0:        
https://pypi.io/packages/source/d/%{name}/%{name}-%{version}.tar.gz
 Source99:       diskimage-builder-rpmlintrc
 BuildRequires:  fdupes
 BuildRequires:  findutils
-BuildRequires:  python-PyYAML >= 3.10.0
-BuildRequires:  python-devel
-BuildRequires:  python2-networkx >= 1.10
-# Test requirements:
-BuildRequires:  python-fixtures
-BuildRequires:  python-oslotest
-BuildRequires:  python-pbr >= 2.0.0
-BuildRequires:  python-setuptools
-BuildRequires:  python-stevedore >= 1.20.0
-BuildRequires:  python-testrepository
-BuildRequires:  python-testtools
+BuildRequires:  python3-PyYAML >= 3.10.0
+BuildRequires:  python3-fixtures
+BuildRequires:  python3-networkx >= 1.10
+BuildRequires:  python3-oslotest
+BuildRequires:  python3-pbr >= 2.0.0
+BuildRequires:  python3-setuptools
+BuildRequires:  python3-stevedore >= 1.20.0
+BuildRequires:  python3-testrepository
+BuildRequires:  python3-testtools
 BuildRequires:  sed
 # No stuff in python_sitelib, thus autoreqprov won't work:
 Requires:       kpartx
-Requires:       python-Babel >= 2.3.4
-Requires:       python-PyYAML >= 3.10.0
-Requires:       python-six >= 1.10.0
-Requires:       python-stevedore >= 1.20.0
-Requires:       python2-networkx >= 1.10
+Requires:       python3-Babel >= 2.3.4
+Requires:       python3-PyYAML >= 3.10.0
+Requires:       python3-networkx >= 1.10
+Requires:       python3-six >= 1.10.0
+Requires:       python3-stevedore >= 1.20.0
 Requires:       qemu-tools
-Requires:       python(abi) = %{py_ver}
-# diskimage-builder-2.0.0 was merged with python-dib-utils
-Provides:       python-dib-utils = %version
-Obsoletes:      python-dib-utils < %version
-BuildRoot:      %{_tmppath}/%{name}-%{version}-build
+Requires:       sudo
 BuildArch:      noarch
 
 %description
-These tools are the components of TripleO
-(https://wiki.openstack.org/wiki/TripleO) that are responsible for
-building disk images.
+diskimage-builder is a tool for automatically building customized
+operating-system images for use in clouds and other environments.
+
+It includes support for building images based on many major
+distributions and can produce cloud-images in all common formats
+(qcow2, vhd, raw, etc), bare metal file-system images and ram-disk
+images. These images are composed from the many included elements;
+diskimage-builder acts as a framework to easily add your own elements
+for even further customization.
 
 %prep
 %setup -q
+# Remove <2.6.0 which is incompatible with python-flake8
+# dib-lint uses flake8, but does not appear incompatible with flake8 v3.x
+sed -i 's/^flake8<.*/flake8/' requirements.txt
+
 # Fix env-script-interpreter rpmlint warning
 find diskimage_builder/elements -type f -perm /a+x \
-       -exec sh -c "sed -E -i 
s@^#\!/usr/bin/env[[:space:]]+python@#\!/usr/bin/python@ {}" \;
+       -exec sh -c "sed -E -i 
s@^#\!%{_bindir}/env[[:space:]]+python@#\!%{_bindir}/python@ {}" \;
 
 %build
-%{__python2} setup.py build
+%python3_build
 
 %install
-%{__python2} setup.py install --prefix=%{_prefix} --root=%{buildroot}
+%python3_install
+%py3_compile %{buildroot}
 %fdupes %{buildroot}
-%py_compile %{buildroot}
 
 %check
+export PYTHON=%{_bindir}/python3
 if [ ! -d ./.testrepository ] ; then testr init ; fi
 testr run %{?_smp_mflags:--parallel %{_smp_flags}} #; RET=$? echo "Slowest 
Tests" ; testr slowest && exit $RET
 
 %files
-%defattr(-,root,root,-)
 %doc ChangeLog README.rst AUTHORS
 %license LICENSE
 %{_bindir}/dib-block-device
@@ -90,7 +93,7 @@
 %{_bindir}/dib-lint
 %{_bindir}/element-info
 %{_bindir}/ramdisk-image-create
-%{python_sitelib}/diskimage_builder/
-%{python_sitelib}/diskimage_builder*.egg-info/
+%{python3_sitelib}/diskimage_builder/
+%{python3_sitelib}/diskimage_builder*.egg-info/
 
 %changelog

++++++ diskimage-builder-2.15.1.tar.gz -> diskimage-builder-2.28.0.tar.gz ++++++
++++ 11435 lines of diff (skipped)

++++++ diskimage-builder-rpmlintrc ++++++
--- /var/tmp/diff_new_pack.UaLRNZ/_old  2020-06-01 12:10:02.254477422 +0200
+++ /var/tmp/diff_new_pack.UaLRNZ/_new  2020-06-01 12:10:02.254477422 +0200
@@ -1,6 +1,6 @@
 # /usr/local/bin/dib-python interpreter is only used inside
 # the generated image so it's not something that affects the
 # host or the package itself.
-addFilter(".*wrong-script-interpreter.*/usr/lib/python2.7/site-packages/diskimage_builder/elements/.*")
+addFilter(".*wrong-script-interpreter.*/usr/lib/python3.*/site-packages/diskimage_builder/elements/.*")
 # lib/* scripts are not meant to be used directly but rather be sourced by 
others.
-addFilter(".*non-executable-script.*/usr/lib/python2.7/site-packages/diskimage_builder/lib/.*")
+addFilter(".*non-executable-script.*/usr/lib/python3.*/site-packages/diskimage_builder/lib/.*")


Reply via email to