diff --git a/decls.patch b/decls.patch deleted file mode 100644 index 921e482..0000000 --- a/decls.patch +++ /dev/null @@ -1,12 +0,0 @@ -Index: libnsl-1.0.5/src/nisplus/nis_call.c -=================================================================== ---- libnsl-1.0.5.orig/src/nisplus/nis_call.c -+++ libnsl-1.0.5/src/nisplus/nis_call.c -@@ -23,6 +23,7 @@ - #include - #include - #include -+#include - #include - #include - #include diff --git a/libnsl-1.0.5.tar.bz2 b/libnsl-1.0.5.tar.bz2 deleted file mode 100644 index 834ff40..0000000 --- a/libnsl-1.0.5.tar.bz2 +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:bce97455e13c1868dd5270d1e9cca59509bfef70d0983b15671b66032ee273f3 -size 358787 diff --git a/libnsl-1.1.0.tar.bz2 b/libnsl-1.1.0.tar.bz2 new file mode 100644 index 0000000..0055a1c --- /dev/null +++ b/libnsl-1.1.0.tar.bz2 @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:ca32086366037ad24157c0cce8ade0543db59d2d2aa6d87670ebf7dae2ddd896 +size 173699 diff --git a/libnsl.changes b/libnsl.changes index 413e7a1..58dd276 100644 --- a/libnsl.changes +++ b/libnsl.changes @@ -1,3 +1,10 @@ +------------------------------------------------------------------- +Fri Aug 18 19:53:51 UTC 2017 - kukuk@suse.com + +- Update to version 1.1.0 + - Fix compilation with new glibc (obsoletes decls.patch) + - Add rpcsvc/yp.h + ------------------------------------------------------------------- Wed Jul 5 13:53:16 UTC 2017 - schwab@suse.de diff --git a/libnsl.spec b/libnsl.spec index 4a95888..03caef0 100644 --- a/libnsl.spec +++ b/libnsl.spec @@ -17,7 +17,7 @@ Name: libnsl -Version: 1.0.5 +Version: 1.1.0 Release: 0 Summary: Network Support Library (NIS/NIS+) License: LGPL-2.1 @@ -31,7 +31,6 @@ BuildRequires: libtirpc-devel >= 1.0 Url: http://github.com/thkukuk/libnsl Source: %{name}-%{version}.tar.bz2 Source1: baselibs.conf -Patch: decls.patch BuildRoot: %{_tmppath}/%{name}-%{version}-build %define debug_package_requires libnsl1 = %{version}-%{release} @@ -67,7 +66,6 @@ The NIS+ API is deprecated and only there "as is". %prep %setup -q -%patch -p1 %build %configure --libdir=/%{_libdir}/nsl --includedir=%{_includedir}/nsl @@ -79,12 +77,10 @@ export STRIP_KEEP_SYMTAB=libnsl*.so* # NO_BRP_CHECK_ROOTFS is for SLES11 only, but does not harm for Factory export NO_BRP_CHECK_ROOTFS=true make install DESTDIR=$RPM_BUILD_ROOT -# move library to /lib -%{__mkdir} -p $RPM_BUILD_ROOT/%{_lib} - %{__mv} -v $RPM_BUILD_ROOT/%{_libdir}/nsl/%{name}.so.2* $RPM_BUILD_ROOT/%{_lib}/ + %{__mv} -v $RPM_BUILD_ROOT/%{_libdir}/nsl/%{name}.so.2* $RPM_BUILD_ROOT%{_libdir}/ # Adjust devel so link %{__rm} -v %{buildroot}/%{_libdir}/nsl/%{name}.{a,la,so} -%{__ln_s} -v /%{_lib}/%{name}.so.2 %{buildroot}%{_libdir}/nsl/%{name}.so +%{__ln_s} -v %{_lib}/%{name}.so.2 %{buildroot}%{_libdir}/nsl/%{name}.so %{__mv} -v $RPM_BUILD_ROOT/%{_libdir}/nsl/pkgconfig $RPM_BUILD_ROOT/%{_libdir} %check @@ -97,7 +93,7 @@ make check %files -n libnsl2 %defattr(-,root,root) %doc COPYING -/%{_lib}/libnsl.so.2* +%{_libdir}/libnsl.so.2* %files devel %defattr(-,root,root)