From 2023c179b2d9324436ef2d2adbd10ae03ecc7e4f Mon Sep 17 00:00:00 2001 From: Michel Alexandre Salim Date: Fri, 9 Dec 2022 16:24:10 -0600 Subject: [PATCH] Restore the removal of the bundled libbpf Signed-off-by: Michel Alexandre Salim --- rust-libbpf-sys.spec | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/rust-libbpf-sys.spec b/rust-libbpf-sys.spec index 445f7e1..d394660 100644 --- a/rust-libbpf-sys.spec +++ b/rust-libbpf-sys.spec @@ -40,9 +40,6 @@ use the "%{crate}" crate. %files devel %license %{crate_instdir}/LICENSE -%license %{crate_instdir}/libbpf/LICENSE -%license %{crate_instdir}/libbpf/LICENSE.BSD-2-Clause -%license %{crate_instdir}/libbpf/LICENSE.LGPL-2.1 %doc %{crate_instdir}/README.md %{crate_instdir}/ @@ -96,6 +93,8 @@ use the "static" feature of the "%{crate}" crate. %prep %autosetup -n %{crate}-%{upstream_version} -p1 +# Remove bundled libbpf +rm -r libbpf %cargo_prep %generate_buildrequires