Restore the removal of the bundled libbpf

Signed-off-by: Michel Alexandre Salim <salimma@fedoraproject.org>
epel9
Michel Alexandre Salim 2 years ago
parent cab0fce016
commit 2023c179b2
No known key found for this signature in database
GPG Key ID: 8B229D2F7CCC04F2

@ -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

Loading…
Cancel
Save