- use renderspec source service
- update spec from upstream OBS-URL: https://build.opensuse.org/package/show/Cloud:OpenStack:Factory/python-oslo.concurrency?expand=0&rev=18
This commit is contained in:
parent
04ce995011
commit
fb46832bb9
12
_service
12
_service
@ -1,15 +1,13 @@
|
||||
<services>
|
||||
<service mode="disabled" name="renderspec">
|
||||
<param name="input-template">https://raw.githubusercontent.com/openstack/rpm-packaging/master/openstack/oslo.concurrency/oslo.concurrency.spec.j2</param>
|
||||
<param name="output-name">python-oslo.concurrency.spec</param>
|
||||
<param name="requirements">https://raw.githubusercontent.com/openstack/requirements/master/global-requirements.txt</param>
|
||||
</service>
|
||||
<service mode="disabled" name="download_files">
|
||||
<param name="changesgenerate">enable</param>
|
||||
</service>
|
||||
<service mode="disabled" name="set_version">
|
||||
<param name="basename">oslo.concurrency</param>
|
||||
</service>
|
||||
<service mode="disabled" name="python_requires">
|
||||
</service>
|
||||
<service name="refresh_patches" mode="disabled">
|
||||
<param name="changesgenerate">enable</param>
|
||||
</service>
|
||||
<service name="python_requires" mode="disabled">
|
||||
</service>
|
||||
</services>
|
||||
|
@ -1,3 +1,9 @@
|
||||
-------------------------------------------------------------------
|
||||
Thu Jun 2 08:55:41 UTC 2016 - tbechtold@suse.com
|
||||
|
||||
- use renderspec source service
|
||||
- update spec from upstream
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Apr 4 11:19:26 UTC 2016 - tbechtold@suse.com
|
||||
|
||||
|
@ -16,87 +16,85 @@
|
||||
#
|
||||
|
||||
|
||||
%define version_unconverted 3.7.0
|
||||
|
||||
%global sname oslo.concurrency
|
||||
Name: python-oslo.concurrency
|
||||
Version: 3.7.0
|
||||
Release: 0
|
||||
Summary: OpenStack Oslo concurrency library
|
||||
Summary: OpenStack oslo.concurrency library
|
||||
License: Apache-2.0
|
||||
Group: Development/Languages/Python
|
||||
Url: http://launchpad.net/oslo
|
||||
Source: https://pypi.python.org/packages/source/o/oslo.concurrency/oslo.concurrency-%{version}.tar.gz
|
||||
BuildRequires: openstack-suse-macros
|
||||
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-enum34
|
||||
BuildRequires: python-eventlet
|
||||
BuildRequires: python-fasteners
|
||||
BuildRequires: python-fixtures
|
||||
BuildRequires: python-futures
|
||||
BuildRequires: python-mock
|
||||
BuildRequires: python-oslo.config
|
||||
BuildRequires: python-oslo.utils
|
||||
BuildRequires: python-oslosphinx
|
||||
BuildRequires: python-oslotest
|
||||
BuildRequires: python-pbr
|
||||
BuildRequires: python-retrying
|
||||
BuildRequires: python-setuptools
|
||||
BuildRequires: python-sphinx
|
||||
BuildRequires: python-testrepository
|
||||
Requires: python-Babel >= 1.3
|
||||
BuildRequires: python-eventlet >= 0.18.2
|
||||
BuildRequires: python-fasteners >= 0.7
|
||||
BuildRequires: python-fixtures >= 1.3.1
|
||||
BuildRequires: python-futures >= 3.0
|
||||
BuildRequires: python-mock >= 2.0
|
||||
BuildRequires: python-oslo.config >= 3.9.0
|
||||
BuildRequires: python-oslo.i18n >= 2.1.0
|
||||
BuildRequires: python-oslo.utils >= 3.11.0
|
||||
BuildRequires: python-oslotest >= 1.10.0
|
||||
BuildRequires: python-pbr >= 1.6
|
||||
BuildRequires: python-testrepository >= 0.0.18
|
||||
BuildRequires: python-testscenarios >= 0.4
|
||||
BuildRequires: python-testtools >= 1.4.0
|
||||
Requires: python-Babel >= 2.3.4
|
||||
Requires: python-enum34
|
||||
Requires: python-fasteners >= 0.7
|
||||
Requires: python-iso8601 >= 0.1.9
|
||||
Requires: python-oslo.config >= 3.7.0
|
||||
Requires: python-iso8601 >= 0.1.11
|
||||
Requires: python-oslo.config >= 3.9.0
|
||||
Requires: python-oslo.i18n >= 2.1.0
|
||||
Requires: python-oslo.utils >= 3.5.0
|
||||
Requires: python-oslo.utils >= 3.11.0
|
||||
Requires: python-retrying >= 1.2.3
|
||||
Requires: python-six >= 1.9.0
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
BuildArch: noarch
|
||||
|
||||
%description
|
||||
Oslo concurrency library has utilities for safely running multi-thread,
|
||||
The oslo.concurrency library has utilities for safely running multi-thread,
|
||||
multi-process applications using locking mechanisms and for running
|
||||
external processes.
|
||||
|
||||
%package doc
|
||||
Summary: Documentation for the Oslo concurrency library
|
||||
Group: Documentation
|
||||
|
||||
Summary: Documentation for OpenStack concurrency library
|
||||
Group: Development/Languages/Python
|
||||
BuildRequires: python-Sphinx
|
||||
BuildRequires: python-oslosphinx >= 2.5.0
|
||||
BuildRequires: python-sphinx
|
||||
|
||||
%description doc
|
||||
Documentation for the Oslo concurrency library.
|
||||
The oslo.concurrency library has utilities for safely running multi-thread,
|
||||
multi-process applications using locking mechanisms and for running
|
||||
external processes.
|
||||
This package contains the documentation.
|
||||
|
||||
%prep
|
||||
%setup -q -n oslo.concurrency-%{version}
|
||||
%setup -q -n %{sname}-%{version}
|
||||
|
||||
%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}
|
||||
%{__python2} setup.py install --prefix=%{_prefix} --root=%{buildroot}
|
||||
|
||||
%check
|
||||
%if "%_lib" == "lib64"
|
||||
testr init
|
||||
testr run --parallel
|
||||
%endif
|
||||
%{__python2} setup.py testr
|
||||
|
||||
%files
|
||||
%defattr(-,root,root,-)
|
||||
%doc README.rst ChangeLog LICENSE AUTHORS
|
||||
%{python2_sitelib}/*
|
||||
%license LICENSE
|
||||
%doc README.rst ChangeLog
|
||||
%_bindir/lockutils-wrapper
|
||||
%{python2_sitelib}/oslo_concurrency
|
||||
%{python2_sitelib}/*.egg-info
|
||||
|
||||
%files doc
|
||||
%doc html
|
||||
%license LICENSE
|
||||
%doc doc/build/html
|
||||
|
||||
%changelog
|
||||
|
Loading…
x
Reference in New Issue
Block a user