diff --git a/libbpf.spec b/libbpf.spec index 1ee39d5e30b518fde69e18f2ef589a36a93f3f95..d8ec24f1894d58f92f43afc726f838f118870ab5 100644 --- a/libbpf.spec +++ b/libbpf.spec @@ -4,7 +4,7 @@ Name: %{githubname} Version: %{githubver} -Release: 8 +Release: 9 Summary: Libbpf library License: LGPLv2 or BSD @@ -51,14 +51,6 @@ Requires: kernel-headers >= 5.10.0 The %{name}-devel package contains libraries header files for developing applications that use %{name} -%package static -Summary: Static library for libbpf development -Requires: %{name}-devel = 2:%{version}-%{release} - -%description static -The %{name}-static package contains static library for -developing applications that use %{name} - %global make_flags DESTDIR=%{buildroot} OBJDIR=%{_builddir} CFLAGS="%{build_cflags} -fPIC -Werror" LDFLAGS="%{build_ldflags} -Werror -Wl,--no-as-needed -Wl,-z,noexecstack" LIBDIR=/%{_libdir} NO_PKG_CONFIG=1 %prep @@ -69,6 +61,7 @@ developing applications that use %{name} %install %make_install -C ./src %{make_flags} +rm %{buildroot}%{_libdir}/libbpf.a %files %{_libdir}/libbpf.so.%{githubver} @@ -79,10 +72,10 @@ developing applications that use %{name} %{_includedir}/bpf/ %{_libdir}/pkgconfig/libbpf.pc -%files static -%{_libdir}/libbpf.a - %changelog +* Mon May 22 2023 zhangmingyi -2:0.8.1-9 +- delete libbpf-static package + * Sat May 13 2023 zhangmingyi -2:0.8.1-8 - backport patches from upstream: backport-libbpf-disassociate-section-handler-on-explicit-bpf_.patch