diff --git a/libtirpc.spec b/libtirpc.spec index f696c6e..0d7748e 100644 --- a/libtirpc.spec +++ b/libtirpc.spec @@ -2,13 +2,14 @@ Name: libtirpc Version: 1.0.2 -Release: 2%{?dist} +Release: 3%{?dist} Summary: Transport Independent RPC Library Group: System Environment/Libraries License: SISSL and BSD URL: http://nfsv4.bullopensource.org/ BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) Source0: http://downloads.sourceforge.net/libtirpc/libtirpc-%{version}.tar.bz2 +Patch0: %{name}_header.patch BuildRequires: automake, autoconf, libtool, pkgconfig @@ -39,6 +40,7 @@ developing programs which use the tirpc library. %prep %setup -q +%patch0 -p1 -b .header # Remove .orig files find . -name "*.orig" | xargs rm -f @@ -132,6 +134,9 @@ rm -rf %{buildroot} %{_mandir}/*/* %changelog +* Tue Aug 22 2017 Petr Ĺ abata - 1.0.2-3 +- Fixing the FTBFS on behalf of Rafael Fonseca (rhbz#1482063) + * Thu Aug 03 2017 Fedora Release Engineering - 1.0.2-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild diff --git a/libtirpc_header.patch b/libtirpc_header.patch new file mode 100644 index 0000000..d18d3d0 --- /dev/null +++ b/libtirpc_header.patch @@ -0,0 +1,10 @@ +--- libtirpc-1.0.2/src/xdr_sizeof.c 2017-07-05 17:02:23.000000000 +0200 ++++ libtirpc-1.0.2/src/xdr_sizeof.c.fixed 2017-08-10 18:47:14.369381335 +0200 +@@ -39,6 +39,7 @@ + #include + #include + #include ++#include + #include "un-namespace.h" + + /* ARGSUSED */