Remove -s from Python shebang
This ensures that packages installed with pip to user locations are testable Fixes https://bugzilla.redhat.com/2152171
This commit is contained in:
parent
217ff3086d
commit
5ca82727df
12
pytest.spec
12
pytest.spec
@ -2,7 +2,7 @@ Name: pytest
|
|||||||
%global base_version 7.2.0
|
%global base_version 7.2.0
|
||||||
#global prerelease ...
|
#global prerelease ...
|
||||||
Version: %{base_version}%{?prerelease:~%{prerelease}}
|
Version: %{base_version}%{?prerelease:~%{prerelease}}
|
||||||
Release: 1%{?dist}
|
Release: 2%{?dist}
|
||||||
Summary: Simple powerful testing with Python
|
Summary: Simple powerful testing with Python
|
||||||
License: MIT
|
License: MIT
|
||||||
URL: https://pytest.org
|
URL: https://pytest.org
|
||||||
@ -10,6 +10,11 @@ Source: %{pypi_source pytest %{base_version}%{?prerelease}}
|
|||||||
# see https://github.com/pytest-dev/pytest/issues/10042#issuecomment-1237132867
|
# see https://github.com/pytest-dev/pytest/issues/10042#issuecomment-1237132867
|
||||||
Patch: pytest-7.1.3-fix-xfails.patch
|
Patch: pytest-7.1.3-fix-xfails.patch
|
||||||
|
|
||||||
|
# Remove -s from Python shebang,
|
||||||
|
# ensure that packages installed with pip to user locations are testable
|
||||||
|
# https://bugzilla.redhat.com/2152171
|
||||||
|
%undefine _py3_shebang_s
|
||||||
|
|
||||||
# When building pytest for the first time with new Python version
|
# When building pytest for the first time with new Python version
|
||||||
# we might not yet have all the BRs, those conditionals allow us to do that.
|
# we might not yet have all the BRs, those conditionals allow us to do that.
|
||||||
|
|
||||||
@ -161,6 +166,11 @@ find %{buildroot}%{python3_sitelib} \
|
|||||||
|
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Sat Dec 10 2022 Miro Hrončok <mhroncok@redhat.com> - 7.2.0-2
|
||||||
|
- Remove -s from Python shebang,
|
||||||
|
ensure that packages installed with pip to user locations are testable
|
||||||
|
- Fixes: rhbz#2152171
|
||||||
|
|
||||||
* Tue Nov 01 2022 Lumír Balhar <lbalhar@redhat.com> - 7.2.0-1
|
* Tue Nov 01 2022 Lumír Balhar <lbalhar@redhat.com> - 7.2.0-1
|
||||||
- Update to 7.2.0
|
- Update to 7.2.0
|
||||||
Resolves: rhbz#2137514
|
Resolves: rhbz#2137514
|
||||||
|
Loading…
Reference in New Issue
Block a user