Compare commits
No commits in common. "c8-beta" and "c9s" have entirely different histories.
1
.fmf/version
Normal file
1
.fmf/version
Normal file
@ -0,0 +1 @@
|
|||||||
|
1
|
3
.gitignore
vendored
3
.gitignore
vendored
@ -1 +1,2 @@
|
|||||||
SOURCES/wheel-0.38.4.tar.gz
|
/wheel-0.37.1.tar.gz
|
||||||
|
/wheel-0.38.4.tar.gz
|
||||||
|
@ -1 +0,0 @@
|
|||||||
7c4d1957620ce0a0b0cb5bbd9410d18ed4a531e5 SOURCES/wheel-0.38.4.tar.gz
|
|
7
gating.yaml
Normal file
7
gating.yaml
Normal file
@ -0,0 +1,7 @@
|
|||||||
|
--- !Policy
|
||||||
|
|
||||||
|
product_versions:
|
||||||
|
- rhel-9
|
||||||
|
decision_context: osci_compose_gate
|
||||||
|
rules:
|
||||||
|
- !PassingTestCaseRule {test_case_name: osci.brew-build.tier0.functional}
|
17
plan.fmf
Normal file
17
plan.fmf
Normal file
@ -0,0 +1,17 @@
|
|||||||
|
execute:
|
||||||
|
how: tmt
|
||||||
|
|
||||||
|
environment:
|
||||||
|
VERSION: "3.11"
|
||||||
|
TOX: "false"
|
||||||
|
prepare:
|
||||||
|
- how: install
|
||||||
|
package:
|
||||||
|
- gcc
|
||||||
|
- python3.11-devel
|
||||||
|
|
||||||
|
discover:
|
||||||
|
how: fmf
|
||||||
|
url: https://src.fedoraproject.org/tests/python.git
|
||||||
|
test:
|
||||||
|
- /smoke/venv
|
@ -21,7 +21,7 @@
|
|||||||
|
|
||||||
Name: python%{python3_pkgversion}-%{pypi_name}
|
Name: python%{python3_pkgversion}-%{pypi_name}
|
||||||
Version: 0.38.4
|
Version: 0.38.4
|
||||||
Release: 4%{?dist}
|
Release: 3%{?dist}
|
||||||
Summary: Built-package format for Python
|
Summary: Built-package format for Python
|
||||||
|
|
||||||
# packaging is ASL 2.0 or BSD
|
# packaging is ASL 2.0 or BSD
|
||||||
@ -54,15 +54,6 @@ Provides: bundled(python%{python3_version}dist(packaging)) = 21.3
|
|||||||
|
|
||||||
%{bundled}
|
%{bundled}
|
||||||
|
|
||||||
|
|
||||||
# Require alternatives version that implements the --keep-foreign flag
|
|
||||||
Requires(postun): alternatives >= 1.19.1-1
|
|
||||||
|
|
||||||
# python3.11 installs the alternatives master symlink to which we attach a slave
|
|
||||||
Requires: python%{python3_pkgversion}
|
|
||||||
Requires(post): python%{python3_pkgversion}
|
|
||||||
Requires(postun): python%{python3_pkgversion}
|
|
||||||
|
|
||||||
%global _description %{expand:
|
%global _description %{expand:
|
||||||
Wheel is the reference implementation of the Python wheel packaging standard,
|
Wheel is the reference implementation of the Python wheel packaging standard,
|
||||||
as defined in PEP 427.
|
as defined in PEP 427.
|
||||||
@ -100,8 +91,6 @@ mv %{buildroot}%{_bindir}/%{pypi_name}{,-%{python3_version}}
|
|||||||
ln -s %{pypi_name}-%{python3_version} %{buildroot}%{_bindir}/%{pypi_name}-3
|
ln -s %{pypi_name}-%{python3_version} %{buildroot}%{_bindir}/%{pypi_name}-3
|
||||||
ln -s %{pypi_name}-3 %{buildroot}%{_bindir}/%{pypi_name}
|
ln -s %{pypi_name}-3 %{buildroot}%{_bindir}/%{pypi_name}
|
||||||
%endif
|
%endif
|
||||||
# Create an empty file to be used by `alternatives`
|
|
||||||
touch %{buildroot}%{_bindir}/%{pypi_name}-3
|
|
||||||
|
|
||||||
%if %{without bootstrap}
|
%if %{without bootstrap}
|
||||||
# We can only use bdist_wheel when wheel is installed, hence we don't build the wheel in %%build
|
# We can only use bdist_wheel when wheel is installed, hence we don't build the wheel in %%build
|
||||||
@ -118,20 +107,6 @@ rm setup.cfg # to drop pytest coverage options configured there
|
|||||||
%pytest -v --ignore build
|
%pytest -v --ignore build
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
%post -n python%{python3_pkgversion}-%{pypi_name}
|
|
||||||
alternatives --add-slave python3 %{_bindir}/python%{python3_version} \
|
|
||||||
%{_bindir}/%{pypi_name}-3 \
|
|
||||||
%{pypi_name}-3 \
|
|
||||||
%{_bindir}/%{pypi_name}-%{python3_version}
|
|
||||||
|
|
||||||
%postun -n python%{python3_pkgversion}-%{pypi_name}
|
|
||||||
# Do this only during uninstall process (not during update)
|
|
||||||
if [ $1 -eq 0 ]; then
|
|
||||||
alternatives --keep-foreign --remove-slave python3 %{_bindir}/python%{python3_version} \
|
|
||||||
%{pypi_name}-3
|
|
||||||
fi
|
|
||||||
|
|
||||||
|
|
||||||
%files -n python%{python3_pkgversion}-%{pypi_name}
|
%files -n python%{python3_pkgversion}-%{pypi_name}
|
||||||
%license LICENSE.txt
|
%license LICENSE.txt
|
||||||
%doc README.rst
|
%doc README.rst
|
||||||
@ -140,7 +115,6 @@ fi
|
|||||||
%{_bindir}/%{pypi_name}
|
%{_bindir}/%{pypi_name}
|
||||||
%{_bindir}/%{pypi_name}-3
|
%{_bindir}/%{pypi_name}-3
|
||||||
%endif
|
%endif
|
||||||
%ghost %{_bindir}/%{pypi_name}-3
|
|
||||||
%{python3_sitelib}/%{pypi_name}*/
|
%{python3_sitelib}/%{pypi_name}*/
|
||||||
|
|
||||||
%if %{without bootstrap}
|
%if %{without bootstrap}
|
||||||
@ -152,10 +126,6 @@ fi
|
|||||||
%endif
|
%endif
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
* Fri Apr 21 2023 Lumír Balhar <lbalhar@redhat.com> - 0.38.4-4
|
|
||||||
- Fix alternatives scriptlets
|
|
||||||
Resolves: RHEL-372
|
|
||||||
|
|
||||||
* Wed Feb 01 2023 Charalampos Stratakis <cstratak@redhat.com> - 0.38.4-3
|
* Wed Feb 01 2023 Charalampos Stratakis <cstratak@redhat.com> - 0.38.4-3
|
||||||
- Explicitly require the python3.11-rpm-macros
|
- Explicitly require the python3.11-rpm-macros
|
||||||
|
|
Loading…
Reference in New Issue
Block a user