public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/rust-pyo3-ffi0.23] epel9: compat package no longer needed
@ 2026-08-07  9:52 Fabio Valentini
  0 siblings, 0 replies; only message in thread
From: Fabio Valentini @ 2026-08-07  9:52 UTC (permalink / raw)
  To: git-commits

A new commit has been pushed.

Repo   : rpms/rust-pyo3-ffi0.23
Branch : epel9
Commit : ec66565f752c495d718989f7b0ab1a633b2152e9
Author : Fabio Valentini <decathorpe@gmail.com>
Date   : 2026-02-16T16:36:16+01:00
Stats  : +1/-227 in 6 file(s)
URL    : https://src.fedoraproject.org/rpms/rust-pyo3-ffi0.23/c/ec66565f752c495d718989f7b0ab1a633b2152e9?branch=epel9

Log:
compat package no longer needed

---
diff --git a/.gitignore b/.gitignore
deleted file mode 100644
index 932586b..0000000
--- a/.gitignore
+++ /dev/null
@@ -1 +0,0 @@
-/pyo3-ffi-0.23.5.crate

diff --git a/Allow-unsupported-Python-versions-in-RPM-builds.patch b/Allow-unsupported-Python-versions-in-RPM-builds.patch
deleted file mode 100644
index 739b254..0000000
--- a/Allow-unsupported-Python-versions-in-RPM-builds.patch
+++ /dev/null
@@ -1,33 +0,0 @@
-From af6273b4fbc1c9439a9b1e69761838479ba4bd71 Mon Sep 17 00:00:00 2001
-From: Karolina Surma <ksurma@redhat.com>
-Date: Thu, 18 Apr 2024 09:48:04 +0200
-Subject: [PATCH] Allow unsupported Python versions in RPM builds
-
-Downstream-only patch: always allow unsupported versions of Python.
-In Fedora, we constantly attempt to integrate alpha and beta releases of Python
-and rebuild all dependent packages in Copr. We need to be able to build the
-packages that use pyo3-ffi without patching each and every one of them,
-hence we explicitly allow to skip version check when building RPMs.
----
- build.rs | 5 +++++
- 1 file changed, 5 insertions(+)
-
-diff --git a/build.rs b/build.rs
-index 286767d..ef666d7 100644
---- a/build.rs
-+++ b/build.rs
-@@ -36,6 +36,11 @@ fn ensure_python_version(interpreter_config: &InterpreterConfig) -> Result<()> {
-         return Ok(());
-     }
- 
-+    // Skip version check when building RPMs - we want to build them with unsupported Python versions too
-+    if std::env::var("RPM_BUILD_ROOT").as_deref().is_ok() {
-+        return Ok(());
-+    }
-+
-     match interpreter_config.implementation {
-         PythonImplementation::CPython => {
-             let versions = SUPPORTED_VERSIONS_CPYTHON;
--- 
-2.44.0
-

diff --git a/dead.package b/dead.package
new file mode 100644
index 0000000..3f67be8
--- /dev/null
+++ b/dead.package
@@ -0,0 +1 @@
+compat package no longer needed

diff --git a/rust-pyo3-ffi0.23.spec b/rust-pyo3-ffi0.23.spec
deleted file mode 100644
index 3fc931b..0000000
--- a/rust-pyo3-ffi0.23.spec
+++ /dev/null
@@ -1,173 +0,0 @@
-# Generated by rust2rpm 27
-%bcond check 1
-%global debug_package %{nil}
-
-%global crate pyo3-ffi
-
-Name:           rust-pyo3-ffi0.23
-Version:        0.23.5
-Release:        %autorelease
-Summary:        Python-API bindings for the PyO3 ecosystem
-
-License:        MIT OR Apache-2.0
-URL:            https://crates.io/crates/pyo3-ffi
-Source:         %{crates_source}
-# * Downstream-only patch: always allow unsupported versions of Python.
-#   We constantly attempt to integrate alpha and beta releases of Python
-#   and need to rebuild all dependent packages in Copr, also those that
-#   use pyo3-ffi without patching each and every one of them, hence we
-#   explicitly allow to skip version check when building RPMs.
-Patch2:         Allow-unsupported-Python-versions-in-RPM-builds.patch
-
-BuildRequires:  cargo-rpm-macros >= 24
-BuildRequires:  python3-devel >= 3.7
-
-%global _description %{expand:
-Python-API bindings for the PyO3 ecosystem.}
-
-%description %{_description}
-
-%package        devel
-Summary:        %{summary}
-BuildArch:      noarch
-Requires:       python3-devel >= 3.7
-
-%description    devel %{_description}
-
-This package contains library source intended for building other packages which
-use the "%{crate}" crate.
-
-%files          devel
-%license %{crate_instdir}/LICENSE-APACHE
-%license %{crate_instdir}/LICENSE-MIT
-%doc %{crate_instdir}/README.md
-%{crate_instdir}/
-
-%package     -n %{name}+default-devel
-Summary:        %{summary}
-BuildArch:      noarch
-
-%description -n %{name}+default-devel %{_description}
-
-This package contains library source intended for building other packages which
-use the "default" feature of the "%{crate}" crate.
-
-%files       -n %{name}+default-devel
-%ghost %{crate_instdir}/Cargo.toml
-
-%package     -n %{name}+abi3-devel
-Summary:        %{summary}
-BuildArch:      noarch
-
-%description -n %{name}+abi3-devel %{_description}
-
-This package contains library source intended for building other packages which
-use the "abi3" feature of the "%{crate}" crate.
-
-%files       -n %{name}+abi3-devel
-%ghost %{crate_instdir}/Cargo.toml
-
-%package     -n %{name}+abi3-py310-devel
-Summary:        %{summary}
-BuildArch:      noarch
-
-%description -n %{name}+abi3-py310-devel %{_description}
-
-This package contains library source intended for building other packages which
-use the "abi3-py310" feature of the "%{crate}" crate.
-
-%files       -n %{name}+abi3-py310-devel
-%ghost %{crate_instdir}/Cargo.toml
-
-%package     -n %{name}+abi3-py311-devel
-Summary:        %{summary}
-BuildArch:      noarch
-
-%description -n %{name}+abi3-py311-devel %{_description}
-
-This package contains library source intended for building other packages which
-use the "abi3-py311" feature of the "%{crate}" crate.
-
-%files       -n %{name}+abi3-py311-devel
-%ghost %{crate_instdir}/Cargo.toml
-
-%package     -n %{name}+abi3-py312-devel
-Summary:        %{summary}
-BuildArch:      noarch
-
-%description -n %{name}+abi3-py312-devel %{_description}
-
-This package contains library source intended for building other packages which
-use the "abi3-py312" feature of the "%{crate}" crate.
-
-%files       -n %{name}+abi3-py312-devel
-%ghost %{crate_instdir}/Cargo.toml
-
-%package     -n %{name}+abi3-py37-devel
-Summary:        %{summary}
-BuildArch:      noarch
-
-%description -n %{name}+abi3-py37-devel %{_description}
-
-This package contains library source intended for building other packages which
-use the "abi3-py37" feature of the "%{crate}" crate.
-
-%files       -n %{name}+abi3-py37-devel
-%ghost %{crate_instdir}/Cargo.toml
-
-%package     -n %{name}+abi3-py38-devel
-Summary:        %{summary}
-BuildArch:      noarch
-
-%description -n %{name}+abi3-py38-devel %{_description}
-
-This package contains library source intended for building other packages which
-use the "abi3-py38" feature of the "%{crate}" crate.
-
-%files       -n %{name}+abi3-py38-devel
-%ghost %{crate_instdir}/Cargo.toml
-
-%package     -n %{name}+abi3-py39-devel
-Summary:        %{summary}
-BuildArch:      noarch
-
-%description -n %{name}+abi3-py39-devel %{_description}
-
-This package contains library source intended for building other packages which
-use the "abi3-py39" feature of the "%{crate}" crate.
-
-%files       -n %{name}+abi3-py39-devel
-%ghost %{crate_instdir}/Cargo.toml
-
-%package     -n %{name}+extension-module-devel
-Summary:        %{summary}
-BuildArch:      noarch
-
-%description -n %{name}+extension-module-devel %{_description}
-
-This package contains library source intended for building other packages which
-use the "extension-module" feature of the "%{crate}" crate.
-
-%files       -n %{name}+extension-module-devel
-%ghost %{crate_instdir}/Cargo.toml
-
-%prep
-%autosetup -n %{crate}-%{version} -p1
-%cargo_prep
-
-%generate_buildrequires
-%cargo_generate_buildrequires
-
-%build
-%cargo_build
-
-%install
-%cargo_install
-
-%if %{with check}
-%check
-%cargo_test
-%endif
-
-%changelog
-%autochangelog

diff --git a/rust2rpm.toml b/rust2rpm.toml
deleted file mode 100644
index dc8d333..0000000
--- a/rust2rpm.toml
+++ /dev/null
@@ -1,19 +0,0 @@
-[[package.extra-patches]]
-number = 2
-file = "Allow-unsupported-Python-versions-in-RPM-builds.patch"
-comments = ["""\
-Downstream-only patch: always allow unsupported versions of Python.
-We constantly attempt to integrate alpha and beta releases of Python
-and need to rebuild all dependent packages in Copr, also those that
-use pyo3-ffi without patching each and every one of them, hence we
-explicitly allow to skip version check when building RPMs.""",
-]
-
-[features]
-# drop MSVC- and MinGW-only features
-hide = ["generate-import-lib"]
-
-[requires]
-build = ["python3-devel >= 3.7"]
-lib = ["python3-devel >= 3.7"]
-

diff --git a/sources b/sources
deleted file mode 100644
index 0093cb3..0000000
--- a/sources
+++ /dev/null
@@ -1 +0,0 @@
-SHA512 (pyo3-ffi-0.23.5.crate) = 37c25b21acc3718eab842c04489b0c16c04d33a30fe7f3f58cd80943048203375d8788ce84153ba3720df695fc95bf9f7bccacfa02b0e669a5ddbfc44d65f86c

^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2026-08-07  9:52 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-08-07  9:52 [rpms/rust-pyo3-ffi0.23] epel9: compat package no longer needed Fabio Valentini

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox