- Update to version 0.1.0
- Fix compilation with new glibc (obsoletes decls.patch) - Add rpcsvc/yp.h OBS-URL: https://build.opensuse.org/package/show/network:NIS/libnsl?expand=0&rev=10
This commit is contained in:
parent
006044eed2
commit
3bac9baac5
12
decls.patch
12
decls.patch
@ -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 <errno.h>
|
|
||||||
#include <fcntl.h>
|
|
||||||
#include <string.h>
|
|
||||||
+#include <stdint.h>
|
|
||||||
#include <libintl.h>
|
|
||||||
#include <rpc/rpc.h>
|
|
||||||
#include <rpc/auth.h>
|
|
@ -1,3 +0,0 @@
|
|||||||
version https://git-lfs.github.com/spec/v1
|
|
||||||
oid sha256:bce97455e13c1868dd5270d1e9cca59509bfef70d0983b15671b66032ee273f3
|
|
||||||
size 358787
|
|
3
libnsl-1.1.0.tar.bz2
Normal file
3
libnsl-1.1.0.tar.bz2
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:ca32086366037ad24157c0cce8ade0543db59d2d2aa6d87670ebf7dae2ddd896
|
||||||
|
size 173699
|
@ -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
|
Wed Jul 5 13:53:16 UTC 2017 - schwab@suse.de
|
||||||
|
|
||||||
|
12
libnsl.spec
12
libnsl.spec
@ -17,7 +17,7 @@
|
|||||||
|
|
||||||
|
|
||||||
Name: libnsl
|
Name: libnsl
|
||||||
Version: 1.0.5
|
Version: 1.1.0
|
||||||
Release: 0
|
Release: 0
|
||||||
Summary: Network Support Library (NIS/NIS+)
|
Summary: Network Support Library (NIS/NIS+)
|
||||||
License: LGPL-2.1
|
License: LGPL-2.1
|
||||||
@ -31,7 +31,6 @@ BuildRequires: libtirpc-devel >= 1.0
|
|||||||
Url: http://github.com/thkukuk/libnsl
|
Url: http://github.com/thkukuk/libnsl
|
||||||
Source: %{name}-%{version}.tar.bz2
|
Source: %{name}-%{version}.tar.bz2
|
||||||
Source1: baselibs.conf
|
Source1: baselibs.conf
|
||||||
Patch: decls.patch
|
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||||
%define debug_package_requires libnsl1 = %{version}-%{release}
|
%define debug_package_requires libnsl1 = %{version}-%{release}
|
||||||
|
|
||||||
@ -67,7 +66,6 @@ The NIS+ API is deprecated and only there "as is".
|
|||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q
|
%setup -q
|
||||||
%patch -p1
|
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%configure --libdir=/%{_libdir}/nsl --includedir=%{_includedir}/nsl
|
%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
|
# NO_BRP_CHECK_ROOTFS is for SLES11 only, but does not harm for Factory
|
||||||
export NO_BRP_CHECK_ROOTFS=true
|
export NO_BRP_CHECK_ROOTFS=true
|
||||||
make install DESTDIR=$RPM_BUILD_ROOT
|
make install DESTDIR=$RPM_BUILD_ROOT
|
||||||
# move library to /lib
|
%{__mv} -v $RPM_BUILD_ROOT/%{_libdir}/nsl/%{name}.so.2* $RPM_BUILD_ROOT%{_libdir}/
|
||||||
%{__mkdir} -p $RPM_BUILD_ROOT/%{_lib}
|
|
||||||
%{__mv} -v $RPM_BUILD_ROOT/%{_libdir}/nsl/%{name}.so.2* $RPM_BUILD_ROOT/%{_lib}/
|
|
||||||
# Adjust devel so link
|
# Adjust devel so link
|
||||||
%{__rm} -v %{buildroot}/%{_libdir}/nsl/%{name}.{a,la,so}
|
%{__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}
|
%{__mv} -v $RPM_BUILD_ROOT/%{_libdir}/nsl/pkgconfig $RPM_BUILD_ROOT/%{_libdir}
|
||||||
|
|
||||||
%check
|
%check
|
||||||
@ -97,7 +93,7 @@ make check
|
|||||||
%files -n libnsl2
|
%files -n libnsl2
|
||||||
%defattr(-,root,root)
|
%defattr(-,root,root)
|
||||||
%doc COPYING
|
%doc COPYING
|
||||||
/%{_lib}/libnsl.so.2*
|
%{_libdir}/libnsl.so.2*
|
||||||
|
|
||||||
%files devel
|
%files devel
|
||||||
%defattr(-,root,root)
|
%defattr(-,root,root)
|
||||||
|
Loading…
Reference in New Issue
Block a user