Hello community,
here is the log from the commit of package python-oslo.policy for
openSUSE:Factory checked in at 2016-05-19 12:14:41
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-oslo.policy (Old)
and /work/SRC/openSUSE:Factory/.python-oslo.policy.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-oslo.policy"
Changes:
--------
--- /work/SRC/openSUSE:Factory/python-oslo.policy/python-oslo.policy.changes
2015-10-30 13:43:21.000000000 +0100
+++
/work/SRC/openSUSE:Factory/.python-oslo.policy.new/python-oslo.policy.changes
2016-05-19 12:14:42.000000000 +0200
@@ -1,0 +2,55 @@
+Thu Mar 3 07:36:56 UTC 2016 - [email protected]
+
+- update to 1.5.0:
+ * Updated from global requirements
+ * Update translation setup
+ * Updated from global requirements
+ * Updated from global requirements
+ * Updated from global requirements
+ * Updated from global requirements
+ * Revert "Pass environment variables of proxy to tox"
+ * Run docs testenv by default with tox
+ * Add oslopolicy-checker command-line tool
+ * Updated from global requirements
+ * Don't crash on RoleCheck when roles not present
+ * assertIsNone(val) instead of assertEqual(None,val)
+ * Updated from global requirements
+ * Add string format rendering to RoleCheck.__call__()
+ * Pass environment variables of proxy to tox
+ * Fixes combined "and" and "or" rule handling
+ * Make sure item of policy_dirs is directory
+ * Updated from global requirements
+ * Use dict comprehension
+ * Don't generate doc from test
+ * Trival: Remove 'MANIFEST.in'
+ * Updated from global requirements
+ * Updated from global requirements
+ * Updated from global requirements
+ * Use requests-mock instead of httpretty in tests
+ * Clarify usage docs
+ * Correct invalid doc references
+ * Updated from global requirements
+ * Remove Python 2.6 classifier
+ * Remove python 2.6 and cleanup tox.ini
+ * Updated from global requirements
+ * Updated from global requirements
+ * Updated from global requirements
+ * Use JSON generator
+ * Add test for enforce with rule doesn't exist
+ * Add test for raising default exception
+ * Add test for invalid JSON
+ * Add cover test requirement
+ * Fix a typo in policy.py
+ * Updated from global requirements
+ * Custom fixture to avoid external call in HttpCheck
+ * Fix coverage configuration and execution
+ * add auto-generated docs for config options
+ * Add shields.io version/downloads links/badges into README.rst
+ * Updated from global requirements
+ * Use requests in http check instead of urllib
+ * Change ignore-errors to ignore_errors
+ * Updated from global requirements
+ * remove deprecation text for policy_dirs option
+- Switch to .spec from rpm-packaging upstream project
+
+-------------------------------------------------------------------
Old:
----
oslo.policy-0.11.0.tar.gz
New:
----
oslo.policy-1.5.0.tar.gz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ python-oslo.policy.spec ++++++
--- /var/tmp/diff_new_pack.iIFlTC/_old 2016-05-19 12:14:43.000000000 +0200
+++ /var/tmp/diff_new_pack.iIFlTC/_new 2016-05-19 12:14:43.000000000 +0200
@@ -1,7 +1,7 @@
#
# spec file for package python-oslo.policy
#
-# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2016 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,54 +16,73 @@
#
+%global sname oslo.policy
+
Name: python-oslo.policy
-Version: 0.11.0
+Version: 1.5.0
Release: 0
-Summary: RBAC policy enforcement library for OpenStack
+Summary: OpenStack Oslo Policy library
License: Apache-2.0
-Group: Development/Languages/Python
-Url: http://launchpad.net/oslo.policy
-Source:
https://pypi.python.org/packages/source/o/oslo.policy/oslo.policy-%{version}.tar.gz
+Group: Documentation
+Url: https://launchpad.net/%sname
+Source0:
https://pypi.python.org/packages/source/o/%{sname}/%{sname}-%{version}.tar.gz
+BuildRequires: openstack-macros
BuildRequires: python-devel
+BuildRequires: python-oslo.config >= 3.4.0
+BuildRequires: python-oslo.i18n >= 2.1.0
+BuildRequires: python-oslo.serialization >= 1.10.0
+BuildRequires: python-oslo.utils >= 3.5.0
+BuildRequires: python-oslotest >= 1.10.0
BuildRequires: python-pbr
-# For testing
-BuildRequires: python-oslo.config
-BuildRequires: python-oslo.i18n
-BuildRequires: python-oslo.serialization
-BuildRequires: python-oslotest
-Requires: python-oslo.config >= 2.3.0
-Requires: python-oslo.i18n >= 1.5.0
-Requires: python-oslo.serialization >= 1.4.0
-Requires: python-oslo.utils >= 2.0.0
+BuildRequires: python-requests >= 2.8.1
+BuildRequires: python-requests-mock >= 0.7.0
+Requires: python-oslo.config >= 3.4.0
+Requires: python-oslo.i18n >= 2.1.0
+Requires: python-oslo.serialization >= 1.10.0
+Requires: python-oslo.utils >= 3.5.0
+Requires: python-requests >= 2.8.1
Requires: python-six >= 1.9.0
-BuildRoot: %{_tmppath}/%{name}-%{version}-build
-%if 0%{?suse_version} && 0%{?suse_version} <= 1110
-%{!?python_sitelib: %global python_sitelib %(python -c "from
distutils.sysconfig import get_python_lib; print get_python_lib()")}
-%else
BuildArch: noarch
-%endif
%description
-RBAC policy enforcement library for OpenStack
+The OpenStack Oslo Policy library.
+RBAC policy enforcement library for OpenStack.
+
+%package doc
+Summary: Documentation for the Oslo Policy library
+Group: Documentation
+BuildRequires: python-Sphinx >= 1.1.2
+BuildRequires: python-oslosphinx >= 2.5.0
+%description doc
+Documentation for the Oslo Policy library.
%prep
-%setup -q -n oslo.policy-%{version}
+%setup -q -n %{sname}-%{version}
%build
-python setup.py build
+%{__python2} setup.py build
-%check
-testr init
-testr run --parallel
+# generate html docs
+%{__python2} setup.py build_sphinx
+# remove the sphinx-build leftovers
+rm -rf doc/build/html/.{doctrees,buildinfo}
%install
-python setup.py install --prefix=%{_prefix} --root=%{buildroot}
+%{__python2} setup.py install --skip-build --root %{buildroot}
+
+%check
+%{__python2} setup.py testr
%files
-%defattr(-,root,root,-)
-%doc LICENSE README.rst ChangeLog AUTHORS
-%{python_sitelib}/oslo_policy
-%{python_sitelib}/*.egg-info
+%license LICENSE
+%doc README.rst
+%{_bindir}/oslopolicy-checker
+%{python2_sitelib}/oslo_policy
+%{python2_sitelib}/*.egg-info
+
+%files doc
+%license LICENSE
+%doc doc/build/html
%changelog
++++++ oslo.policy-0.11.0.tar.gz -> oslo.policy-1.5.0.tar.gz ++++++
++++ 2195 lines of diff (skipped)