14
0
forked from pool/python-abimap

Accepting request 630488 from home:gladiac:branches:devel:languages:python

- Update to version 0.3.1
  * Fixed bug when sorting releases: the older come first
  * Added missing runtime requirement for setuptools
  * Added manpage generation

OBS-URL: https://build.opensuse.org/request/show/630488
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-abimap?expand=0&rev=5
This commit is contained in:
Tomáš Chvátal
2018-08-20 14:33:53 +00:00
committed by Git OBS Bridge
parent 41f85d0835
commit 086a190ae9
4 changed files with 17 additions and 4 deletions

View File

@@ -19,7 +19,7 @@
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
Name: python-abimap
Version: 0.3.0
Version: 0.3.1
Release: 0
Summary: A helper for library maintainers to use symbol versioning
License: MIT
@@ -69,12 +69,16 @@ Documentation for the symbol versioning helper %{name}
%python_build
PYTHONPATH=${PWD}/src:${PWD}/tests sphinx-build docs html
PYTHONPATH=${PWD}/src:${PWD}/tests sphinx-build -E -b man docs man
%install
%python_install
rm -rf html/.{doctrees,buildinfo}
install -d -m 0755 %{buildroot}%{_mandir}/man1
install -m 0644 man/abimap.1 %{buildroot}%{_mandir}/man1/
%python_expand %fdupes %{buildroot}%{$python_sitelib}
%check
@@ -85,6 +89,7 @@ make -C tests ABIMAP_NAME_VERSION="abimap-%{version}" ABIMAP_VERSION="%{version}
%doc AUTHORS.rst CHANGELOG.rst README.rst
%license LICENSE
%python3_only %{_bindir}/abimap
%python3_only %{_mandir}/man1/abimap.1*
%{python_sitelib}/*
%files %{python_files doc}