1
0
Matej Cepl 2018-12-04 17:12:45 +00:00 committed by Git OBS Bridge
parent 42239f1562
commit 8666c4820d

View File

@ -24,10 +24,11 @@ Release: 0
Summary: Discover and load entry points from installed packages Summary: Discover and load entry points from installed packages
License: MIT License: MIT
Group: Development/Languages/Python Group: Development/Languages/Python
Url: https://github.com/takluyver/entrypoints URL: https://github.com/takluyver/entrypoints
Source: https://files.pythonhosted.org/packages/source/e/entrypoints/entrypoints-%{version}.tar.gz Source: https://files.pythonhosted.org/packages/source/e/entrypoints/entrypoints-%{version}.tar.gz
BuildRequires: fdupes BuildRequires: fdupes
BuildRequires: python-rpm-macros BuildRequires: python-rpm-macros
BuildArch: noarch
%if %{with test} %if %{with test}
BuildRequires: %{python_module pytest} BuildRequires: %{python_module pytest}
BuildRequires: python-configparser BuildRequires: python-configparser
@ -35,8 +36,6 @@ BuildRequires: python-configparser
%ifpython2 %ifpython2
Requires: python-configparser >= 3.5 Requires: python-configparser >= 3.5
%endif %endif
BuildArch: noarch
%python_subpackages %python_subpackages
%description %description
@ -69,8 +68,7 @@ popd
%endif %endif
%files %{python_files} %files %{python_files}
%defattr(-,root,root,-) %license LICENSE
%doc LICENSE
%{python_sitelib}/entrypoints.py* %{python_sitelib}/entrypoints.py*
%pycache_only %{python_sitelib}/__pycache__/entrypoints*.py* %pycache_only %{python_sitelib}/__pycache__/entrypoints*.py*
%{python_sitelib}/entrypoints-%{version}-py*.egg-info %{python_sitelib}/entrypoints-%{version}-py*.egg-info