public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Sandro Mani <manisandro@gmail.com>
To: git-commits@fedoraproject.org
Subject: [rpms/mingw-python-wheel] rawhide: Rebuild (mingw-python-3.14) - bootstrap
Date: Wed, 23 Sep 2026 16:43:32 GMT	[thread overview]
Message-ID: <179018181292.1.6484906261727729514.rpms-mingw-python-wheel-c3eb27ccad29@fedoraproject.org> (raw)

A new commit has been pushed.

Repo   : rpms/mingw-python-wheel
Branch : rawhide
Commit : c3eb27ccad29ad6038a6db767b193b8f91e9a3aa
Author : Sandro Mani <manisandro@gmail.com>
Date   : 2026-09-23T18:43:25+02:00
Stats  : +47/-5 in 1 file(s)
URL    : https://src.fedoraproject.org/rpms/mingw-python-wheel/c/c3eb27ccad29ad6038a6db767b193b8f91e9a3aa?branch=rawhide

Log:
Rebuild (mingw-python-3.14) - bootstrap

---
diff --git a/mingw-python-wheel.spec b/mingw-python-wheel.spec
index 549cb02..ebd3d7b 100644
--- a/mingw-python-wheel.spec
+++ b/mingw-python-wheel.spec
@@ -1,3 +1,8 @@
+# This package is required by python-build to build wheels.
+# To bootstrap, we copy the files to appropriate locations manually and create a minimal dist-info metadata.
+# Note that as a pure Python package, the wheel contains no pre-built binary stuff.
+%bcond_without     bootstrap
+
 %{?mingw_package_header}
 
 %global pypi_name wheel
@@ -5,7 +10,7 @@
 Name:          mingw-python-%{pypi_name}
 Summary:       MinGW Windows Python %{pypi_name} library
 Version:       0.48.0
-Release:       1%{?dist}
+Release:       2%{?dist}
 BuildArch:     noarch
 
 License:       MIT AND (Apache-2.0 OR BSD-2-Clause)
@@ -14,13 +19,17 @@ Source0:       %{pypi_source %{pypi_name} %{version}}
 
 BuildRequires: mingw32-filesystem
 BuildRequires: mingw32-python3
+%if %{without bootstrap}
 BuildRequires: mingw32-python3-build
 BuildRequires: mingw32-python3-flit-core
+%endif
 
 BuildRequires: mingw64-filesystem
 BuildRequires: mingw64-python3
+%if %{without bootstrap}
 BuildRequires: mingw64-python3-build
 BuildRequires: mingw64-python3-flit-core
+%endif
 
 # Don't scan */bin/wheel for requires, it would generate a Requires: pythonX.Y
 %global __requires_exclude_from ^.*/bin/wheel$
@@ -48,39 +57,72 @@ MinGW Windows Python3 %{pypi_name} library.
 
 
 %build
+%if %{with bootstrap}
+%global distinfo %{pypi_name}-%{version}+rpmbootstrap.dist-info
+mkdir %{distinfo}
+cat > %{distinfo}/METADATA << EOF
+Metadata-Version: 2.2
+Name: %{pypi_name}
+Version: 1.0.1
+EOF
+%else
+%global distinfo %{pypi_name}-%{version}.dist-info
 %mingw32_py3_build_wheel
 %mingw64_py3_build_wheel
 %mingw32_py3_build_host_wheel
 %mingw64_py3_build_host_wheel
+%endif
 
 
 %install
+%if %{with bootstrap}
+mkdir -p %{buildroot}%{mingw32_python3_sitearch}
+mkdir -p %{buildroot}%{mingw64_python3_sitearch}
+cp -a src/wheel %{distinfo} %{buildroot}%{mingw32_python3_sitearch}/
+cp -a src/wheel %{distinfo} %{buildroot}%{mingw64_python3_sitearch}/
+mkdir -p %{buildroot}%{mingw32_python3_hostsitearch}
+mkdir -p %{buildroot}%{mingw64_python3_hostsitearch}
+cp -a src/wheel %{distinfo} %{buildroot}%{mingw32_python3_hostsitearch}/
+cp -a src/wheel %{distinfo} %{buildroot}%{mingw64_python3_hostsitearch}/
+%else
 %mingw32_py3_install_wheel
 %mingw64_py3_install_wheel
 %mingw32_py3_install_host_wheel
 %mingw64_py3_install_host_wheel
+%endif
 
 
 %files -n mingw32-python3-%{pypi_name}
 %license LICENSE.txt
+%if !%{with bootstrap}
 %{mingw32_bindir}/wheel
+%endif
 %{mingw32_python3_sitearch}/%{pypi_name}/
-%{mingw32_python3_sitearch}/%{pypi_name}-%{version}.dist-info/
+%{mingw32_python3_sitearch}/%{distinfo}
+%if !%{with bootstrap}
 %{_prefix}/%{mingw32_target}/bin/wheel
+%endif
 %{mingw32_python3_hostsitearch}/%{pypi_name}/
-%{mingw32_python3_hostsitearch}/%{pypi_name}-%{version}.dist-info/
+%{mingw32_python3_hostsitearch}/%{distinfo}
 
 %files -n mingw64-python3-%{pypi_name}
 %license LICENSE.txt
+%if !%{with bootstrap}
 %{mingw64_bindir}/wheel
+%endif
 %{mingw64_python3_sitearch}/%{pypi_name}/
-%{mingw64_python3_sitearch}/%{pypi_name}-%{version}.dist-info/
+%{mingw64_python3_sitearch}/%{distinfo}
+%if !%{with bootstrap}
 %{_prefix}/%{mingw64_target}/bin/wheel
+%endif
 %{mingw64_python3_hostsitearch}/%{pypi_name}/
-%{mingw64_python3_hostsitearch}/%{pypi_name}-%{version}.dist-info/
+%{mingw64_python3_hostsitearch}/%{distinfo}
 
 
 %changelog
+* Tue Sep 22 2026 Sandro Mani <manisandro@gmail.com> - 0.48.0-2
+- Rebuild (mingw-python)
+
 * Sun Aug 16 2026 Sandro Mani <manisandro@gmail.com> - 0.48.0-1
 - Update to 0.48.0
 

                 reply	other threads:[~2026-09-23 16:43 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=179018181292.1.6484906261727729514.rpms-mingw-python-wheel-c3eb27ccad29@fedoraproject.org \
    --to=manisandro@gmail.com \
    --cc=git-commits@fedoraproject.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox