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:
committed by
Git OBS Bridge
parent
b2ff4a0044
commit
057b38609d
@@ -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
|
||||
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user