Fix FTBFS

This commit is contained in:
Peter Robinson 2018-07-22 15:36:16 +01:00
parent a67ea03359
commit 7c8473e637

View File

@ -2,12 +2,11 @@
Name: libffi Name: libffi
Version: 3.1 Version: 3.1
Release: 17%{?dist} Release: 18%{?dist}
Summary: A portable foreign function interface library Summary: A portable foreign function interface library
Group: System Environment/Libraries
License: BSD License: BSD
URL: http://sourceware.org/libffi URL: http://sourceware.org/libffi
Source0: ftp://sourceware.org/pub/libffi/libffi-%{version}.tar.gz Source0: ftp://sourceware.org/pub/libffi/libffi-%{version}.tar.gz
Source1: ffi-multilib.h Source1: ffi-multilib.h
Source2: ffitarget-multilib.h Source2: ffitarget-multilib.h
@ -16,6 +15,8 @@ Patch1: libffi-3.1-fix-exec-stack.patch
Patch2: libffi-aarch64-rhbz1174037.patch Patch2: libffi-aarch64-rhbz1174037.patch
Patch3: libffi-3.1-aarch64-fix-exec-stack.patch Patch3: libffi-3.1-aarch64-fix-exec-stack.patch
BuildRequires: gcc
%description %description
Compilers for high level languages generate code that follow certain Compilers for high level languages generate code that follow certain
conventions. These conventions are necessary, in part, for separate conventions. These conventions are necessary, in part, for separate
@ -46,7 +47,6 @@ between the two languages.
%package devel %package devel
Summary: Development files for %{name} Summary: Development files for %{name}
Group: Development/Libraries
Requires: %{name} = %{version}-%{release} Requires: %{name} = %{version}-%{release}
Requires: pkgconfig Requires: pkgconfig
Requires(post): /sbin/install-info Requires(post): /sbin/install-info
@ -109,7 +109,6 @@ fi
%files %files
%{!?_licensedir:%global license %%doc}
%license LICENSE %license LICENSE
%doc README %doc README
%{_libdir}/*.so.* %{_libdir}/*.so.*
@ -122,6 +121,9 @@ fi
%{_infodir}/libffi.info.gz %{_infodir}/libffi.info.gz
%changelog %changelog
* Sun Jul 22 2018 Peter Robinson <pbrobinson@fedoraproject.org> 3.1-28
- Fix FTBFS
* Fri Jul 13 2018 Fedora Release Engineering <releng@fedoraproject.org> - 3.1-17 * Fri Jul 13 2018 Fedora Release Engineering <releng@fedoraproject.org> - 3.1-17
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild - Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild