diff --git a/python-catkin-pkg.spec b/python-catkin-pkg.spec index e0750bf..81e1d4f 100644 --- a/python-catkin-pkg.spec +++ b/python-catkin-pkg.spec @@ -12,37 +12,37 @@ # 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/ +# Please submit bugfixes or comments via https://bugs.opensuse.org/ +# %{?!python_module:%define python_module() python-%{**} python3-%{**}} Name: python-catkin-pkg Version: 0.4.12 Release: 0 -License: BSD-3-Clause Summary: Catkin package library -Url: http://wiki.ros.org/catkin_pkg +License: BSD-3-Clause Group: Development/Languages/Python +URL: https://wiki.ros.org/catkin_pkg # gh#ros-infrastructure/catkin_pkg#258 #Source: https://files.pythonhosted.org/packages/source/c/catkin-pkg/catkin_pkg-%{version}.tar.gz Source: https://github.com/ros-infrastructure/catkin_pkg/archive/v%{version}.tar.gz#/catkin_pkg-%{version}.tar.gz -BuildRequires: python-rpm-macros BuildRequires: %{python_module setuptools} -# SECTION test requirements -BuildRequires: %{python_module docutils} -BuildRequires: %{python_module flake8} -BuildRequires: %{python_module nose} -BuildRequires: %{python_module mock} -BuildRequires: %{python_module pyparsing} -BuildRequires: %{python_module python-dateutil} -# /SECTION BuildRequires: fdupes +BuildRequires: python-rpm-macros Requires: python-docutils Requires: python-pyparsing Requires: python-python-dateutil Requires: python-setuptools BuildArch: noarch - +# SECTION test requirements +BuildRequires: %{python_module docutils} +BuildRequires: %{python_module flake8} +BuildRequires: %{python_module mock} +BuildRequires: %{python_module nose} +BuildRequires: %{python_module pyparsing} +BuildRequires: %{python_module python-dateutil} +# /SECTION %python_subpackages %description