From cac6c7c947a490e67cd1eb09ebc337c697f04575 Mon Sep 17 00:00:00 2001 From: Paul Belanger Date: Jan 22 2016 23:23:04 +0000 Subject: New upstream 1.3.1 release Signed-off-by: Paul Belanger --- diff --git a/.gitignore b/.gitignore index 3297448..5d56aed 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1,2 @@ /reno-0.1.0.tar.gz +/reno-1.3.1.tar.gz diff --git a/python-reno.spec b/python-reno.spec index 3232279..51111ea 100644 --- a/python-reno.spec +++ b/python-reno.spec @@ -14,45 +14,45 @@ %endif - - Name: python-%{pypi_name} -Version: 0.1.0 -Release: 4%{?dist} +Version: 1.3.1 +Release: 1%{?dist} Summary: Release NOtes manager License: ASL 2.0 URL: http://www.openstack.org/ Source0: https://pypi.python.org/packages/source/r/%{pypi_name}/%{pypi_name}-%{version}.tar.gz + BuildArch: noarch %description -Reno is a release notes manager for storing -release notes in a gitnrepository and then building documentation from them. +Reno is a release notes manager for storing release notes in a git repository +and then building documentation from them. Managing release notes for a complex project over a long period of time with many releases can be time consuming and error prone. Reno helps automate the hard parts. %package -n python2-%{pypi_name} -Summary: RElease NOtes manager +Summary: Release Notes Manager %{?python_provide:%python_provide python2-%{pypi_name}} +BuildRequires: git BuildRequires: python2-devel BuildRequires: python-setuptools BuildRequires: python-pbr BuildRequires: python-babel BuildRequires: python-sphinx BuildRequires: python-oslo-sphinx -BuildRequires: PyYAML +BuildRequires: PyYAML -Requires: python-pbr -Requires: python-babel -Requires: PyYAML +Requires: python-pbr +Requires: python-babel +Requires: PyYAML %description -n python2-%{pypi_name} -Reno is a release notes manager for storing -release notes in a gitnrepository and then building documentation from them. +Reno is a release notes manager for storing release notes in a git repository +and then building documentation from them. Managing release notes for a complex project over a long period of time with many releases can be time consuming and error prone. Reno @@ -60,7 +60,7 @@ helps automate the hard parts. %if 0%{with_python3} %package -n python3-%{pypi_name} -Summary: RElease NOtes manager +Summary: Release Notes Manager %{?python_provide:%python_provide python3-%{pypi_name}} BuildRequires: python3-devel @@ -71,13 +71,13 @@ BuildRequires: python3-sphinx BuildRequires: python3-oslo-sphinx BuildRequires: python3-PyYAML -Requires: python3-pbr -Requires: python3-babel -Requires: python3-PyYAML +Requires: python3-pbr +Requires: python3-babel +Requires: python3-PyYAML %description -n python3-%{pypi_name} -Reno is a release notes manager for storing -release notes in a gitnrepository and then building documentation from them. +Reno is a release notes manager for storing release notes in a git repository +and then building documentation from them. Managing release notes for a complex project over a long period of time with many releases can be time consuming and error prone. Reno @@ -86,12 +86,12 @@ helps automate the hard parts. %endif %package -n python-%{pypi_name}-doc -Summary: reno documentation +Summary: Reno documentation %description -n python-%{pypi_name}-doc -Documentation for reno +Documentation for Reno %prep -%autosetup -n %{pypi_name}-%{version} +%autosetup -n %{pypi_name}-%{version} -S git %build %py2_build @@ -113,10 +113,9 @@ mv %{buildroot}%{_bindir}/%{pypi_name} ./%{pypi_name}.py3 mv %{pypi_name}.py3 %{buildroot}%{_bindir}/%{pypi_name} %endif -# generate html docs -sphinx-build doc/source html -# remove the sphinx-build leftovers -rm -rf html/.{doctrees,buildinfo} +# generate html docs +%{__python} setup.py build_sphinx +rm -rf doc/build/html/.{doctrees,buildinfo} doc/build/html/objects.inv %files -n python2-%{pypi_name} %doc doc/source/readme.rst README.rst @@ -139,10 +138,16 @@ rm -rf html/.{doctrees,buildinfo} %endif %files -n python-%{pypi_name}-doc -%doc html +%doc doc/build/html %license LICENSE %changelog +* Fri Jan 22 2016 Paul Belanger 1.3.1-1 +- New upstream 1.3.1 release +- Switch to setup.py build_sphinx to keep inline with upstream documentation + builds +- Various rpmlint fixes + * Tue Nov 10 2015 Fedora Release Engineering - Rebuilt for https://fedoraproject.org/wiki/Changes/python3.5 diff --git a/sources b/sources index 8f09143..69a8ec8 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -e14da330bcbcfdd86ed4c6896387d5c4 reno-0.1.0.tar.gz +80e4c66b8899521ca89006e67f8643f7 reno-1.3.1.tar.gz