public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Fabio Valentini <decathorpe@gmail.com>
To: git-commits@fedoraproject.org
Subject: [rpms/rust-libbpf-rs0.21] epel9: compat package no longer needed
Date: Mon, 05 Oct 2026 11:36:37 GMT	[thread overview]
Message-ID: <179120019768.1.14847748943195307074.rpms-rust-libbpf-rs0.21-20b11a0626b8@fedoraproject.org> (raw)

A new commit has been pushed.

Repo   : rpms/rust-libbpf-rs0.21
Branch : epel9
Commit : 20b11a0626b8a4f113225607f726fa4dd604566b
Author : Fabio Valentini <decathorpe@gmail.com>
Date   : 2026-10-05T13:36:26+02:00
Stats  : +1/-180 in 8 file(s)
URL    : https://src.fedoraproject.org/rpms/rust-libbpf-rs0.21/c/20b11a0626b8a4f113225607f726fa4dd604566b?branch=epel9

Log:
compat package no longer needed

---
diff --git a/.gitignore b/.gitignore
deleted file mode 100644
index 950b2db..0000000
--- a/.gitignore
+++ /dev/null
@@ -1 +0,0 @@
-/libbpf-rs-0.21.2.crate

diff --git a/README.md b/README.md
deleted file mode 100644
index d8c0f86..0000000
--- a/README.md
+++ /dev/null
@@ -1,3 +0,0 @@
-# rust-libbpf-rs0.21
-
-The rust-libbpf-rs0.21 package

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/libbpf-rs-fix-metadata.diff b/libbpf-rs-fix-metadata.diff
deleted file mode 100644
index b195b7d..0000000
--- a/libbpf-rs-fix-metadata.diff
+++ /dev/null
@@ -1,22 +0,0 @@
---- libbpf-rs-0.21.2/Cargo.toml	1970-01-01T00:00:01+00:00
-+++ libbpf-rs-0.21.2/Cargo.toml	2026-05-18T11:56:03.369302+00:00
-@@ -50,7 +50,7 @@
- default-features = false
- 
- [dependencies.num_enum]
--version = "0.5"
-+version = "0.7"
- 
- [dependencies.strum_macros]
- version = "0.24"
-@@ -78,8 +78,8 @@
- [dev-dependencies.plain]
- version = "0.2.3"
- 
--[dev-dependencies.probe]
--version = "0.3"
-+[target."cfg(any(target_arch = \"x86\", target_arch = \"x86_64\", target_arch = \"aarch64\"))".dev-dependencies.probe]
-+version = "0.5"
- 
- [dev-dependencies.scopeguard]
- version = "1.1"

diff --git a/libbpf-rs-restrict-probe-arches.diff b/libbpf-rs-restrict-probe-arches.diff
deleted file mode 100644
index 09fce01..0000000
--- a/libbpf-rs-restrict-probe-arches.diff
+++ /dev/null
@@ -1,26 +0,0 @@
---- a/tests/test.rs
-+++ b/tests/test.rs
-@@ -17,6 +17,7 @@ use std::time::Duration;
- use nix::errno;
- use nix::unistd::close;
- use plain::Plain;
-+#[cfg(any(target_arch = "x86", target_arch = "x86_64", target_arch = "aarch64"))]
- use probe::probe;
- use scopeguard::defer;
- use std::ptr;
-@@ -1136,6 +1137,7 @@ fn test_sudo_object_map_handle_clone() {
- }
- 
- #[test]
-+#[cfg(any(target_arch = "x86", target_arch = "x86_64", target_arch = "aarch64"))]
- fn test_sudo_object_usdt() {
-     bump_rlimit_mlock();
- 
-@@ -1165,6 +1167,7 @@ fn test_sudo_object_usdt() {
- }
- 
- #[test]
-+#[cfg(any(target_arch = "x86", target_arch = "x86_64", target_arch = "aarch64"))]
- fn test_sudo_object_usdt_cookie() {
-     bump_rlimit_mlock();
- 

diff --git a/rust-libbpf-rs0.21.spec b/rust-libbpf-rs0.21.spec
deleted file mode 100644
index 493b75e..0000000
--- a/rust-libbpf-rs0.21.spec
+++ /dev/null
@@ -1,106 +0,0 @@
-# Generated by rust2rpm 28
-%bcond check 1
-%global debug_package %{nil}
-
-%global crate libbpf-rs
-
-Name:           rust-libbpf-rs0.21
-Version:        0.21.2
-Release:        %autorelease
-Summary:        Safe, idiomatic, and opinionated wrapper around libbpf-sys
-
-License:        LGPL-2.1-only OR BSD-2-Clause
-URL:            https://crates.io/crates/libbpf-rs
-Source:         %{crates_source}
-# Manually created patch for downstream crate metadata changes
-# * bump probe dependency to 0.5
-# * only depend on probe on architectures that support inline assembly
-# * bump num_enum dependency to 0.7
-Patch:          libbpf-rs-fix-metadata.diff
-# * restrict probe tests to architectures that support inline assembly
-Patch10:        libbpf-rs-restrict-probe-arches.diff
-
-BuildRequires:  cargo-rpm-macros >= 24
-
-%global _description %{expand:
-Libbpf-rs is a safe, idiomatic, and opinionated wrapper around libbpf-
-sys.}
-
-%description %{_description}
-
-%package        devel
-Summary:        %{summary}
-BuildArch:      noarch
-
-%description    devel %{_description}
-
-This package contains library source intended for building other packages which
-use the "%{crate}" crate.
-
-%files          devel
-%license %{crate_instdir}/LICENSE
-%license %{crate_instdir}/LICENSE.BSD-2-Clause
-%license %{crate_instdir}/LICENSE.LGPL-2.1
-%doc %{crate_instdir}/CHANGELOG.md
-%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}+novendor-devel
-Summary:        %{summary}
-BuildArch:      noarch
-
-%description -n %{name}+novendor-devel %{_description}
-
-This package contains library source intended for building other packages which
-use the "novendor" feature of the "%{crate}" crate.
-
-%files       -n %{name}+novendor-devel
-%ghost %{crate_instdir}/Cargo.toml
-
-%package     -n %{name}+static-devel
-Summary:        %{summary}
-BuildArch:      noarch
-
-%description -n %{name}+static-devel %{_description}
-
-This package contains library source intended for building other packages which
-use the "static" feature of the "%{crate}" crate.
-
-%files       -n %{name}+static-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
-# most of these tests fail, RLIMIT_MEMLOCK does not work in mock
-rm tests/test.rs
-rm tests/test_tc.rs
-%cargo_test
-%endif
-
-%changelog
-%autochangelog

diff --git a/rust2rpm.toml b/rust2rpm.toml
deleted file mode 100644
index b39c189..0000000
--- a/rust2rpm.toml
+++ /dev/null
@@ -1,21 +0,0 @@
-[package]
-cargo-toml-patch-comments = [
-    "bump probe dependency to 0.5",
-    "only depend on probe on architectures that support inline assembly",
-    "bump num_enum dependency to 0.7",
-]
-summary = "Safe, idiomatic, and opinionated wrapper around libbpf-sys"
-
-[[package.extra-patches]]
-number = 10
-file = "libbpf-rs-restrict-probe-arches.diff"
-comments = [
-    "restrict probe tests to architectures that support inline assembly",
-]
-
-[scripts.check]
-pre = [
-    "# most of these tests fail, RLIMIT_MEMLOCK does not work in mock",
-    "rm tests/test.rs",
-    "rm tests/test_tc.rs",
-]

diff --git a/sources b/sources
deleted file mode 100644
index 90a9647..0000000
--- a/sources
+++ /dev/null
@@ -1 +0,0 @@
-SHA512 (libbpf-rs-0.21.2.crate) = d1f5f5fbfbd1b1674b47799de5dcfd24208b0c9b79dc772e8e6a26f89071d586bb99fb20d3b0d4f1f9f48928d9bcba9889982c8845533e98183eda56c2949ce8

                 reply	other threads:[~2026-10-05 11:36 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=179120019768.1.14847748943195307074.rpms-rust-libbpf-rs0.21-20b11a0626b8@fedoraproject.org \
    --to=decathorpe@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