15
0
forked from pool/python-astral

- Do not install doc and test folders to sitelib

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-astral?expand=0&rev=16
This commit is contained in:
Tomáš Chvátal
2020-03-06 18:24:40 +00:00
committed by Git OBS Bridge
parent b2ff4a0044
commit 057b38609d
2 changed files with 8 additions and 1 deletions

View File

@@ -1,3 +1,8 @@
-------------------------------------------------------------------
Fri Mar 6 18:24:26 UTC 2020 - Tomáš Chvátal <tchvatal@suse.com>
- Do not install doc and test folders to sitelib
-------------------------------------------------------------------
Thu Mar 5 09:52:44 UTC 2020 - pgajdos@suse.com

View File

@@ -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