diff --git a/python-process-tests.spec b/python-process-tests.spec index a7d68c2..4b1350d 100644 --- a/python-process-tests.spec +++ b/python-process-tests.spec @@ -24,13 +24,12 @@ Release: 0 Summary: Tools for testing processes License: BSD-2-Clause Group: Development/Languages/Python -Url: https://github.com/ionelmc/python-process-tests -Source: https://pypi.io/packages/source/p/process-tests/process-tests-%{version}.tar.gz +URL: https://github.com/ionelmc/python-process-tests +Source: https://files.pythonhosted.org/packages/source/p/process-tests/process-tests-%{version}.tar.gz BuildRequires: %{python_module setuptools} BuildRequires: dos2unix BuildRequires: fdupes BuildRequires: python-rpm-macros -BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildArch: noarch %python_subpackages @@ -49,8 +48,8 @@ dos2unix LICENSE src/process_tests.egg-info/dependency_links.txt %python_expand %fdupes -s %{buildroot}%{$python_sitelib} %files %{python_files} -%defattr(-,root,root,-) -%doc README.rst LICENSE +%license LICENSE +%doc README.rst %pycache_only %{python_sitelib}/__pycache__ %{python_sitelib}/process_tests.py* %{python_sitelib}/process_tests-%{version}-py%{python_version}.egg-info