diff --git a/python-abimap.changes b/python-abimap.changes index ee48bd6..52ac74e 100644 --- a/python-abimap.changes +++ b/python-abimap.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +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 diff --git a/python-abimap.spec b/python-abimap.spec index de00403..ed2bcaa 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.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 @@ -82,7 +76,7 @@ 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 %{?_smp_mflags} -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}