Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:chajain
python-os-collect-config
python-os-collect-config.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File python-os-collect-config.spec of Package python-os-collect-config
# # spec file for package python-os-collect-config # # Copyright (c) 2019 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 # upon. The license for this file, and modifications and additions to the # file, is the same license as for the pristine package itself (unless the # license for the pristine package is not an Open Source License, in which # case the license is the MIT License). An "Open Source License" is a # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. # Please submit bugfixes or comments via https://bugs.opensuse.org/ # %global sname os-collect-config Name: python-os-collect-config Version: 9.2.1 Release: 0 Summary: Collect and cache metadata running hooks on changes License: Apache-2.0 Group: Development/Languages/Python URL: https://launchpad.net/%{sname} Source0: https://files.pythonhosted.org/packages/source/o/%{sname}/%{sname}-%{version}.tar.gz Source1: os-collect-config.service Source2: os-collect-config.conf BuildRequires: openstack-macros BuildRequires: python-devel BuildRequires: python-fixtures BuildRequires: python-heatclient >= 1.10.0 BuildRequires: python-keystoneclient >= 3.8.0 BuildRequires: python-lxml >= 3.4.1 BuildRequires: python-mock BuildRequires: python-oslo.config >= 5.2.0 BuildRequires: python-oslo.log >= 3.36.0 BuildRequires: python-pbr >= 2.0.0 BuildRequires: python-setuptools BuildRequires: python-stestr BuildRequires: python-testscenarios BuildRequires: python-testtools BuildRequires: python-zaqarclient >= 1.0.0 Requires: python-anyjson >= 0.3.3 Requires: python-dogpile.cache >= 0.6.2 Requires: python-eventlet >= 0.18.2 Requires: python-heatclient >= 1.10.0 Requires: python-iso8601 >= 0.1.11 Requires: python-keystoneclient >= 3.8.0 Requires: python-lxml >= 3.4.1 Requires: python-os-refresh-config Requires: python-oslo.config >= 5.2.0 Requires: python-oslo.log >= 3.36.0 Requires: python-pbr >= 2.0.0 Requires: python-requests >= 2.14.2 Requires: python-six >= 1.10.0 Requires: python-zaqarclient >= 1.0.0 BuildArch: noarch %if 0%{?suse_version} BuildRequires: systemd-rpm-macros %{?systemd_requires} %else BuildRequires: systemd Requires(post): systemd Requires(postun): systemd Requires(preun): systemd %endif %description Service to collect openstack heat metadata. %prep %autosetup -n %{sname}-%{version} %py_req_cleanup sed -i 's/^warning-is-error.*/warning-is-error = 0/g' setup.cfg %build %py2_build %install %py2_install install -p -D -m 644 %{SOURCE1} %{buildroot}%{_unitdir}/os-collect-config.service install -p -D -m 644 %{SOURCE2} %{buildroot}%{_sysconfdir}/os-collect-config.conf mkdir -p %{buildroot}%{_localstatedir}/lib/%{name}/local-data %check %{__python2} -m stestr.cli run %post %systemd_post os-collect-config.service %preun %systemd_preun os-collect-config.service %postun %systemd_postun_with_restart os-collect-config.service %files %license LICENSE %doc README.rst %{_bindir}/os-collect-config %config(noreplace) %attr(-, root, root) %{_sysconfdir}/os-collect-config.conf %{python2_sitelib}/os_collect_config %{python2_sitelib}/*.egg-info %{_unitdir}/os-collect-config.service %{_localstatedir}/lib/%{name} %changelog
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor