From 88a27c8087d8f6086ec2515caad98d8770da374d29f2048feae8e22eba657d30 Mon Sep 17 00:00:00 2001 From: Dirk Mueller Date: Sat, 6 Jan 2024 20:21:02 +0000 Subject: [PATCH] - update to 1.23.0: * redhat-ish platforms: refactor simplification of interface writing * tests: stub out fields * testing: add vexxhost sample config * redhat-ish platforms: handle ipv6\_slaac metadata * redhat-ish platforms: use IPV6\_DEFAULTGW * redhat-ish platforms: write out ipv6 configuration * tests: symlink same files together * \_network\_info: refactor to add ipv4 info at the end * \_network\_info: Clean up TYPE=Ethernet handling * write\_redhat\_interfaces: pass multiple networks to output functions * write\_redhat\_interfaces: refactor to walk interfaces first * Revert "Add option to ignore config drive interfaces info" * Handle udev move events in addition to add events * Install older voluptuous on py27 due to import error * Remove rebuild-test-output.sh * Add Rocky Linux support * distro: sync to 3.6 * testing: drop centos-8, add 8-stream and 9-stream * Remove debian-stable, add focal/bullseye testing * Remove Fedora 32 job * Cleanup glean.sh variable names * Run a glean-early service to mount configdrive * Create "legacy" script path * Stop requiring /usr/local/bin links for glean.sh * Move to Zuul standard hacking rules * Update hacking and fix pep8 violations * Fix Gentoo "is" comparisons OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-glean?expand=0&rev=18 --- glean-1.19.0.tar.gz | 3 --- glean-1.23.0.tar.gz | 3 +++ python-glean.changes | 34 ++++++++++++++++++++++++++++++++++ python-glean.spec | 27 ++++++++++++--------------- 4 files changed, 49 insertions(+), 18 deletions(-) delete mode 100644 glean-1.19.0.tar.gz create mode 100644 glean-1.23.0.tar.gz diff --git a/glean-1.19.0.tar.gz b/glean-1.19.0.tar.gz deleted file mode 100644 index 35e5775..0000000 --- a/glean-1.19.0.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:7e75bff419eedf461034c6a5e0c283483db24b4669846a177ea8c07ee5dc5ccf -size 68806 diff --git a/glean-1.23.0.tar.gz b/glean-1.23.0.tar.gz new file mode 100644 index 0000000..4f0d74c --- /dev/null +++ b/glean-1.23.0.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:7d998ba457c3a957edca9acfcf10df0f50e82c5ead39f25780c301f03d2d95f7 +size 76426 diff --git a/python-glean.changes b/python-glean.changes index 20b6687..8083e71 100644 --- a/python-glean.changes +++ b/python-glean.changes @@ -1,3 +1,37 @@ +------------------------------------------------------------------- +Sat Jan 6 20:15:08 UTC 2024 - Dirk Müller + +- update to 1.23.0: + * redhat-ish platforms: refactor simplification of interface + writing + * tests: stub out fields + * testing: add vexxhost sample config + * redhat-ish platforms: handle ipv6\_slaac metadata + * redhat-ish platforms: use IPV6\_DEFAULTGW + * redhat-ish platforms: write out ipv6 configuration + * tests: symlink same files together + * \_network\_info: refactor to add ipv4 info at the end + * \_network\_info: Clean up TYPE=Ethernet handling + * write\_redhat\_interfaces: pass multiple networks to output + functions + * write\_redhat\_interfaces: refactor to walk interfaces first + * Revert "Add option to ignore config drive interfaces info" + * Handle udev move events in addition to add events + * Install older voluptuous on py27 due to import error + * Remove rebuild-test-output.sh + * Add Rocky Linux support + * distro: sync to 3.6 + * testing: drop centos-8, add 8-stream and 9-stream + * Remove debian-stable, add focal/bullseye testing + * Remove Fedora 32 job + * Cleanup glean.sh variable names + * Run a glean-early service to mount configdrive + * Create "legacy" script path + * Stop requiring /usr/local/bin links for glean.sh + * Move to Zuul standard hacking rules + * Update hacking and fix pep8 violations + * Fix Gentoo "is" comparisons + ------------------------------------------------------------------- Wed Aug 25 10:08:30 UTC 2021 - John Paul Adrian Glaubitz diff --git a/python-glean.spec b/python-glean.spec index edb2b31..aa4c078 100644 --- a/python-glean.spec +++ b/python-glean.spec @@ -1,7 +1,7 @@ # # spec file for package python-glean # -# Copyright (c) 2021 SUSE LLC +# Copyright (c) 2024 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -18,7 +18,7 @@ %{?!python_module:%define python_module() python-%{**} python3-%{**}} Name: python-glean -Version: 1.19.0 +Version: 1.23.0 Release: 0 Summary: Program to write static config from config-drive License: Apache-2.0 @@ -26,11 +26,13 @@ Group: Development/Languages/Python URL: https://opendev.org/opendev/glean Source: https://files.pythonhosted.org/packages/source/g/glean/glean-%{version}.tar.gz BuildRequires: %{python_module pbr} +BuildRequires: %{python_module pip} BuildRequires: %{python_module setuptools} +BuildRequires: %{python_module wheel} BuildRequires: fdupes BuildRequires: python-rpm-macros Requires(post): update-alternatives -Requires(postun): update-alternatives +Requires(postun):update-alternatives BuildArch: noarch # SECTION test requirements # The OpenStack package oslotest is only available for the primary python3 flavor on TW. @@ -54,13 +56,12 @@ notably Rackspace, use configuration provided via a configuration drive. %setup -q -n glean-%{version} %build -%python_build +%pyproject_wheel %install -%python_install -%python_clone -a %{buildroot}%{_bindir}/glean-install +%pyproject_install %python_clone -a %{buildroot}%{_bindir}/glean -%python_clone -a %{buildroot}%{_bindir}/glean.sh +%python_clone -a %{buildroot}%{_bindir}/glean-install %python_expand %fdupes %{buildroot}%{$python_sitelib} %check @@ -69,21 +70,17 @@ export PYTHON=%{_bindir}/python3 python3 setup.py testr %post -%python_install_alternative glean-install -%python_install_alternative glean -%python_install_alternative glean.sh +%python_install_alternative glean glean-install %postun -%python_uninstall_alternative glean-install -%python_uninstall_alternative glean -%python_uninstall_alternative glean.sh +%python_uninstall_alternative glean glean-install %files %{python_files} %doc AUTHORS ChangeLog README.rst %license LICENSE -%python_alternative %{_bindir}/glean.sh %python_alternative %{_bindir}/glean %python_alternative %{_bindir}/glean-install -%{python_sitelib}/* +%{python_sitelib}/glean +%{python_sitelib}/glean-%{version}.dist-info %changelog