From e10c935b48188015eb1e7de80cf693cd6c743f96cd2f1a8541ceda0c1106e890 Mon Sep 17 00:00:00 2001 From: Thorsten Kukuk Date: Mon, 16 Aug 2021 11:22:31 +0000 Subject: [PATCH] - 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 --- baselibs.conf | 2 +- libnsl-1.3.0.tar.xz | 3 --- libnsl-2.0.0.tar.xz | 3 +++ libnsl.changes | 7 +++++++ libnsl.spec | 20 ++++++++++---------- 5 files changed, 21 insertions(+), 14 deletions(-) delete mode 100644 libnsl-1.3.0.tar.xz create mode 100644 libnsl-2.0.0.tar.xz diff --git a/baselibs.conf b/baselibs.conf index 849e99e..c354d5f 100644 --- a/baselibs.conf +++ b/baselibs.conf @@ -1 +1 @@ -libnsl2 +libnsl3 diff --git a/libnsl-1.3.0.tar.xz b/libnsl-1.3.0.tar.xz deleted file mode 100644 index a891719..0000000 --- a/libnsl-1.3.0.tar.xz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:eac3062957fa302c62eff4aed718a07bacbf9ceb0a058289f12a19bfdda3c8e2 -size 321488 diff --git a/libnsl-2.0.0.tar.xz b/libnsl-2.0.0.tar.xz new file mode 100644 index 0000000..075c5ee --- /dev/null +++ b/libnsl-2.0.0.tar.xz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:2da075ef1893ebdfc5f074f83ac811873dc06fd5c62bc9a4729fd2e27a40341a +size 284408 diff --git a/libnsl.changes b/libnsl.changes index 6390bd6..bd1b875 100644 --- a/libnsl.changes +++ b/libnsl.changes @@ -1,3 +1,10 @@ +------------------------------------------------------------------- +Mon Aug 16 10:05:54 UTC 2021 - Thorsten Kukuk + +- Update to version 2.0.0 + - Remove NIS+ code + - Bump soversion to 3 + ------------------------------------------------------------------- Mon Jul 6 10:39:22 UTC 2020 - Thorsten Kukuk diff --git a/libnsl.spec b/libnsl.spec index 27bae9b..a7ba8b9 100644 --- a/libnsl.spec +++ b/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,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