diff --git a/python-astral.changes b/python-astral.changes index 7c571b7..1b804ec 100644 --- a/python-astral.changes +++ b/python-astral.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Fri Mar 6 18:24:26 UTC 2020 - Tomáš Chvátal + +- Do not install doc and test folders to sitelib + ------------------------------------------------------------------- Thu Mar 5 09:52:44 UTC 2020 - pgajdos@suse.com diff --git a/python-astral.spec b/python-astral.spec index ebe63fc..3d8413d 100644 --- a/python-astral.spec +++ b/python-astral.spec @@ -23,7 +23,6 @@ Version: 2.1 Release: 0 Summary: Calculations for the position of the sun and moon License: Apache-2.0 -Group: Development/Languages/Python URL: https://github.com/sffjunkie/astral Source: https://files.pythonhosted.org/packages/source/a/astral/astral-%{version}.tar.gz BuildRequires: %{python_module freezegun} @@ -56,6 +55,9 @@ For documentation see the http://astral.readthedocs.io/en/latest/index.html %install %python_install +# do not install bogus doc module +%python_expand rm -r %{buildroot}/%{$python_sitelib}/doc +%python_expand rm -r %{buildroot}/%{$python_sitelib}/test %python_expand %fdupes %{buildroot}/%{$python_sitelib} %check