2016-02-16 13:09:25 +00:00
|
|
|
#
|
|
|
|
# spec file for package python-reno
|
|
|
|
#
|
2017-08-05 07:06:52 +00:00
|
|
|
# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
|
2016-02-16 13:09:25 +00:00
|
|
|
#
|
|
|
|
# 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/
|
2016-06-06 11:20:46 +00:00
|
|
|
#
|
2016-02-16 13:09:25 +00:00
|
|
|
|
|
|
|
|
2017-08-05 07:06:52 +00:00
|
|
|
%global sname reno
|
2016-02-16 13:09:25 +00:00
|
|
|
Name: python-reno
|
2017-08-05 07:06:52 +00:00
|
|
|
Version: 2.4.1
|
2016-02-16 13:09:25 +00:00
|
|
|
Release: 0
|
|
|
|
Summary: RElease NOtes manager
|
2016-06-06 11:20:46 +00:00
|
|
|
License: Apache-2.0
|
2016-02-16 13:09:25 +00:00
|
|
|
Group: Development/Languages/Python
|
2016-06-06 11:20:46 +00:00
|
|
|
Url: http://www.openstack.org/
|
2017-08-05 07:06:52 +00:00
|
|
|
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
|
2016-02-16 13:09:25 +00:00
|
|
|
BuildRequires: python-devel
|
2017-08-05 07:06:52 +00:00
|
|
|
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
|
2016-02-16 13:09:25 +00:00
|
|
|
BuildArch: noarch
|
2017-08-05 07:06:52 +00:00
|
|
|
%if 0%{?suse_version}
|
|
|
|
BuildRequires: git-core
|
|
|
|
BuildRequires: gpg2
|
|
|
|
%else
|
|
|
|
BuildRequires: git
|
|
|
|
BuildRequires: gnupg
|
2016-02-16 13:09:25 +00:00
|
|
|
%endif
|
|
|
|
|
|
|
|
%description
|
|
|
|
Reno is a release notes manager for storing release notes in a git
|
|
|
|
repository and then building documentation from them.
|
|
|
|
|
|
|
|
%prep
|
2017-08-05 07:06:52 +00:00
|
|
|
%autosetup -p 1 -n %{sname}-%{version}
|
|
|
|
%py_req_cleanup
|
2016-02-16 13:09:25 +00:00
|
|
|
|
|
|
|
%build
|
2017-08-05 07:06:52 +00:00
|
|
|
%{py2_build}
|
2016-02-16 13:09:25 +00:00
|
|
|
|
|
|
|
%install
|
2017-08-05 07:06:52 +00:00
|
|
|
%{py2_install}
|
2016-02-16 13:09:25 +00:00
|
|
|
|
|
|
|
%check
|
2017-08-05 07:06:52 +00:00
|
|
|
git init .
|
2016-02-16 13:09:25 +00:00
|
|
|
python setup.py test
|
|
|
|
|
|
|
|
%files
|
2017-08-05 07:06:52 +00:00
|
|
|
%license LICENSE
|
|
|
|
%doc ChangeLog README.rst
|
2016-02-16 13:09:25 +00:00
|
|
|
%{_bindir}/reno
|
2017-08-05 07:06:52 +00:00
|
|
|
%{python2_sitelib}/reno
|
|
|
|
%{python2_sitelib}/*.egg-info
|
2016-02-16 13:09:25 +00:00
|
|
|
|
|
|
|
%changelog
|