Use __python3 macro for CentOS compatibility

This commit is contained in:
Joel Capitao 2020-09-21 14:41:37 +02:00
parent 9286670d76
commit d747d8bf04

View File

@ -3,7 +3,7 @@
Name: python-%{pypi_name}
Version: %{zstd_version}.1
Release: 1%{?dist}
Release: 2%{?dist}
Summary: Zstd Bindings for Python
License: BSD
@ -50,7 +50,7 @@ sed -i -e '/test_version/d' tests/__init__.py
%py3_install
%check
%python3 setup.py test
%{__python3} setup.py test
%files -n python3-%{pypi_name}
%license LICENSE
@ -59,5 +59,8 @@ sed -i -e '/test_version/d' tests/__init__.py
%{python3_sitearch}/%{pypi_name}*.so
%changelog
* Mon Sep 21 2020 Joel Capitao <jcapitao@redhat.com> - 1.4.5.1-2
- Edit macro for CentOS interoperability
* Sun Aug 23 2020 Neal Gompa <ngompa13@gmail.com> - 1.4.5.1-1
- Initial package (#1870571)