|
@@ -1,7 +1,7 @@
|
|
|
%define build_compat32 %{?_with_compat32:1}%{!?_with_compat32:0}
|
|
|
|
|
|
%define name libffi
|
|
|
-%define version 3.0.13
|
|
|
+%define version 3.2.1
|
|
|
%define release 1%{?_dist_release}
|
|
|
|
|
|
Summary: Foreign function interface library
|
|
@@ -10,11 +10,13 @@ Name: %{name}
|
|
|
Version: %{version}
|
|
|
Release: %{release}
|
|
|
Source0: ftp://sourceware.org/pub/libffi/%{name}-%{version}.tar.gz
|
|
|
+Patch0: libffi-3.1-fix-include-path.patch
|
|
|
License: Distributable
|
|
|
Group: System Environment/Libraries
|
|
|
URL: http://sourceware.org/libffi/
|
|
|
|
|
|
BuildRequires: gcc
|
|
|
+BuildRequires: texinfo
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-root
|
|
|
|
|
|
Vendor: Project Vine
|
|
@@ -97,9 +99,10 @@ libffi を使用したアプリケーションを開発するなら、このパ
|
|
|
%prep
|
|
|
|
|
|
%setup -q
|
|
|
-
|
|
|
+%patch0 -p1
|
|
|
|
|
|
%build
|
|
|
+autoreconf -ifv
|
|
|
%configure
|
|
|
%{__make}
|
|
|
|
|
@@ -154,6 +157,10 @@ sed -i -e "s|^includedir=.*include$|includedir=%{_includedir}|" \
|
|
|
%endif
|
|
|
|
|
|
%changelog
|
|
|
+* Tue Jan 02 2018 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 3.2.1-1
|
|
|
+- updated to 3.2.1.
|
|
|
+- imported Patch0 from rawhide.
|
|
|
+
|
|
|
* Sun Jul 06 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.0.13-1
|
|
|
- update to 3.0.13
|
|
|
|