Name: os-net-config Version: 0.1.1 Release: 3%{?dist} Summary: Host network configuration tool License: ASL 2.0 URL: http://pypi.python.org/pypi/%{name} Source0: http://tarballs.openstack.org/%{name}/%{name}-%{version}.tar.gz Patch0001: 0001-PATCH-Remove-pbr-runtime-dependency.patch BuildArch: noarch BuildRequires: python-setuptools BuildRequires: python2-devel BuildRequires: python-pbr BuildRequires: python-sphinx BuildRequires: python-oslo-sphinx Requires: python-setuptools Requires: python-argparse Requires: python-anyjson Requires: python-babel Requires: python-eventlet Requires: python-oslo-config Requires: python-netaddr Requires: python-iso8601 Requires: python-six >= 1.5.0 Requires: PyYAML %description Host network configuration tool for OpenStack. %prep %setup -q -n %{name}-%{version} %patch0001 -p1 sed -i '/setuptools_git/d' setup.py sed -i s/REDHATOSNETCONFIGVERSION/%{version}/ os_net_config/version.py sed -i s/REDHATOSNETCONFIGRELEASE/%{release}/ os_net_config/version.py # make doc build compatible with python-oslo-sphinx RPM sed -i 's/oslosphinx/oslo.sphinx/' doc/source/conf.py %build %{__python} setup.py build %{__python} setup.py build_sphinx %install %{__python} setup.py install -O1 --skip-build --root %{buildroot} %files %doc README.rst %doc LICENSE %doc doc/build/html %{_bindir}/os-net-config %{python_sitelib}/os_net_config* %changelog * Fri Feb 13 2015 Ben Nemec - 0.1.1-3 - Fix BuildRequires in the srpm * Fri Feb 06 2015 Ben Nemec - 0.1.1-2 - Cleanups from package review * Mon Dec 22 2014 Ben Nemec - 0.1.1-1 - Initial Fedora package