forked from pool/libnsl
Accepting request 912438 from network:NIS
- Update to version 2.0.0 - Remove NIS+ code - Bump soversion to 3 OBS-URL: https://build.opensuse.org/request/show/912438 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/libnsl?expand=0&rev=9
This commit is contained in:
commit
d329e320c7
@ -1 +1 @@
|
||||
libnsl2
|
||||
libnsl3
|
||||
|
@ -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
3
libnsl-2.0.0.tar.xz
Normal file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:2da075ef1893ebdfc5f074f83ac811873dc06fd5c62bc9a4729fd2e27a40341a
|
||||
size 284408
|
@ -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>
|
||||
|
||||
|
35
libnsl.spec
35
libnsl.spec
@ -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,11 +16,11 @@
|
||||
#
|
||||
|
||||
|
||||
%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+)
|
||||
Summary: Network Support Library (NIS)
|
||||
License: LGPL-2.1-only
|
||||
Group: Development/Libraries/C and C++
|
||||
URL: http://github.com/thkukuk/libnsl
|
||||
@ -34,33 +34,30 @@ BuildRequires: libtirpc-devel >= 1.0
|
||||
%endif
|
||||
|
||||
%description
|
||||
The Network Support Library for NIS/NIS+ was formerly part of glibc and
|
||||
The Network Support Library for NIS(YP) was formerly part of glibc and
|
||||
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
|
||||
Summary: Network Support Library (NIS/NIS+)
|
||||
%package -n libnsl3
|
||||
Summary: Network Support Library (NIS)
|
||||
Group: System/Libraries
|
||||
|
||||
%description -n libnsl2
|
||||
The Network Support Library for NIS/NIS+ was formerly part of glibc and
|
||||
%description -n libnsl3
|
||||
The Network Support Library for NIS was formerly part of glibc and
|
||||
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 devel
|
||||
Summary: Development package for Network Support Library (NIS/NIS+)
|
||||
Summary: Development package for Network Support Library (NIS)
|
||||
Group: Development/Libraries/C and C++
|
||||
Requires: libnsl2 = %{version}
|
||||
Requires: libnsl3 = %{version}
|
||||
Requires: pkgconfig(libtirpc) >= 1.0.1
|
||||
|
||||
%description devel
|
||||
The Network Support Library for NIS/NIS+ was formerly part of glibc and
|
||||
The Network Support Library for NIS was formerly part of glibc and
|
||||
is now a standalone library. The big difference is, that this library
|
||||
has support for IPv6.
|
||||
This package contains all files to develop and link against libnsl.
|
||||
The NIS+ API is deprecated and only provided "as is".
|
||||
|
||||
%prep
|
||||
%setup -q
|
||||
@ -79,12 +76,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
|
||||
|
Loading…
Reference in New Issue
Block a user