Use __python3 macro for CentOS compatibility
This commit is contained in:
parent
9286670d76
commit
d747d8bf04
@ -3,7 +3,7 @@
|
|||||||
|
|
||||||
Name: python-%{pypi_name}
|
Name: python-%{pypi_name}
|
||||||
Version: %{zstd_version}.1
|
Version: %{zstd_version}.1
|
||||||
Release: 1%{?dist}
|
Release: 2%{?dist}
|
||||||
Summary: Zstd Bindings for Python
|
Summary: Zstd Bindings for Python
|
||||||
|
|
||||||
License: BSD
|
License: BSD
|
||||||
@ -50,7 +50,7 @@ sed -i -e '/test_version/d' tests/__init__.py
|
|||||||
%py3_install
|
%py3_install
|
||||||
|
|
||||||
%check
|
%check
|
||||||
%python3 setup.py test
|
%{__python3} setup.py test
|
||||||
|
|
||||||
%files -n python3-%{pypi_name}
|
%files -n python3-%{pypi_name}
|
||||||
%license LICENSE
|
%license LICENSE
|
||||||
@ -59,5 +59,8 @@ sed -i -e '/test_version/d' tests/__init__.py
|
|||||||
%{python3_sitearch}/%{pypi_name}*.so
|
%{python3_sitearch}/%{pypi_name}*.so
|
||||||
|
|
||||||
%changelog
|
%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
|
* Sun Aug 23 2020 Neal Gompa <ngompa13@gmail.com> - 1.4.5.1-1
|
||||||
- Initial package (#1870571)
|
- Initial package (#1870571)
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user