Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package libffi for openSUSE:Factory checked in at 2021-12-09 19:44:51 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/libffi (Old) and /work/SRC/openSUSE:Factory/.libffi.new.2520 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "libffi" Thu Dec 9 19:44:51 2021 rev:10 rq:935125 version:3.4.2 Changes: -------- --- /work/SRC/openSUSE:Factory/libffi/libffi.changes 2020-03-18 12:39:11.348719257 +0100 +++ /work/SRC/openSUSE:Factory/.libffi.new.2520/libffi.changes 2021-12-09 19:44:52.453112024 +0100 @@ -1,0 +2,23 @@ +Wed Dec 1 15:44:46 UTC 2021 - Dirk M??ller <dmuel...@suse.com> + +- disable static trampolines (bsc#1193272) + +------------------------------------------------------------------- +Fri Nov 26 21:41:22 UTC 2021 - Dirk M??ller <dmuel...@suse.com> + +- update to 3.4.2: + * Add static trampoline support for Linux on x86_64 and ARM64. + * Add support for Alibaba's CSKY architecture. + * Add support for Kalray's KVX architecture. + * Add support for Intel Control-flow Enforcement Technology (CET). + * Add support for ARM Pointer Authentication (PA). + * Fix 32-bit PPC regression. + * Fix MIPS soft-float problem. + * Enable tmpdir override with the $LIBFFI_TMPDIR environment variable. + * Enable compatibility with MSVC runtime stack checking. + * Reject float and small integer argument in ffi_prep_cif_var(). + * Callers must promote these types themselves. +- drop aarch64.patch: fixed upstream differently +- drop info dependency, uses file triggers now + +------------------------------------------------------------------- Old: ---- _service aarch64.patch libffi-3.3.git30.tar.xz New: ---- libffi-3.4.2.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ libffi.spec ++++++ --- /var/tmp/diff_new_pack.lgWbH2/_old 2021-12-09 19:44:53.693112621 +0100 +++ /var/tmp/diff_new_pack.lgWbH2/_new 2021-12-09 19:44:53.697112623 +0100 @@ -1,7 +1,7 @@ # # spec file for package libffi # -# Copyright (c) 2020 SUSE LLC +# Copyright (c) 2021 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -17,28 +17,21 @@ %define libffi_sover 8 - Name: libffi -Version: 3.3.git30 +Version: 3.4.2 Release: 0 Summary: Foreign Function Interface Library License: MIT Group: Development/Languages/C and C++ -URL: https://github.com/libffi/ -Source: %name-%version.tar.xz +URL: https://sourceware.org/libffi/ +Source: https://github.com/libffi/libffi/releases/download/v%{version}/libffi-%{version}.tar.gz Source99: baselibs.conf -# Workaround from https://github.com/libffi/libffi/issues/498 -Patch3: aarch64.patch -BuildRoot: %{_tmppath}/%{name}-%{version}-build -BuildRequires: autoconf -BuildRequires: automake -BuildRequires: gcc-c++ -BuildRequires: libtool -BuildRequires: makeinfo -BuildRequires: pkg-config # for make check BuildRequires: dejagnu BuildRequires: expect +BuildRequires: gcc-c++ +BuildRequires: makeinfo +BuildRequires: pkgconfig %description The libffi library provides a portable, high level programming @@ -46,12 +39,10 @@ call any function specified by a call interface description at run time. - %package devel Summary: Include files for development with libffi Group: Development/Languages/C and C++ Requires: libffi%{libffi_sover} = %{version} -PreReq: %{install_info_prereq} %description devel The libffi library provides a portable, high level programming @@ -59,12 +50,6 @@ call any function specified by a call interface description at run time. -%post devel -%install_info --info-dir=%{_infodir} %{_infodir}/libffi.info.gz - -%preun devel -%install_info_delete --info-dir=%{_infodir} %{_infodir}/libffi.info.gz - %package -n libffi%{libffi_sover} Summary: Foreign Function Interface Library Group: System/Libraries @@ -80,37 +65,34 @@ %prep %setup -q -%patch3 -p1 %build -./autogen.sh -%configure -make %{?_smp_mflags} +# https://github.com/libffi/libffi/pull/647 +%configure --disable-exec-static-tramp +%make_build %check # do not disable "make check", FIX THE BUGS! -make %{?_smp_mflags} check +%make_build check %install -make DESTDIR=%{buildroot} install +%make_install # do not package the static library rm %{buildroot}%{_libdir}/libffi.a rm %{buildroot}%{_libdir}/libffi.la %files devel -%defattr(-,root,root) %{_libdir}/libffi.so -%{_prefix}/include/ffi.h -%{_prefix}/include/ffitarget.h +%{_includedir}/ffi.h +%{_includedir}/ffitarget.h %{_libdir}/pkgconfig/libffi.pc -%doc %{_mandir}/man3/ffi.3.gz -%doc %{_mandir}/man3/ffi_call.3.gz -%doc %{_mandir}/man3/ffi_prep_cif.3.gz -%doc %{_mandir}/man3/ffi_prep_cif_var.3.gz -%doc %{_infodir}/libffi.info.gz +%{_mandir}/man3/ffi.3%{?ext_man} +%{_mandir}/man3/ffi_call.3%{?ext_man} +%{_mandir}/man3/ffi_prep_cif.3%{?ext_man} +%{_mandir}/man3/ffi_prep_cif_var.3%{?ext_man} +%{_infodir}/libffi.info%{?ext_info} %files -n libffi%{libffi_sover} -%defattr(-,root,root) %license LICENSE %{_libdir}/libffi.so.%{libffi_sover}*