15
0
forked from pool/python-glean

- 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
This commit is contained in:
2024-01-06 20:21:02 +00:00
committed by Git OBS Bridge
parent a22e2eb25a
commit 88a27c8087
4 changed files with 49 additions and 18 deletions

View File

@@ -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