SHA256
1
0
forked from pool/libtirpc

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
This commit is contained in:
Dirk Mueller 2016-02-04 12:50:08 +00:00 committed by Git OBS Bridge
parent 619f82ada1
commit ca3c5c106a
2 changed files with 21 additions and 2 deletions

View File

@ -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 Tue Nov 17 12:55:40 CET 2015 - kukuk@suse.de

View File

@ -1,7 +1,7 @@
# #
# spec file for package libtirpc # 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 # All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed # remain the property of their copyright owners, unless otherwise agreed
@ -54,6 +54,7 @@ TCP over IPv4
%package -n libtirpc3 %package -n libtirpc3
Summary: Transport Independent RPC Library Summary: Transport Independent RPC Library
Group: System/Libraries Group: System/Libraries
Requires: libtirpc-netconfig >= %{version}
%description -n libtirpc3 %description -n libtirpc3
The Transport Independent RPC library (TI-RPC) is a replacement for the 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 This implementation allows the support of other transports than UDP and
TCP over IPv4 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 %package devel
# src/crypt_client.c tirpc/spinlock.h and tirpc/rpcsvc/crypt.x have the BSD # src/crypt_client.c tirpc/spinlock.h and tirpc/rpcsvc/crypt.x have the BSD
# advertising clause # advertising clause
@ -117,8 +126,11 @@ rm -rf $RPM_BUILD_ROOT
%files -n libtirpc3 %files -n libtirpc3
%defattr(-,root,root) %defattr(-,root,root)
%config %{_sysconfdir}/netconfig
/%{_lib}/libtirpc.so.3* /%{_lib}/libtirpc.so.3*
%files netconfig
%defattr(-,root,root)
%config %{_sysconfdir}/netconfig
%{_mandir}/man5/netconfig.5.gz %{_mandir}/man5/netconfig.5.gz
%files devel %files devel