diff --git a/python-userpath.spec b/python-userpath.spec index 298f2bb..697ad29 100644 --- a/python-userpath.spec +++ b/python-userpath.spec @@ -12,30 +12,29 @@ # 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-userpath Version: 1.3.0 Release: 0 -License: MIT AND Apache-2.0 Summary: Tool for adding locations to the user PATH -Url: https://github.com/ofek/userpath -Group: Development/Languages/Python +License: MIT AND Apache-2.0 +URL: https://github.com/ofek/userpath Source: https://files.pythonhosted.org/packages/source/u/userpath/userpath-%{version}.tar.gz -BuildRequires: python-rpm-macros BuildRequires: %{python_module setuptools} +BuildRequires: fdupes +BuildRequires: python-rpm-macros +Requires: python-click +Requires: python-distro +BuildArch: noarch # SECTION test requirements BuildRequires: %{python_module click} BuildRequires: %{python_module distro} BuildRequires: %{python_module pytest} # /SECTION -BuildRequires: fdupes -Requires: python-click -Requires: python-distro -BuildArch: noarch - %python_subpackages %description