diff --git a/abimap-0.3.0.tar.gz b/abimap-0.3.0.tar.gz deleted file mode 100644 index 1cf3b5a..0000000 --- a/abimap-0.3.0.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:ff41025ba6995501e0c320fd58a98f80edc76c3ddf3632b5a3beab677ae3181e -size 51436 diff --git a/abimap-0.3.1.tar.gz b/abimap-0.3.1.tar.gz new file mode 100644 index 0000000..60e31f2 --- /dev/null +++ b/abimap-0.3.1.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:d2c4c7ff6ef2e1b42e0385af5995c5432027fe10ce3278408841e23cb3ca5dcd +size 53265 diff --git a/python-abimap.changes b/python-abimap.changes index 6790de9..52ac74e 100644 --- a/python-abimap.changes +++ b/python-abimap.changes @@ -1,3 +1,17 @@ +------------------------------------------------------------------- +Mon Aug 20 14:34:59 UTC 2018 - tchvatal@suse.com + +- Just require python-setuptools not use macros as it gets auto-expanded + by lua parser properly + +------------------------------------------------------------------- +Mon Aug 20 08:59:29 UTC 2018 - asn@cryptomilk.org + +- Update to version 0.3.1 + * Fixed bug when sorting releases: the older come first + * Added missing runtime requirement for setuptools + * Added manpage generation + ------------------------------------------------------------------- Wed Aug 8 17:50:53 UTC 2018 - asn@cryptomilk.org diff --git a/python-abimap.spec b/python-abimap.spec index 86cb40a..3edb324 100644 --- a/python-abimap.spec +++ b/python-abimap.spec @@ -17,34 +17,28 @@ %{?!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 Group: Development/Languages/Python -Url: https://github.com/ansasaki/abimap - +URL: https://github.com/ansasaki/abimap Source: https://files.pythonhosted.org/packages/source/a/abimap/abimap-%{version}.tar.gz - Patch0: abimap-0.3.0-disable-pytest-console-script-tests.patch - BuildRequires: %{python_module Sphinx} BuildRequires: %{python_module pytest-runner} BuildRequires: %{python_module setuptools} +BuildRequires: fdupes BuildRequires: python-rpm-macros +Requires: python-setuptools +BuildArch: noarch # SECTION test requirements -BuildRequires: %{python_module pytest} #BuildRequires: %%{python_module pytest-console-scripts} BuildRequires: %{python_module PyYAML} BuildRequires: %{python_module pytest-cov} +BuildRequires: %{python_module pytest} # /SECTION -BuildRequires: fdupes -BuildArch: noarch - -Requires: %{python_module setuptools} - %python_subpackages %description @@ -69,22 +63,27 @@ 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 -make -C tests ABIMAP_NAME_VERSION="abimap-%{version}" ABIMAP_VERSION="%{version}" +make -j1 -C tests ABIMAP_NAME_VERSION="abimap-%{version}" ABIMAP_VERSION="%{version}" %python_expand PYTHONPATH=%{buildroot}%{$python_sitelib}:${PWD}/tests py.test-%{$python_version} -vv tests %files %{python_files} %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}