diff --git a/_service b/_service new file mode 100644 index 0000000..65c4a55 --- /dev/null +++ b/_service @@ -0,0 +1,12 @@ + + + https://raw.githubusercontent.com/openstack/rpm-packaging/stable/pike/openstack/reno/reno.spec.j2 + python-reno.spec + https://raw.githubusercontent.com/openstack/rpm-packaging/stable/pike/global-requirements.txt + cloud-devel@suse.de + gh,openstack,reno + + + + + diff --git a/python-reno.changes b/python-reno.changes index 7622f6d..dc7a5b1 100644 --- a/python-reno.changes +++ b/python-reno.changes @@ -1,3 +1,119 @@ +------------------------------------------------------------------- +Sat Aug 5 07:04:19 UTC 2017 - cloud-devel@suse.de + +- update to version 2.4.1 + - add function for reducing change list to operations + - sphinxext: Include branch information in source name + - Properly declare dependency on six + - return the name of the cache file created + - Have import order follow standard and fix misspelling + - Remove discover from test-requirements + - Replace LOG.wirn with LOG.warning + - Support to set a custom template used to create new notes + - set up logging in the sphinx extension + - set relnotesdir to default inside config + - Changed the link to home-page + - Show team and repo badges on README + - Using fixtures.MockPatch instead of mockpatch.Patch + - clarify automatic inclusion of prelude section + - update release notes + - let the Config object give us the path to the notes + - define Config class + - logging improvements + - trim Newton history to avoid duplication + - use dulwich to find the current version on a branch + - fix a problem scanning for the base of a branch with no tag + - Wrap template at ~79 characters + - add filename and sha in comments in report output + - Add YAML configuration parsing + - Document how reno handles eol branches in config + - add a --title option to the report command + - doc: Document the available configuration options + - Remove oslotest from test-requirements.txt + - add a lint command + - make sections configurable + - add sha info to ChangeTracker debug output + - move tag management into repo subclass + - do not test python 3.4 by default + - Remove link to modindex + - tone down the warning for missing configuration file + - deal with unsigned tags + - fix the way we handle deleted notes + - fix the logic for determining where to stop scanning a branch + - use unicode literals in scanner tests + - do not allow multiple files with the same UID + - Add support for tags tagging other tags + - Enable to create and edit a note with reno new + - allow tracking branch names when the branches only exist on origin + - only show recent releases on the current series pages + - deal with remote branches + - refactor change tracking in scanner + - use dulwich to get the contents of a file + - Make note template follow correct formatting + - add the irc channel to the readme file + - support removed stable branches + - add reference to project team guide for openstack projects + - use dulwich to implement get_notes_by_version + - Add debugging section to docs + - reconfigure release notes display to include newton + - Link to reStructuredText primer from usage docs + - quiet gpg commands in tests + - ensure tags are returned in a consistent order + - let the Config class clean up the reporoot we're given + - traversal performance improvements + - fix sphinxext scanner when it has a list of versions to include + - optimize check for the current version + - add more tests for _get_ref + - log scanner tests in a way that makes them easier to debug + - Make oslosphinx requirement optional + - skip the test that fails on git 2.9.2 + - fix an infinite loop in the topo traversal algorithm + - documentation improvements + - use dulwich to determine the tags on a branch + - add a null logging handler + - show full history + - fix bytes/str handling when looking for file content + - use Config instead of individual args with parameters + - Add support for custom tag version schemes + - add release note for log level fix + - add python 3.5 classifier and default tox env + - Remove support for py34 + - Remove support for py33 + - set the default for reporoot for the command line + - add missing reporoot arg to 'new' command + - stop scanning at the base of a branch + - comment out openstack governance badges + - teach the scanner to look at uncommitted files + - use dulwich to determine the branch base + - shortcut the branch scan by looking at the version number + - try to discover the repository root in sphinx builds + - deal with non-unique UIDs + - log git commands run in scanner tests + - fix branch handling in sphinx extension + - ignore staged files that are not notes + - uncap pbr dependency + - add configuration option to not stop at branch base + - add --no-show-source option to report command + - Clean imports in code + - use dulwich's tree traversal to look up repo contents + - create GitRepoFixture + - fix the logic for deciding what to show as the "current" series + - do not use sphinx 1.6.1 + - add tests for determining the branch base + - modify the change aggregation api + - fix reference to config.yaml + - centralize handling of branches without base tags + - fix some minor formatting issues with release notes + - lower the log level for an error message + - ignore null-merges + - do not assume the current branch is the most recent + - Fix RST + - remove cruft from readme + - refactor existing implementation into a class + - Update to Sphinx 1.5, tread warnings as errors + - fix logic for deciding when to stop scanning a branch +- add _service and switch to upstream rpm-packaging spec + ------------------------------------------------------------------- Thu Aug 25 12:54:11 UTC 2016 - tbechtold@suse.com diff --git a/python-reno.spec b/python-reno.spec index 0355bfc..d939b1f 100644 --- a/python-reno.spec +++ b/python-reno.spec @@ -1,7 +1,7 @@ # # spec file for package python-reno # -# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2017 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 @@ -16,30 +16,36 @@ # +%global sname reno Name: python-reno -Version: 1.8.0 +Version: 2.4.1 Release: 0 Summary: RElease NOtes manager License: Apache-2.0 Group: Development/Languages/Python Url: http://www.openstack.org/ -Source: https://pypi.io/packages/source/r/reno/reno-%{version}.tar.gz -BuildRequires: python-Babel -BuildRequires: python-PyYAML +Source0: https://pypi.io/packages/source/r/reno/reno-%{version}.tar.gz +BuildRequires: openstack-macros +BuildRequires: python-Babel >= 2.3.4 +BuildRequires: python-PyYAML >= 3.10.0 BuildRequires: python-devel -BuildRequires: python-pbr -BuildRequires: python-setuptools -%if %{with tests} -BuildRequires: python-testrepository -BuildRequires: python-testscenarios -BuildRequires: python-testtools -%endif -Requires: python-Babel >= 1.3 -Requires: python-PyYAML >= 3.1.0 -%if 0%{?suse_version} && 0%{?suse_version} <= 1110 -%{!?python_sitelib: %global python_sitelib %(python -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")} -%else +BuildRequires: python-dulwich >= 0.15.0 +BuildRequires: python-oslotest >= 1.10.0 +BuildRequires: python-pbr >= 2.0.0 +BuildRequires: python-setuptools >= 16.0 +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-PyYAML >= 3.10.0 +Requires: python-dulwich >= 0.15.0 BuildArch: noarch +%if 0%{?suse_version} +BuildRequires: git-core +BuildRequires: gpg2 +%else +BuildRequires: git +BuildRequires: gnupg %endif %description @@ -47,44 +53,24 @@ Reno is a release notes manager for storing release notes in a git repository and then building documentation from them. %prep -%setup -q -n reno-%{version} +%autosetup -p 1 -n %{sname}-%{version} +%py_req_cleanup %build -python setup.py build +%{py2_build} %install -python setup.py install --prefix=%{_prefix} --root=%{buildroot} +%{py2_install} -%if %{with tests} %check +git init . python setup.py test -%endif - -# Prepare for update-alternatives usage -mkdir -p %{buildroot}%{_sysconfdir}/alternatives -for p in reno ; do - mv %{buildroot}%{_bindir}/$p %{buildroot}%{_bindir}/$p-%{py_ver} - ln -s -f %{_sysconfdir}/alternatives/$p %{buildroot}%{_bindir}/$p - # create a dummy target for /etc/alternatives/$p - touch %{buildroot}%{_sysconfdir}/alternatives/$p -done - -%post -%_sbindir/update-alternatives \ - --install %{_bindir}/reno reno %{_bindir}/reno-%{py_ver} 30 - -%postun -if [ $1 -eq 0 ] ; then - %_sbindir/update-alternatives --remove reno %{_bindir}/reno-%{py_ver} -fi %files -%defattr(-,root,root,-) -%doc LICENSE ChangeLog README.rst AUTHORS +%license LICENSE +%doc ChangeLog README.rst %{_bindir}/reno -%{_bindir}/reno-%{py_ver} -%ghost %{_sysconfdir}/alternatives/reno -%{python_sitelib}/reno -%{python_sitelib}/*.egg-info +%{python2_sitelib}/reno +%{python2_sitelib}/*.egg-info %changelog diff --git a/reno-1.8.0.tar.gz b/reno-1.8.0.tar.gz deleted file mode 100644 index 95ae895..0000000 --- a/reno-1.8.0.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:fa8e478fe070b6f658fa4868941449cc6dca7b08f520756dcebed2c87e070fdf -size 33367 diff --git a/reno-2.4.1.tar.gz b/reno-2.4.1.tar.gz new file mode 100644 index 0000000..4a6bb81 --- /dev/null +++ b/reno-2.4.1.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:4d4da02a3b84a84fa074d0bdd853a89295636913131d8d6d42174e41d7a1a00c +size 60773