Auto sync2gitlab import of python-rpm-macros-3-43.el8.src.rpm

This commit is contained in:
CentOS Sources 2022-07-30 02:10:07 +00:00
parent c100325049
commit b18b7d538a
2 changed files with 8 additions and 2 deletions

View File

@ -76,7 +76,7 @@
}
# This is intended for Python 3 only, hence also no Python version in the name.
%__pytest /usr/bin/pytest-3
%__pytest /usr/bin/pytest-%{_python3_pkgversion_with_dot}
%pytest %{expand:\\\
CFLAGS="${CFLAGS:-${RPM_OPT_FLAGS}}" LDFLAGS="${LDFLAGS:-${RPM_LD_FLAGS}}"\\\
PATH="%{buildroot}%{_bindir}:$PATH"\\\

View File

@ -1,6 +1,6 @@
Name: python-rpm-macros
Version: 3
Release: 42%{?dist}
Release: 43%{?dist}
Summary: The unversioned Python RPM macros
License: MIT
@ -43,6 +43,8 @@ Summary: RPM macros for building Python 3 packages
Conflicts: platform-python-devel < 3.6.8-35
# For %%py_setup
Requires: python-rpm-macros = %{version}-%{release}
# For %%_python3_pkgversion_with_dot needed by %%__pytest
Requires: python-srpm-macros = %{version}-%{release}
%description -n python3-rpm-macros
RPM macros for building Python 3 packages.
@ -73,6 +75,10 @@ install -m 644 %{SOURCE0} %{SOURCE1} %{SOURCE2} %{SOURCE3} %{SOURCE4} \
%changelog
* Tue Jul 26 2022 Tomas Orsava <torsava@redhat.com> - 3-43
- Make %%pytest macro respect %%python3_pkgversion
Resolves: rhbz#2091462
* Wed May 25 2022 Miro Hrončok <mhroncok@redhat.com> - 3-42
- Make %%py3_dist respect %%python3_pkgversion
Resolves: rhbz#2090007