diff --git a/hupper-1.6.1-py2.py3-none-any.whl b/hupper-1.6.1-py2.py3-none-any.whl new file mode 100644 index 0000000..52aa66c --- /dev/null +++ b/hupper-1.6.1-py2.py3-none-any.whl @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:cb33b8f1de73a3566f4bd7decc620d0c6de7d7da9cdf176b6ad310fe037d6106 +size 23475 diff --git a/hupper-1.6.1.tar.gz b/hupper-1.6.1.tar.gz deleted file mode 100644 index 8f1c755..0000000 --- a/hupper-1.6.1.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:fe8febd68cec7fbed174fcbb0b42c427f96c8a7471c1cd4999fc698dd8dc6c34 -size 39773 diff --git a/python-hupper.changes b/python-hupper.changes index 0385d68..32c96e4 100644 --- a/python-hupper.changes +++ b/python-hupper.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Sun May 19 23:39:33 UTC 2019 - Todd R + +- Switch to wheel, which doesn't have the problematic + CC-noncomercial licensed documentation. + ------------------------------------------------------------------- Tue May 7 12:14:04 UTC 2019 - pgajdos@suse.com diff --git a/python-hupper.spec b/python-hupper.spec index 475b615..e143db4 100644 --- a/python-hupper.spec +++ b/python-hupper.spec @@ -24,19 +24,16 @@ Summary: An in-process file monitor License: MIT Group: Development/Languages/Python URL: https://pylonsproject.org/ -Source0: https://files.pythonhosted.org/packages/source/h/hupper/hupper-%{version}.tar.gz -BuildRequires: %{python_module setuptools} +# Wheels lack files with problematic noncommercial license +Source: https://files.pythonhosted.org/packages/py2.py3/h/hupper/hupper-%{version}-py2.py3-none-any.whl +BuildRequires: %{python_module pip} BuildRequires: fdupes BuildRequires: python-rpm-macros -# SECTION test requirements -BuildRequires: %{python_module pytest-cov} -BuildRequires: %{python_module pytest} -BuildRequires: %{python_module watchdog} -# /SECTION Requires: python-watchdog Requires(post): update-alternatives Requires(postun): update-alternatives BuildArch: noarch + %python_subpackages %description @@ -45,15 +42,14 @@ imported Python files in sys.modules as well as custom paths. When files are changed the process is restarted. %prep -%setup -q -n hupper-%{version} -rm -rf src/hupper.egg-info +%setup -q -c -T %build -%python_build +# Not Needed %install -%python_install -%python_expand %fdupes -s %{buildroot}/%{$python_sitelib} +%python_expand pip%{$python_bin_suffix} install --root=%{buildroot} %{SOURCE0} +%python_expand %fdupes %{buildroot}%{$python_sitelib} %python_clone -a %{buildroot}%{_bindir}/hupper @@ -63,13 +59,11 @@ rm -rf src/hupper.egg-info %postun %python_uninstall_alternative hupper -%check -%pytest - %files %{python_files} -%license LICENSE.txt -%doc CHANGES.rst CONTRIBUTING.rst README.rst %python_alternative %{_bindir}/hupper -%{python_sitelib}/* +%license %{python_sitelib}/hupper-%{version}.dist-info/LICENSE.txt +%{python_sitelib}/hupper-%{version}.dist-info/ +%{python_sitelib}/hupper/ + %changelog