Hello community,
here is the log from the commit of package python-oslo.policy for
openSUSE:Factory checked in at 2018-01-17 21:59:14
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-oslo.policy (Old)
and /work/SRC/openSUSE:Factory/.python-oslo.policy.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-oslo.policy"
Wed Jan 17 21:59:14 2018 rev:6 rq:566876 version:1.33.1
Changes:
--------
--- /work/SRC/openSUSE:Factory/python-oslo.policy/python-oslo.policy.changes
2017-08-28 15:30:15.886258324 +0200
+++
/work/SRC/openSUSE:Factory/.python-oslo.policy.new/python-oslo.policy.changes
2018-01-17 21:59:56.458630536 +0100
@@ -1,0 +2,34 @@
+Wed Jan 17 12:01:33 UTC 2018 - [email protected]
+
+- convert to singlespec
+
+-------------------------------------------------------------------
+Mon Jan 15 11:57:49 UTC 2018 - [email protected]
+
+- update to version 1.33.1
+ - Fix string injection for InvalidScope
+ - Imported Translations from Zanata
+ - Avoid tox_install.sh for constraints support
+ - add bandit to pep8 job
+ - Add JSON output option to sample generator
+ - External Policy hook should support SSL
+ - rewrite HttpCheckFixture to not mock out entire HttpCheck class
+ - http/https check rules as stevedore extensions
+ - Add functionality to deprecate policies
+ - Handle deprecation of inspect.getargspec
+ - Documentation and release notes for plugins
+ - Remove -U from pip install
+ - Modification to add additional information in the HTTPCheck request.
+ - fix formatting for empty defaults
+ - Add scope_types to RuleDefault objects
+ - Pass creds as a dict in tests
+ - Only log deprecation warnings when they are overridden
+ - throw an exception when sphinxext cannot find the config file
+ - Update reno for stable/pike
+ - Remove setting of version/release from releasenotes
+ - expand type documentation for Enforcer arguments
+ - Add configuration option for enforcing scope
+ - Updated from global requirements
+ - Add a release note for enforce_scope
+
+-------------------------------------------------------------------
Old:
----
oslo.policy-1.25.1.tar.gz
New:
----
oslo.policy-1.33.1.tar.gz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ python-oslo.policy.spec ++++++
--- /var/tmp/diff_new_pack.wikekG/_old 2018-01-17 21:59:57.074601664 +0100
+++ /var/tmp/diff_new_pack.wikekG/_new 2018-01-17 21:59:57.074601664 +0100
@@ -1,7 +1,7 @@
#
# spec file for package python-oslo.policy
#
-# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -16,53 +16,71 @@
#
-%global sname oslo.policy
Name: python-oslo.policy
-Version: 1.25.1
+Version: 1.33.1
Release: 0
Summary: OpenStack Oslo Policy library
License: Apache-2.0
Group: Development/Languages/Python
-Url: https://launchpad.net/%sname
-Source0:
https://pypi.io/packages/source/o/%{sname}/%{sname}-%{version}.tar.gz
+Url: https://launchpad.net/oslo.policy
+Source0:
https://files.pythonhosted.org/packages/source/o/oslo.policy/oslo.policy-1.33.1.tar.gz
BuildRequires: openstack-macros
-BuildRequires: python-PyYAML >= 3.10.0
BuildRequires: python-devel
-BuildRequires: python-oslo.config >= 4.0.0
-BuildRequires: python-oslo.i18n >= 2.1.0
-BuildRequires: python-oslo.serialization >= 1.10.0
-BuildRequires: python-oslotest >= 1.10.0
-BuildRequires: python-pbr >= 2.0.0
-BuildRequires: python-requests >= 2.14.2
-BuildRequires: python-requests-mock >= 1.1
-Requires: python-PyYAML >= 3.10.0
-Requires: python-oslo.config >= 4.0.0
-Requires: python-oslo.i18n >= 2.1.0
-Requires: python-oslo.serialization >= 1.10.0
+BuildRequires: python2-PyYAML >= 3.10
+BuildRequires: python2-oslo.config >= 4.6.0
+BuildRequires: python2-oslo.i18n >= 3.15.3
+BuildRequires: python2-oslo.serialization >= 2.18.0
+BuildRequires: python2-oslotest >= 1.10.0
+BuildRequires: python2-pbr >= 2.0.0
+BuildRequires: python2-requests >= 2.14.2
+BuildRequires: python2-requests-mock >= 1.1.0
+BuildRequires: python3-PyYAML >= 3.10
+BuildRequires: python3-devel
+BuildRequires: python3-oslo.config >= 4.6.0
+BuildRequires: python3-oslo.i18n >= 3.15.3
+BuildRequires: python3-oslo.serialization >= 2.18.0
+BuildRequires: python3-oslotest >= 1.10.0
+BuildRequires: python3-pbr >= 2.0.0
+BuildRequires: python3-requests >= 2.14.2
+BuildRequires: python3-requests-mock >= 1.1.0
+Requires: python-PyYAML >= 3.10
+Requires: python-oslo.config >= 4.6.0
+Requires: python-oslo.i18n >= 3.15.3
+Requires: python-oslo.serialization >= 2.18.0
Requires: python-requests >= 2.14.2
-Requires: python-six >= 1.9.0
+Requires: python-six >= 1.10.0
+Requires: python-stevedore >= 1.20.0
BuildArch: noarch
+%if 0%{?suse_version}
+Requires(post): update-alternatives
+Requires(postun): update-alternatives
+%else
+# on RDO, update-alternatives is in chkconfig
+Requires(post): chkconfig
+Requires(postun): chkconfig
+%endif
+%python_subpackages
%description
The OpenStack Oslo Policy library.
RBAC policy enforcement library for OpenStack.
-%package doc
+%package -n python-oslo.policy-doc
Summary: Documentation for the Oslo Policy library
-Group: Documentation
+Group: Documentation/HTML
BuildRequires: python-Sphinx
-BuildRequires: python-openstackdocstheme >= 1.11.0
+BuildRequires: python-openstackdocstheme >= 1.17.0
-%description doc
+%description -n python-oslo.policy-doc
Documentation for the Oslo Policy library.
%prep
-%autosetup -n %{sname}-%{version}
+%autosetup -p1 -n oslo.policy-1.33.1
%py_req_cleanup
sed -i 's/^warning-is-error.*/warning-is-error = 0/g' setup.cfg
%build
-%{py2_build}
+%{python_build}
# generate html docs
%{__python2} setup.py build_sphinx
@@ -70,22 +88,34 @@
rm -rf doc/build/html/.{doctrees,buildinfo}
%install
-%{py2_install}
+%{python_install}
+%python_clone -a %{buildroot}%{_bindir}/oslopolicy-checker
+%python_clone -a %{buildroot}%{_bindir}/oslopolicy-list-redundant
+%python_clone -a %{buildroot}%{_bindir}/oslopolicy-policy-generator
+%python_clone -a %{buildroot}%{_bindir}/oslopolicy-sample-generator
+
+%post
+%{python_install_alternative oslopolicy-checker oslopolicy-list-redundant
oslopolicy-policy-generator oslopolicy-sample-generator}
+
+%postun
+%python_uninstall_alternative oslopolicy-checker
%check
-%{__python2} setup.py testr
+%{python_expand rm -rf .testrepository
+python setup.py testr
+}
-%files
+%files %{python_files}
%license LICENSE
%doc README.rst
-%{_bindir}/oslopolicy-checker
-%{_bindir}/oslopolicy-list-redundant
-%{_bindir}/oslopolicy-policy-generator
-%{_bindir}/oslopolicy-sample-generator
-%{python2_sitelib}/oslo_policy
-%{python2_sitelib}/*.egg-info
+%python_alternative %{_bindir}/oslopolicy-checker
+%python_alternative %{_bindir}/oslopolicy-list-redundant
+%python_alternative %{_bindir}/oslopolicy-policy-generator
+%python_alternative %{_bindir}/oslopolicy-sample-generator
+%{python_sitelib}/oslo_policy
+%{python_sitelib}/*.egg-info
-%files doc
+%files -n python-oslo.policy-doc
%license LICENSE
%doc doc/build/html
++++++ _service ++++++
--- /var/tmp/diff_new_pack.wikekG/_old 2018-01-17 21:59:57.106600164 +0100
+++ /var/tmp/diff_new_pack.wikekG/_new 2018-01-17 21:59:57.110599977 +0100
@@ -1,8 +1,8 @@
<services>
<service mode="disabled" name="renderspec">
- <param
name="input-template">https://raw.githubusercontent.com/openstack/rpm-packaging/stable/pike/openstack/oslo.policy/oslo.policy.spec.j2</param>
+ <param
name="input-template">https://raw.githubusercontent.com/openstack/rpm-packaging/master/openstack/oslo.policy/oslo.policy.spec.j2</param>
<param name="output-name">python-oslo.policy.spec</param>
- <param
name="requirements">https://raw.githubusercontent.com/openstack/rpm-packaging/stable/pike/global-requirements.txt</param>
+ <param
name="requirements">https://raw.githubusercontent.com/openstack/rpm-packaging/master/requirements.txt</param>
<param name="changelog-email">[email protected]</param>
<param name="changelog-provider">gh,openstack,oslo.policy</param>
</service>
++++++ oslo.policy-1.25.1.tar.gz -> oslo.policy-1.33.1.tar.gz ++++++
++++ 3815 lines of diff (skipped)