1
0
Bernhard M. Wiedemann 2016-03-09 16:03:14 +00:00 committed by Git OBS Bridge
parent 62361b60e5
commit 9d8bdf8bd6
4 changed files with 45 additions and 89 deletions

3
oslo.config-3.4.0.tar.gz Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:58dc7527716c246f099f5da416ea6263554795917777eb6b005f17e984cde3ca
size 89378

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:ec7bdf4a3d85f90cf07d2fa03a20783558ad0f490d71bd8faf50bf4ee2923df1
size 99255

View File

@ -1,48 +1,3 @@
-------------------------------------------------------------------
Thu Mar 3 07:46:37 UTC 2016 - tbechtold@suse.com
- Switch to.spec from rpm-packaging upstream project
-------------------------------------------------------------------
Sun Feb 28 13:39:45 UTC 2016 - dmueller@suse.com
- update to 3.9.0:
* remove redundant call to set explicit target
* clear the cache before mutating the config files
* Updated from global requirements
* Add None-check to find_file
* add support for mutable options in the config generator
* add unreleased page to release notes build
* add a release note mentioning our use of reno
* Add reno for release notes management
* Hooks around mutate_config_files
* Add hostname config type
* Add config_dirs property with a list of directories
* Fix wrong check with non-None value when format group
* add generator hook for apps to update option defaults
* Updated from global requirements
* refactor generator._list_opts for further enhancement
* Add debtcollector as requirement
* always show coverage output from tests
* handle group objects in sphinxext
* refactor sphinxext and add unit tests
* have show-options load the generator config file
* support multiple namespaces in sphinxext
* refactor sphinxext to make reformatting easier
* refactor generator closures to private methods
* Updated from global requirements
* remove specially attribute handling from _Namespace
* Fix unrecognized subparser args
* Add test for BoolOpt with no default
* Fix bandit entry in tox.ini
* Removal of bandit.yaml
* Log mutated options at INFO
* Fix version 'mutable' was added
* Fix PortOpt versionchanged
* treat option group names as section headers when documenting them
* Fix MultiConfigParser removal version
* Retain correct order of defined config options
------------------------------------------------------------------- -------------------------------------------------------------------
Thu Feb 11 07:39:04 UTC 2016 - dmueller@suse.com Thu Feb 11 07:39:04 UTC 2016 - dmueller@suse.com

View File

@ -16,84 +16,85 @@
# #
%global sname oslo.config
Name: python-oslo.config Name: python-oslo.config
Version: 3.9.0 Version: 3.4.0
Release: 0 Release: 0
Summary: OpenStack common configuration library Summary: OpenStack configuration API
License: Apache-2.0 License: Apache-2.0
Group: Development/Languages Group: Development/Languages/Python
Url: https://launchpad.net/%{sname} Url: https://launchpad.net/oslo.config/
Source0: https://pypi.python.org/packages/source/o/%{sname}/%{sname}-%{version}.tar.gz Source: http://tarballs.openstack.org/oslo.config/oslo.config-%{version}.tar.gz
BuildRequires: openstack-macros Source99: rpmlintrc
BuildRequires: python-debtcollector >= 1.2.0 BuildRequires: fdupes
BuildRequires: openstack-suse-macros
BuildRequires: python-devel BuildRequires: python-devel
BuildRequires: python-discover # Test requirements:
BuildRequires: python-fixtures >= 1.3.1 BuildRequires: git-core
BuildRequires: python-mock >= 1.2 BuildRequires: python-debtcollector >= 1.2.0
BuildRequires: python-oslo.i18n >= 2.1.0 BuildRequires: python-fixtures >= 0.3.14
BuildRequires: python-oslotest >= 1.10.0 BuildRequires: python-mock >= 1.0
BuildRequires: python-pbr >= 1.6 BuildRequires: python-netaddr
BuildRequires: python-oslo.i18n >= 1.3.0
BuildRequires: python-oslosphinx
BuildRequires: python-oslotest >= 1.2.0
BuildRequires: python-pbr
BuildRequires: python-python-subunit >= 0.0.18 BuildRequires: python-python-subunit >= 0.0.18
BuildRequires: python-setuptools BuildRequires: python-six
BuildRequires: python-stevedore
BuildRequires: python-testrepository >= 0.0.18 BuildRequires: python-testrepository >= 0.0.18
BuildRequires: python-testscenarios >= 0.4 BuildRequires: python-testscenarios >= 0.4
BuildRequires: python-testtools >= 1.4.0 BuildRequires: python-testtools >= 0.9.36
Requires: python-debtcollector >= 1.2.0 Requires: python-debtcollector >= 1.2.0
Requires: python-netaddr >= 0.7.12 Requires: python-netaddr >= 0.7.12
Requires: python-six >= 1.9.0 Requires: python-six >= 1.9.0
Requires: python-stevedore >= 1.5.0 Requires: python-stevedore >= 1.5.0
Provides: python-oslo-config = 2013.2
Obsoletes: python-oslo-config < 2013.2
Provides: %{name}-test = %{version}
Obsoletes: %{name}-test <= %{version}
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildArch: noarch BuildArch: noarch
%description %description
The Oslo project intends to produce a python library containing The Oslo configuration API supports parsing command line arguments and
infrastructure code shared by OpenStack projects. The APIs provided .ini style configuration files.
by the project should be high quality, stable, consistent and generally
useful.
The oslo-config library is a command line and configuration file
parsing library from the Oslo project.
%package doc %package doc
Summary: Documentation for OpenStack common configuration library Summary: OpenStack configuration API - Documentation
Group: Development/Languages Group: Documentation/HTML
BuildRequires: python-Sphinx >= 1.1.2 BuildRequires: python-Sphinx
BuildRequires: python-netaddr >= 0.7.12 Requires: %{name} = %{version}
BuildRequires: python-oslosphinx >= 2.5.0 Provides: python-oslo-config-doc = 2013.2
BuildRequires: python-stevedore >= 1.5.0 Obsoletes: python-oslo-config-doc < 2013.2
%description doc %description doc
Documentation for the oslo-config library. This package contains documentation files for %{name}.
%prep %prep
%setup -q -n %{sname}-%{version} %setup -q -n oslo.config-%{version}
%build %build
%{__python2} setup.py build %{__python2} setup.py build
# disabling git call for last modification date from git repo # disabling git call for last modification date from git repo
sed '/^html_last_updated_fmt.*/,/.)/ s/^/#/' -i doc/source/conf.py sed '/^html_last_updated_fmt.*/,/.)/ s/^/#/' -i doc/source/conf.py
# generate html docs
%{__python2} setup.py build_sphinx python setup.py build_sphinx
# remove the sphinx-build leftovers # remove the sphinx-build leftovers
rm -rf doc/build/html/.{doctrees,buildinfo} rm -rf doc/build/html/.{doctrees,buildinfo}
%install %install
%{__python2} setup.py install --prefix=%{_prefix} --root=%{buildroot} %{__python2} setup.py install --skip-build --root %{buildroot}
%check
%{__python2} setup.py testr
%files %files
%doc README.rst
%license LICENSE %license LICENSE
%doc README.rst AUTHORS
%{_bindir}/oslo-config-generator %{_bindir}/oslo-config-generator
%{python2_sitelib}/oslo_config %{python2_sitelib}/oslo_config
%{python2_sitelib}/*.egg-info %{python2_sitelib}/*.egg-info
%files doc %files doc
%doc doc/build/html
%license LICENSE %license LICENSE
%doc doc/build/html
%changelog %changelog