|
|
|
@ -3,16 +3,19 @@
|
|
|
|
|
%global multilib_arches %{ix86} x86_64
|
|
|
|
|
|
|
|
|
|
Name: libffi
|
|
|
|
|
Version: 3.4.2
|
|
|
|
|
Version: 3.4.4
|
|
|
|
|
Release: 8%{?dist}
|
|
|
|
|
Summary: A portable foreign function interface library
|
|
|
|
|
License: MIT
|
|
|
|
|
URL: http://sourceware.org/libffi
|
|
|
|
|
|
|
|
|
|
Source0: https://github.com/libffi/libffi/releases/download/v3.4.2/libffi-3.4.2.tar.gz
|
|
|
|
|
Source0: https://github.com/libffi/libffi/releases/download/v3.4.4/libffi-3.4.4.tar.gz
|
|
|
|
|
Source1: ffi-multilib.h
|
|
|
|
|
Source2: ffitarget-multilib.h
|
|
|
|
|
Patch1: libffi-3.4.2-rh2152228.patch
|
|
|
|
|
|
|
|
|
|
# error: implicit declaration of function 'open_temp_exec_file'
|
|
|
|
|
# https://github.com/libffi/libffi/pull/764
|
|
|
|
|
Patch0: 0001-Forward-declare-open_temp_exec_file.patch
|
|
|
|
|
|
|
|
|
|
BuildRequires: make
|
|
|
|
|
BuildRequires: gcc
|
|
|
|
@ -58,8 +61,7 @@ The %{name}-devel package contains libraries and header files for
|
|
|
|
|
developing applications that use %{name}.
|
|
|
|
|
|
|
|
|
|
%prep
|
|
|
|
|
%setup -q
|
|
|
|
|
%patch1 -p1
|
|
|
|
|
%autosetup -p1
|
|
|
|
|
|
|
|
|
|
%build
|
|
|
|
|
# For now we disable the static templates to avoid ghc and
|
|
|
|
@ -67,7 +69,7 @@ developing applications that use %{name}.
|
|
|
|
|
# https://gitlab.haskell.org/ghc/ghc/-/issues/20051
|
|
|
|
|
# https://gitlab.gnome.org/GNOME/gobject-introspection/-/merge_requests/283
|
|
|
|
|
# We need to get these fixes into Fedora before we can reeanble them.
|
|
|
|
|
%configure --disable-static --disable-exec-static-tramp
|
|
|
|
|
%configure --disable-static
|
|
|
|
|
%make_build
|
|
|
|
|
|
|
|
|
|
%check
|
|
|
|
@ -105,7 +107,7 @@ install -m644 %{SOURCE2} $RPM_BUILD_ROOT%{_includedir}/ffitarget.h
|
|
|
|
|
%license LICENSE
|
|
|
|
|
%doc README.md
|
|
|
|
|
%{_libdir}/libffi.so.8
|
|
|
|
|
%{_libdir}/libffi.so.8.1.0
|
|
|
|
|
%{_libdir}/libffi.so.8.1.2
|
|
|
|
|
|
|
|
|
|
%files devel
|
|
|
|
|
%{_libdir}/pkgconfig/*.pc
|
|
|
|
@ -115,36 +117,60 @@ install -m644 %{SOURCE2} $RPM_BUILD_ROOT%{_includedir}/ffitarget.h
|
|
|
|
|
%{_infodir}/libffi.info.*
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
|
* Fri Apr 07 2023 DJ Delorie <dj@redhat.com> - 3.4.2-8
|
|
|
|
|
- Use /etc/sysconfig/libffi-force-shared-memory-check-first to
|
|
|
|
|
override selinux permissions check for shared memory access (#2152228)
|
|
|
|
|
* Tue Nov 26 2024 MSVSphere Packaging Team <packager@msvsphere-os.ru> - 3.4.4-8
|
|
|
|
|
- Rebuilt for MSVSphere 10
|
|
|
|
|
|
|
|
|
|
* Mon Jun 24 2024 Troy Dawson <tdawson@redhat.com> - 3.4.4-8
|
|
|
|
|
- Bump release for June 2024 mass rebuild
|
|
|
|
|
|
|
|
|
|
* Thu Jan 25 2024 Fedora Release Engineering <releng@fedoraproject.org> - 3.4.4-7
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
* Sun Jan 21 2024 Fedora Release Engineering <releng@fedoraproject.org> - 3.4.4-6
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
* Tue Jan 02 2024 Florian Weimer <fweimer@redhat.com> - 3.4.4-5
|
|
|
|
|
- Add missing declaration of open_temp_exec_file
|
|
|
|
|
|
|
|
|
|
* Thu Jul 20 2023 Fedora Release Engineering <releng@fedoraproject.org> - 3.4.4-4
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
* Tue May 02 2023 DJ Delorie <dj@redhat.com> - 3.4.4-3
|
|
|
|
|
- Enable static trampolines
|
|
|
|
|
|
|
|
|
|
* Thu Aug 26 2021 Carlos O'Donell <codonell@redhat.com> - 3.4.2-7
|
|
|
|
|
- Remove compat-libffi3.1 subpackage to complete SONAME transition.
|
|
|
|
|
Related: rhbz#1891914
|
|
|
|
|
* Thu Jan 19 2023 Fedora Release Engineering <releng@fedoraproject.org> - 3.4.4-2
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
* Wed Aug 18 2021 Carlos O'Donell <carlos@redhat.com> - 3.4.2-6
|
|
|
|
|
- Rebuilt for libffi 3.4.2 SONAME transition. Related: rhbz#1891914
|
|
|
|
|
* Fri Oct 28 2022 DJ Delorie <dj@redhat.com> - 3.4.4-1
|
|
|
|
|
- Rebase to libffi 3.4.4.
|
|
|
|
|
|
|
|
|
|
* Mon Aug 09 2021 Mohan Boddu <mboddu@redhat.com> - 3.4.2-5
|
|
|
|
|
- Rebuilt for IMA sigs, glibc 2.34, aarch64 flags
|
|
|
|
|
Related: rhbz#1991688
|
|
|
|
|
* Thu Jul 21 2022 Fedora Release Engineering <releng@fedoraproject.org> - 3.4.2-9
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
* Thu Jul 29 2021 Carlos O'Donell <carlos@redhat.com> - 3.4.2-4
|
|
|
|
|
- Drop pkgconf support for compat-libffi3.1.
|
|
|
|
|
* Mon Jan 31 2022 Dan Horák <dan[at]danny.cz> - 3.4.2-8
|
|
|
|
|
- Fix handling Float128 structs on ppc64le (#2045797)
|
|
|
|
|
|
|
|
|
|
* Tue Jul 27 2021 Carlos O'Donell <carlos@redhat.com> - 3.4.2-3
|
|
|
|
|
- Add temporary compat-libffi3.1 for library transition.
|
|
|
|
|
* Thu Jan 20 2022 Fedora Release Engineering <releng@fedoraproject.org> - 3.4.2-7
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
* Sat Jan 08 2022 Miro Hrončok <mhroncok@redhat.com> - 3.4.2-6
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Changes/LIBFFI34
|
|
|
|
|
|
|
|
|
|
* Wed Sep 15 2021 Carlos O'Donell <codonell@redhat.com> - 3.4.2-5
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Changes/LIBFFI34
|
|
|
|
|
|
|
|
|
|
* Wed Sep 15 2021 Carlos O'Donell <carlos@redhat.com> - 3.4.2-4
|
|
|
|
|
- Harmonize spec file layout with downstream.
|
|
|
|
|
|
|
|
|
|
* Wed Aug 11 2021 Carlos O'Donell <carlos@redhat.com> - 3.4.2-3
|
|
|
|
|
- Rebuild package and bump NEVRA.
|
|
|
|
|
|
|
|
|
|
* Thu Jul 22 2021 Fedora Release Engineering <releng@fedoraproject.org> - 3.4.2-2
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
* Mon Jun 28 2021 Carlos O'Donell <carlos@redhat.com> - 3.4.2-1
|
|
|
|
|
- Rebase to libffi 3.4.2.
|
|
|
|
|
|
|
|
|
|
* Fri Apr 16 2021 Mohan Boddu <mboddu@redhat.com> - 3.1-29
|
|
|
|
|
- Rebuilt for RHEL 9 BETA on Apr 15th 2021. Related: rhbz#1947937
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Tue Jan 26 2021 Fedora Release Engineering <releng@fedoraproject.org> - 3.1-28
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|