15
0
forked from pool/python-reno
Files
python-reno/python-reno.spec
Thomas Bechtold fadb5eb010 - 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

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-reno?expand=0&rev=8
2017-08-05 07:06:52 +00:00

77 lines
2.1 KiB
RPMSpec

#
# spec file for package python-reno
#
# 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
# 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 http://bugs.opensuse.org/
#
%global sname reno
Name: python-reno
Version: 2.4.1
Release: 0
Summary: RElease NOtes manager
License: Apache-2.0
Group: Development/Languages/Python
Url: http://www.openstack.org/
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-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
Reno is a release notes manager for storing release notes in a git
repository and then building documentation from them.
%prep
%autosetup -p 1 -n %{sname}-%{version}
%py_req_cleanup
%build
%{py2_build}
%install
%{py2_install}
%check
git init .
python setup.py test
%files
%license LICENSE
%doc ChangeLog README.rst
%{_bindir}/reno
%{python2_sitelib}/reno
%{python2_sitelib}/*.egg-info
%changelog