Hello community,
here is the log from the commit of package python-oslo.context for
openSUSE:Factory checked in at 2016-05-19 12:14:36
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-oslo.context (Old)
and /work/SRC/openSUSE:Factory/.python-oslo.context.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-oslo.context"
Changes:
--------
--- /work/SRC/openSUSE:Factory/python-oslo.context/python-oslo.context.changes
2016-03-07 13:23:32.000000000 +0100
+++
/work/SRC/openSUSE:Factory/.python-oslo.context.new/python-oslo.context.changes
2016-05-19 12:14:38.000000000 +0200
@@ -1,0 +2,5 @@
+Thu Mar 3 07:34:20 UTC 2016 - [email protected]
+
+- Switch to .spec from rpm-packaging upstream project
+
+-------------------------------------------------------------------
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ python-oslo.context.spec ++++++
--- /var/tmp/diff_new_pack.SgWTNt/_old 2016-05-19 12:14:39.000000000 +0200
+++ /var/tmp/diff_new_pack.SgWTNt/_new 2016-05-19 12:14:39.000000000 +0200
@@ -16,62 +16,78 @@
#
+%global sname oslo.context
+%bcond_with test
Name: python-oslo.context
Version: 2.2.0
Release: 0
-Url: https://launchpad.net/oslo.context
-Summary: Helpers to maintain useful information about a request context
+Summary: OpenStack Oslo context library
License: Apache-2.0
-Group: Development/Languages/Python
-Source:
https://pypi.python.org/packages/source/o/oslo.context/oslo.context-%{version}.tar.gz
-BuildRequires: openstack-suse-macros
-BuildRequires: python-devel
+Group: Development/Languages
+Url: https://launchpad.net/%{sname}
+Source0:
https://pypi.python.org/packages/source/o/%{sname}/%{sname}-%{version}.tar.gz
+BuildRequires: openstack-macros
+BuildRequires: python-Babel
BuildRequires: python-pbr
-# Needed for tests
-BuildRequires: python-coverage
-BuildRequires: python-oslotest
+BuildRequires: python-setuptools
+%if %{with test}
+BuildRequires: python-hacking
+BuildRequires: python-oslotest >= 1.10.0
+BuildRequires: python-testrepository >= 0.0.18
+BuildRequires: python-testscenarios >= 0.4
+BuildRequires: python-testtools >= 0.9.34
+%endif
Requires: python-Babel >= 1.3
+Requires: python-pbr
BuildArch: noarch
%description
The Oslo context library has helpers to maintain useful information
-about a request context. The request context is usually populated in
-the WSGI pipeline and used by various modules such as logging.
+about a request context.
+The request context is usually populated in the WSGI pipeline and
+used by various modules such as logging.
%package doc
-Summary: Documentation for the OpenStack Oslo context library
-Group: Development/Languages/Python
+Summary: Documentation for OpenStack common configuration library
+Group: Documentation
+
+BuildRequires: python-Sphinx
+BuildRequires: python-fixtures
BuildRequires: python-oslosphinx
-BuildRequires: python-sphinx
%description doc
-Documentation for the OpenStack Oslo context library.
+Documentation for the oslo-context library.
%prep
-%setup -q -n oslo.context-%{version}
+%setup -q -n %{sname}-%{version}
+# Remove bundled egg-info
+rm -rf %{sname}.egg-info
%build
%{__python2} setup.py build
-
# generate html docs
-sphinx-build doc/source html
+%{__python2} setup.py build_sphinx
# remove the sphinx-build leftovers
-rm -rf html/.{doctrees,buildinfo}
+rm -rf doc/build/html/.{doctrees,buildinfo}
%install
%{__python2} setup.py install --skip-build --root %{buildroot}
+%if %{with test}
%check
+export
PYTHONPATH="%{python2_sitearch}:%{python2_sitelib}:%{buildroot}%{python2_sitelib}"
+export PYTHON="%{__python2} -S"
testr init && testr run --parallel
+%endif
%files
%license LICENSE
-%doc README.rst ChangeLog AUTHORS
+%doc README.rst AUTHORS
%{python2_sitelib}/oslo_context
-%{python2_sitelib}/oslo.context*egg-info
+%{python2_sitelib}/*.egg-info
%files doc
%license LICENSE
-%doc html
+%doc doc/build/html
%changelog