forked from pool/python-sat-stac
- Fix few minor issues with alternatives
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-sat-stac?expand=0&rev=2
This commit is contained in:
committed by
Git OBS Bridge
parent
bb9a14b9f5
commit
0c2f0bb83d
@@ -1,3 +1,8 @@
|
||||
-------------------------------------------------------------------
|
||||
Mon Aug 10 11:46:34 UTC 2020 - Tomáš Chvátal <tchvatal@suse.com>
|
||||
|
||||
- Fix few minor issues with alternatives
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Jul 31 15:33:36 UTC 2020 - andy great <andythe_great@pm.me>
|
||||
|
||||
|
@@ -24,7 +24,6 @@ Version: 0.4.0
|
||||
Release: 0
|
||||
Summary: A library for reading and working with Spatio-Temporal Asset Catalogs
|
||||
License: MIT
|
||||
Group: Development/Languages/Python
|
||||
URL: https://github.com/sat-utils/sat-stac
|
||||
Source: https://files.pythonhosted.org/packages/f3/s/sat-stac/%{packagename}-%{version}.tar.gz
|
||||
BuildRequires: %{python_module python-dateutil >= 2.7.5}
|
||||
@@ -52,13 +51,11 @@ API such as sat-api.
|
||||
|
||||
%install
|
||||
%python_install
|
||||
%python_expand %fdupes %{buildroot}%{$python_sitelib}
|
||||
for p in %{packagename} ; do
|
||||
%python_clone -a %{buildroot}%{_bindir}/$p
|
||||
done
|
||||
|
||||
%python_expand %fdupes %{buildroot}%{$python_sitearch}
|
||||
%prepare_alternative %{packagename}
|
||||
|
||||
%post
|
||||
%python_install_alternative %{packagename}
|
||||
|
||||
|
Reference in New Issue
Block a user