| |
@@ -77,6 +77,12 @@
|
| |
Requires: /usr/bin/find
|
| |
Requires: /usr/bin/sed
|
| |
|
| |
+ # This package requires the %%generate_buildrequires functionality.
|
| |
+ # It has been introduced in RPM 4.15 (4.14.90 is the alpha of 4.15).
|
| |
+ # What we need is rpmlib(DynamicBuildRequires), but that is impossible to (Build)Require.
|
| |
+ Requires: (rpm-build >= 4.14.90 if rpm-build)
|
| |
+ BuildRequires: rpm-build >= 4.14.90
|
| |
+
|
| |
%description
|
| |
These macros allow projects that follow the Python packaging specifications
|
| |
to be packaged as RPMs.
|
| |
@@ -95,6 +101,7 @@
|
| |
%package -n pyproject-srpm-macros
|
| |
Summary: Minimal implementation of %%pyproject_buildrequires
|
| |
Requires: (pyproject-rpm-macros = %{?epoch:%{epoch}:}%{version}-%{release} if pyproject-rpm-macros)
|
| |
+ Requires: (rpm-build >= 4.14.90 if rpm-build)
|
| |
|
| |
%description -n pyproject-srpm-macros
|
| |
This package contains a minimal implementation of %%pyproject_buildrequires.
|
| |
@@ -109,6 +116,9 @@
|
| |
%setup -c -T
|
| |
cp -p %{sources} .
|
| |
|
| |
+ %generate_buildrequires
|
| |
+ # nothing to do, this is here just to assert we have that functionality
|
| |
+
|
| |
%build
|
| |
# nothing to do, sources are not buildable
|
| |
|
| |
@@ -161,8 +171,10 @@
|
| |
|
| |
|
| |
%changelog
|
| |
- * Wed Sep 13 2023 Karolina Surma <ksurma@redhat.com> - 1.10.0-1
|
| |
+ * Wed Sep 13 2023 Python Maint <python-maint@redhat.com> - 1.10.0-1
|
| |
- Add %%_pyproject_check_import_allow_no_modules for automated environments
|
| |
+ - Fix handling of tox 4 provision without and explicit tox minversion
|
| |
+ - Fixes: rhbz#2240590
|
| |
|
| |
* Fri Jul 21 2023 Fedora Release Engineering <releng@fedoraproject.org> - 1.9.0-2
|
| |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild
|
| |