From ca3c5c106a4b0e9fd14991683e8e73c8d7ef523a7d7a3c989c9beb2eb2984d22 Mon Sep 17 00:00:00 2001 From: Dirk Mueller Date: Thu, 4 Feb 2016 12:50:08 +0000 Subject: [PATCH] Accepting request 355025 from home:kukuk:branches:Base:System - Split the netconfig configuration file and manual page off into an own RPM. Else it is not possible to install the old and new libtirpc libraries in parallel. OBS-URL: https://build.opensuse.org/request/show/355025 OBS-URL: https://build.opensuse.org/package/show/Base:System/libtirpc?expand=0&rev=55 --- libtirpc.changes | 7 +++++++ libtirpc.spec | 16 ++++++++++++++-- 2 files changed, 21 insertions(+), 2 deletions(-) diff --git a/libtirpc.changes b/libtirpc.changes index 074c488..90d8572 100644 --- a/libtirpc.changes +++ b/libtirpc.changes @@ -1,3 +1,10 @@ +------------------------------------------------------------------- +Wed Jan 20 15:12:14 CET 2016 - kukuk@suse.de + +- Split the netconfig configuration file and manual page off into + an own RPM. Else it is not possible to install the old and new + libtirpc libraries in parallel. + ------------------------------------------------------------------- Tue Nov 17 12:55:40 CET 2015 - kukuk@suse.de diff --git a/libtirpc.spec b/libtirpc.spec index ebe4ee5..82ad51b 100644 --- a/libtirpc.spec +++ b/libtirpc.spec @@ -1,7 +1,7 @@ # # spec file for package libtirpc # -# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -54,6 +54,7 @@ TCP over IPv4 %package -n libtirpc3 Summary: Transport Independent RPC Library Group: System/Libraries +Requires: libtirpc-netconfig >= %{version} %description -n libtirpc3 The Transport Independent RPC library (TI-RPC) is a replacement for the @@ -61,6 +62,14 @@ standard SunRPC library in glibc which does not support IPv6 addresses. This implementation allows the support of other transports than UDP and TCP over IPv4 +%package netconfig +Summary: Netconfig configuration file for TI-RPC Library +Group: System/Base + +%description netconfig +This RPM contains the netconfig configuration file and manual page for +the TI-RPC Library. + %package devel # src/crypt_client.c tirpc/spinlock.h and tirpc/rpcsvc/crypt.x have the BSD # advertising clause @@ -117,8 +126,11 @@ rm -rf $RPM_BUILD_ROOT %files -n libtirpc3 %defattr(-,root,root) -%config %{_sysconfdir}/netconfig /%{_lib}/libtirpc.so.3* + +%files netconfig +%defattr(-,root,root) +%config %{_sysconfdir}/netconfig %{_mandir}/man5/netconfig.5.gz %files devel