diff --git a/.gitignore b/.gitignore index 7033523..e809b6f 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1,2 @@ /libnsl-libnsl-1.0.4.tar.gz +/libnsl-libnsl-1.0.5.tar.gz diff --git a/libnsl2-1.0.5-include_stdint.patch b/libnsl2-1.0.5-include_stdint.patch new file mode 100644 index 0000000..77abefa --- /dev/null +++ b/libnsl2-1.0.5-include_stdint.patch @@ -0,0 +1,10 @@ +--- libnsl-libnsl-1.0.5/src/nisplus/nis_call.c.include_stdint 2017-06-12 16:05:36.864341686 +0200 ++++ libnsl-libnsl-1.0.5/src/nisplus/nis_call.c 2017-06-12 16:05:56.745337017 +0200 +@@ -31,6 +31,7 @@ + #include + #include + #include ++#include + + #include "libc-lock.h" + #include "nis_intern.h" diff --git a/libnsl2.spec b/libnsl2.spec index ee37c7a..e4d4756 100644 --- a/libnsl2.spec +++ b/libnsl2.spec @@ -1,6 +1,6 @@ Name: libnsl2 -Version: 1.0.4 -Release: 4%{?dist} +Version: 1.0.5 +Release: 1%{?dist} Summary: Public client interface library for NIS(YP) and NIS+ License: BSD and LGPLv2+ @@ -10,6 +10,8 @@ URL: https://github.com/thkukuk/libnsl Source0: https://github.com/thkukuk/libnsl/archive/libnsl-%{version}.tar.gz#/libnsl-libnsl-%{version}.tar.gz +Patch0: libnsl2-1.0.5-include_stdint.patch + BuildRequires: autoconf, automake, gettext-devel, libtool, libtirpc-devel %description @@ -30,6 +32,8 @@ Development files for libnsl2 %prep %setup -q -n libnsl-libnsl-%{version} +%patch0 -p1 -b .include_stdint + %build export CFLAGS="%{optflags}" @@ -73,6 +77,10 @@ echo "%{_libdir}/nsl" > %{buildroot}%{_sysconfdir}/ld.so.conf.d/%{name}-%{_arch} %{_libdir}/pkgconfig/libnsl.pc %changelog +* Mon Jun 12 2017 Matej Mužila 1.0.5-1 +- Update to version 1.0.5 +- Fix missing stdint.h + * Mon Apr 10 2017 Matej Mužila 1.0.4-4 - Initial version for 1.0.4 diff --git a/sources b/sources index b41fb07..0612502 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (libnsl-libnsl-1.0.4.tar.gz) = 9233300e958c9e1fc0403c128b2a1846f0726242e129ac8f5c78356f837c08cc7cb02d3bdee370c5e2235fcc706e46482fd8c00551864864653df33f509caf93 +SHA512 (libnsl-libnsl-1.0.5.tar.gz) = ce0423042d372a9f800738480d222164e7ad2e09c9efa80d4845b9a06b78f478c395a65a4c175dd708d01f0bb9be9514526c44df48990221fd6d28c785767c49