public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Benjamin A. Beasley <code@musicinmybrain.net>
To: git-commits@fedoraproject.org
Subject: [rpms/rust-pyo3-ffi0.24] epel9: Compat package no longer needed
Date: Fri, 07 Aug 2026 09:55:59 GMT [thread overview]
Message-ID: <178609655929.1.15243314027736569757.rpms-rust-pyo3-ffi0.24-f887f54f7637@fedoraproject.org> (raw)
A new commit has been pushed.
Repo : rpms/rust-pyo3-ffi0.24
Branch : epel9
Commit : f887f54f7637360fd9ead55ba91e4461c33b89f8
Author : Benjamin A. Beasley <code@musicinmybrain.net>
Date : 2026-03-14T22:35:21+00:00
Stats : +1/-239 in 6 file(s)
URL : https://src.fedoraproject.org/rpms/rust-pyo3-ffi0.24/c/f887f54f7637360fd9ead55ba91e4461c33b89f8?branch=epel9
Log:
Compat package no longer needed
---
diff --git a/.gitignore b/.gitignore
deleted file mode 100644
index 1d223d2..0000000
--- a/.gitignore
+++ /dev/null
@@ -1 +0,0 @@
-/pyo3-ffi-0.24.2.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..382e6f5
--- /dev/null
+++ b/dead.package
@@ -0,0 +1 @@
+Compat package no longer needed
diff --git a/rust-pyo3-ffi0.24.spec b/rust-pyo3-ffi0.24.spec
deleted file mode 100644
index 6536e55..0000000
--- a/rust-pyo3-ffi0.24.spec
+++ /dev/null
@@ -1,185 +0,0 @@
-# Generated by rust2rpm 27
-%bcond check 1
-%global debug_package %{nil}
-
-%global crate pyo3-ffi
-
-Name: rust-pyo3-ffi0.24
-Version: 0.24.2
-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-py313-devel
-Summary: %{summary}
-BuildArch: noarch
-
-%description -n %{name}+abi3-py313-devel %{_description}
-
-This package contains library source intended for building other packages which
-use the "abi3-py313" feature of the "%{crate}" crate.
-
-%files -n %{name}+abi3-py313-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 f2371e2..0000000
--- a/sources
+++ /dev/null
@@ -1 +0,0 @@
-SHA512 (pyo3-ffi-0.24.2.crate) = cf18b1048f5f30948cfa213c5f812d50253ac79fb1f1a8eef1034ca91d0ba720428b546294f75327df6243889915d25d398a7bce446cabc3b9aae661ba973058
reply other threads:[~2026-08-07 9:55 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=178609655929.1.15243314027736569757.rpms-rust-pyo3-ffi0.24-f887f54f7637@fedoraproject.org \
--to=code@musicinmybrain.net \
--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