14
0

- 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:
Tomáš Chvátal
2020-08-10 11:46:52 +00:00
committed by Git OBS Bridge
parent bb9a14b9f5
commit 0c2f0bb83d
2 changed files with 6 additions and 4 deletions

View File

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

View File

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