SHA256
1
0
forked from pool/libnsl

- Update to version 2.0.0

- Remove NIS+ code
  - Bump soversion to 3

OBS-URL: https://build.opensuse.org/package/show/network:NIS/libnsl?expand=0&rev=33
This commit is contained in:
Thorsten Kukuk 2021-08-16 11:22:31 +00:00 committed by Git OBS Bridge
parent 9071439aae
commit e10c935b48
5 changed files with 21 additions and 14 deletions

View File

@ -1 +1 @@
libnsl2
libnsl3

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:eac3062957fa302c62eff4aed718a07bacbf9ceb0a058289f12a19bfdda3c8e2
size 321488

3
libnsl-2.0.0.tar.xz Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:2da075ef1893ebdfc5f074f83ac811873dc06fd5c62bc9a4729fd2e27a40341a
size 284408

View File

@ -1,3 +1,10 @@
-------------------------------------------------------------------
Mon Aug 16 10:05:54 UTC 2021 - Thorsten Kukuk <kukuk@suse.com>
- Update to version 2.0.0
- Remove NIS+ code
- Bump soversion to 3
-------------------------------------------------------------------
Mon Jul 6 10:39:22 UTC 2020 - Thorsten Kukuk <kukuk@suse.com>

View File

@ -1,7 +1,7 @@
#
# spec file for package libnsl
#
# Copyright (c) 2020 SUSE LLC
# Copyright (c) 2021 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@ -16,9 +16,9 @@
#
%define debug_package_requires libnsl2 = %{version}-%{release}
%define debug_package_requires libnsl3 = %{version}-%{release}
Name: libnsl
Version: 1.3.0
Version: 2.0.0
Release: 0
Summary: Network Support Library (NIS/NIS+)
License: LGPL-2.1-only
@ -39,11 +39,11 @@ is now a standalone library. The big difference is, that this library
has support for IPv6.
The NIS+ code is deprecated and only provided "as is".
%package -n libnsl2
%package -n libnsl3
Summary: Network Support Library (NIS/NIS+)
Group: System/Libraries
%description -n libnsl2
%description -n libnsl3
The Network Support Library for NIS/NIS+ was formerly part of glibc and
is now a standalone library. The big difference is, that this library
has support for IPv6.
@ -52,7 +52,7 @@ The NIS+ code is deprecated and only provided "as is".
%package devel
Summary: Development package for Network Support Library (NIS/NIS+)
Group: Development/Libraries/C and C++
Requires: libnsl2 = %{version}
Requires: libnsl3 = %{version}
Requires: pkgconfig(libtirpc) >= 1.0.1
%description devel
@ -79,12 +79,12 @@ rm %{buildroot}%{_libdir}/%{name}.la
%check
make %{?_smp_mflags} check
%post -n libnsl2 -p /sbin/ldconfig
%postun -n libnsl2 -p /sbin/ldconfig
%post -n libnsl3 -p /sbin/ldconfig
%postun -n libnsl3 -p /sbin/ldconfig
%files -n libnsl2
%files -n libnsl3
%license COPYING
%{_libdir}/libnsl.so.2*
%{_libdir}/libnsl.so.3*
%files devel
%{_libdir}/libnsl.so