Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package python-oslo.policy for 
openSUSE:Factory checked in at 2025-11-10 19:18:04
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-oslo.policy (Old)
 and      /work/SRC/openSUSE:Factory/.python-oslo.policy.new.1980 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-oslo.policy"

Mon Nov 10 19:18:04 2025 rev:24 rq:1316852 version:4.6.0

Changes:
--------
--- /work/SRC/openSUSE:Factory/python-oslo.policy/python-oslo.policy.changes    
2024-03-25 21:17:48.490590403 +0100
+++ 
/work/SRC/openSUSE:Factory/.python-oslo.policy.new.1980/python-oslo.policy.changes
  2025-11-10 19:18:28.363192940 +0100
@@ -1,0 +2,35 @@
+Sun Nov  9 17:49:10 UTC 2025 - Dirk Müller <[email protected]>
+
+- update to 4.6.0:
+  * add pyproject.toml to support pip 23.1
+  * tox: Remove basepython
+  * Skip cross jobs for .gitreview update
+  * Update master for stable/2025.1
+- switch to singlespec
+
+-------------------------------------------------------------------
+Tue Jul  1 22:01:55 UTC 2025 - Dirk Müller <[email protected]>
+
+- update to 4.5.1:
+  * Skip installation to speed up pep8
+  * Skip cross jobs for non-functional update
+  * reno: Update master for unmaintained/2023.1
+  * Add note about requirements lower bounds
+  * Run pyupgrade to clean up Python 2 syntaxes
+  * Use native pre-commit hook for hacking
+  * Drop python 3.8 support
+  * Declare Python 3.12 support
+  * Switch default policy\_file
+  * Update master for stable/2024.2
+  * Add timeout in HTTP requests
+  * pre-commit: Bump versions and integrate bandit
+  * Enable enforce\_scope and enforce\_new\_defaults by default
+  * reno: Update master for unmaintained/zed
+  * Remove old excludes
+  * Update master for stable/2024.1
+  * reno: Update master for unmaintained/xena
+  * reno: Update master for unmaintained/wallaby
+  * reno: Update master for unmaintained/victoria
+  * Remove fallback to DEFAULT section
+
+-------------------------------------------------------------------

Old:
----
  _service
  oslo.policy-4.3.0.tar.gz

New:
----
  oslo_policy-4.6.0.tar.gz

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

Other differences:
------------------
++++++ python-oslo.policy.spec ++++++
--- /var/tmp/diff_new_pack.ZbbOlM/_old  2025-11-10 19:18:29.027220758 +0100
+++ /var/tmp/diff_new_pack.ZbbOlM/_new  2025-11-10 19:18:29.031220926 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package python-oslo.policy
 #
-# Copyright (c) 2024 SUSE LLC
+# Copyright (c) 2025 SUSE LLC and contributors
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -17,53 +17,48 @@
 
 
 Name:           python-oslo.policy
-Version:        4.3.0
+Version:        4.6.0
 Release:        0
 Summary:        OpenStack Oslo Policy library
 License:        Apache-2.0
 Group:          Development/Languages/Python
 URL:            https://docs.openstack.org/oslo.policy
-Source0:        
https://files.pythonhosted.org/packages/source/o/oslo.policy/oslo.policy-4.3.0.tar.gz
+Source0:        
https://files.pythonhosted.org/packages/source/o/oslo_policy/oslo_policy-%{version}.tar.gz
+BuildRequires:  %{python_module PyYAML >= 5.1}
+BuildRequires:  %{python_module defusedxml}
+BuildRequires:  %{python_module oslo.config >= 6.0.0}
+BuildRequires:  %{python_module oslo.context >= 2.22.0}
+BuildRequires:  %{python_module oslo.i18n >= 3.15.3}
+BuildRequires:  %{python_module oslo.serialization >= 2.18.0}
+BuildRequires:  %{python_module oslo.utils >= 3.40.0}
+BuildRequires:  %{python_module oslotest}
+BuildRequires:  %{python_module pip}
+BuildRequires:  %{python_module requests >= 2.14.2}
+BuildRequires:  %{python_module requests-mock}
+BuildRequires:  %{python_module stestr}
+BuildRequires:  %{python_module wheel}
 BuildRequires:  openstack-macros
-BuildRequires:  python3-PyYAML >= 5.1
-BuildRequires:  python3-defusedxml
-BuildRequires:  python3-oslo.config >= 6.0.0
-BuildRequires:  python3-oslo.context >= 2.22.0
-BuildRequires:  python3-oslo.i18n >= 3.15.3
-BuildRequires:  python3-oslo.serialization >= 2.18.0
-BuildRequires:  python3-oslo.utils >= 3.40.0
-BuildRequires:  python3-oslotest
-BuildRequires:  python3-pbr
-BuildRequires:  python3-requests >= 2.14.2
-BuildRequires:  python3-requests-mock
-BuildRequires:  python3-stestr
+Requires:       python-PyYAML >= 5.1
+Requires:       python-defusedxml
+Requires:       python-oslo.config >= 6.0.0
+Requires:       python-oslo.context >= 2.22.0
+Requires:       python-oslo.i18n >= 3.15.3
+Requires:       python-oslo.serialization >= 2.18.0
+Requires:       python-oslo.utils >= 3.40.0
+Requires:       python-requests >= 2.14.2
+Requires:       python-stevedore >= 1.20.0
 BuildArch:      noarch
-
-%description
-The OpenStack Oslo Policy library.
-RBAC policy enforcement library for OpenStack.
-
-%package -n python3-oslo.policy
-Summary:        OpenStack Oslo Policy library
-Requires:       python3-PyYAML >= 5.1
-Requires:       python3-defusedxml
-Requires:       python3-oslo.config >= 6.0.0
-Requires:       python3-oslo.context >= 2.22.0
-Requires:       python3-oslo.i18n >= 3.15.3
-Requires:       python3-oslo.serialization >= 2.18.0
-Requires:       python3-oslo.utils >= 3.40.0
-Requires:       python3-requests >= 2.14.2
-Requires:       python3-stevedore >= 1.20.0
-%if 0%{?suse_version}
-Obsoletes:      python2-oslo.policy < 2.4.1
+%if "python%{python_nodots_ver}" == "%{primary_python}"
+Obsoletes:      python3-oslo.policy < %{version}
+%else
+Conflicts:      python3-oslo.policy < %{version}
 %endif
+%python_subpackages
 
-%description -n python3-oslo.policy
+%description
 The OpenStack Oslo Policy library.
 RBAC policy enforcement library for OpenStack.
 
-This package contains the Python 3.x module.
-
 %package -n python-oslo.policy-doc
 Summary:        Documentation for the Oslo Policy library
 Group:          Documentation/HTML
@@ -75,35 +70,69 @@
 Documentation for the Oslo Policy library.
 
 %prep
-%autosetup -p1 -n oslo.policy-4.3.0
-%py_req_cleanup
+%autosetup -p1 -n oslo_policy-%{version}
 
 %build
-%{py3_build}
+%pyproject_wheel
 
 # generate html docs
-PBR_VERSION=%{version} %sphinx_build -b html doc/source doc/build/html
+PBR_VERSION=%{version} sphinx-build -b html doc/source doc/build/html
 # remove the sphinx-build leftovers
 rm -rf doc/build/html/.{doctrees,buildinfo}
 
 %install
-%{py3_install}
+%pyproject_install
+
+%python_clone -a %{buildroot}%{_bindir}/oslopolicy-checker
+%python_clone -a %{buildroot}%{_bindir}/oslopolicy-convert-json-to-yaml
+%python_clone -a %{buildroot}%{_bindir}/oslopolicy-list-redundant
+%python_clone -a %{buildroot}%{_bindir}/oslopolicy-policy-generator
+%python_clone -a %{buildroot}%{_bindir}/oslopolicy-sample-generator
+%python_clone -a %{buildroot}%{_bindir}/oslopolicy-policy-upgrade
+%python_clone -a %{buildroot}%{_bindir}/oslopolicy-validator
+
+%pre
+%python_libalternatives_reset_alternative oslopolicy-checker
+%python_libalternatives_reset_alternative oslopolicy-convert-json-to-yaml
+%python_libalternatives_reset_alternative oslopolicy-list-redundant
+%python_libalternatives_reset_alternative oslopolicy-policy-generator
+%python_libalternatives_reset_alternative oslopolicy-sample-generator
+%python_libalternatives_reset_alternative oslopolicy-policy-upgrade
+%python_libalternatives_reset_alternative oslopolicy-validator
+
+%post
+%python_install_alternative oslopolicy-checker
+%python_install_alternative oslopolicy-convert-json-to-yaml
+%python_install_alternative oslopolicy-list-redundant
+%python_install_alternative oslopolicy-policy-generator
+%python_install_alternative oslopolicy-sample-generator
+%python_install_alternative oslopolicy-policy-upgrade
+%python_install_alternative oslopolicy-validator
+
+%postun
+%python_uninstall_alternative oslopolicy-checker
+%python_uninstall_alternative oslopolicy-convert-json-to-yaml
+%python_uninstall_alternative oslopolicy-list-redundant
+%python_uninstall_alternative oslopolicy-policy-generator
+%python_uninstall_alternative oslopolicy-sample-generator
+%python_uninstall_alternative oslopolicy-policy-upgrade
+%python_uninstall_alternative oslopolicy-validator
 
 %check
 %{openstack_stestr_run}
 
-%files  -n python3-oslo.policy
+%files %{python_files}
 %license LICENSE
 %doc README.rst
-%{_bindir}/oslopolicy-checker
-%{_bindir}/oslopolicy-convert-json-to-yaml
-%{_bindir}/oslopolicy-list-redundant
-%{_bindir}/oslopolicy-policy-generator
-%{_bindir}/oslopolicy-sample-generator
-%{_bindir}/oslopolicy-policy-upgrade
-%{_bindir}/oslopolicy-validator
-%{python3_sitelib}/oslo_policy
-%{python3_sitelib}/*.egg-info
+%python_alternative %{_bindir}/oslopolicy-checker
+%python_alternative %{_bindir}/oslopolicy-convert-json-to-yaml
+%python_alternative %{_bindir}/oslopolicy-list-redundant
+%python_alternative %{_bindir}/oslopolicy-policy-generator
+%python_alternative %{_bindir}/oslopolicy-sample-generator
+%python_alternative %{_bindir}/oslopolicy-policy-upgrade
+%python_alternative %{_bindir}/oslopolicy-validator
+%{python_sitelib}/oslo_policy
+%{python_sitelib}/oslo_policy-%{version}.dist-info
 
 %files -n python-oslo.policy-doc
 %license LICENSE

Reply via email to