Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package libbpf for openSUSE:Factory checked 
in at 2022-03-14 19:35:09
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/libbpf (Old)
 and      /work/SRC/openSUSE:Factory/.libbpf.new.25692 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "libbpf"

Mon Mar 14 19:35:09 2022 rev:9 rq:961212 version:0.7.0

Changes:
--------
--- /work/SRC/openSUSE:Factory/libbpf/libbpf.changes    2022-03-07 
19:04:40.657997518 +0100
+++ /work/SRC/openSUSE:Factory/.libbpf.new.25692/libbpf.changes 2022-03-14 
19:37:03.918126306 +0100
@@ -1,0 +2,12 @@
+Thu Mar 10 18:28:17 UTC 2022 - Jeff Mahoney <je...@suse.com>
+
+- Enable building and packaging of static library.
+  Explicitly enable fat LTO objects.
+
+-------------------------------------------------------------------
+Mon Mar  7 11:52:14 UTC 2022 - Jan Engelhardt <jeng...@inai.de>
+
+- Python is not used during build; remove it and help break
+  a cycle.
+
+-------------------------------------------------------------------

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ libbpf.spec ++++++
--- /var/tmp/diff_new_pack.9ahGnO/_old  2022-03-14 19:37:04.306126771 +0100
+++ /var/tmp/diff_new_pack.9ahGnO/_new  2022-03-14 19:37:04.318126784 +0100
@@ -28,7 +28,6 @@
 Source99:       baselibs.conf
 BuildRequires:  libelf-devel
 BuildRequires:  linux-glibc-devel >= 4.5
-BuildRequires:  python3
 BuildRequires:  zlib-devel
 
 %description
@@ -48,17 +47,26 @@
 %description devel
 libbpf is a C library which provides API for managing eBPF programs and maps.
 
+%package devel-static
+Summary:        Static library for libbpf
+Requires:       %{libname} = %{version}
+Requires:       %{name}-devel = %{version}
+Requires:       linux-glibc-devel >= 5.16
+
+%description devel-static
+libbpf is a C library which provides API for managing eBPF programs and maps.
+
 %prep
 %autosetup
 
 %build
+%global _lto_cflags %{_lto_cflags} -ffat-lto-objects
 cd src
 %make_build V=1 CFLAGS="%{optflags}"
 
 %install
 cd src
 %make_install V=1
-rm -f %{buildroot}%{_libdir}/%{name}.a
 
 %post -n %{libname} -p /sbin/ldconfig
 %postun -n %{libname} -p /sbin/ldconfig
@@ -73,4 +81,7 @@
 %{_libdir}/%{name}.so
 %{_libdir}/pkgconfig/%{name}.pc
 
+%files devel-static
+%{_libdir}/%{name}.a
+
 %changelog

Reply via email to