From 8aed418e534a7e95f483a0219815fd8ea8dc6c46b5f8eec8329a90ee92465b73 Mon Sep 17 00:00:00 2001 From: Dirk Mueller Date: Thu, 5 Oct 2017 15:34:15 +0000 Subject: [PATCH] Accepting request 530074 from home:jengelh:branches:Base:System - Rectify RPM groups and summaries, and update old macro/variable constructs. OBS-URL: https://build.opensuse.org/request/show/530074 OBS-URL: https://build.opensuse.org/package/show/Base:System/libtirpc?expand=0&rev=61 --- libtirpc.changes | 6 ++++++ libtirpc.spec | 27 ++++++++++++--------------- 2 files changed, 18 insertions(+), 15 deletions(-) diff --git a/libtirpc.changes b/libtirpc.changes index d22befd..4a47c55 100644 --- a/libtirpc.changes +++ b/libtirpc.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Sat Sep 30 08:59:27 UTC 2017 - jengelh@inai.de + +- Rectify RPM groups and summaries, + and update old macro/variable constructs. + ------------------------------------------------------------------- Wed Jul 5 13:22:53 UTC 2017 - schwab@suse.de diff --git a/libtirpc.spec b/libtirpc.spec index 05e63b7..38da883 100644 --- a/libtirpc.spec +++ b/libtirpc.spec @@ -1,7 +1,7 @@ # # spec file for package libtirpc # -# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2017 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 @@ -22,7 +22,7 @@ Version: 1.0.1 Release: 0 Summary: Transport Independent RPC Library License: BSD-4-Clause -Group: System/Libraries +Group: Development/Libraries/C and C++ %if 0%{suse_version} >= 1300 BuildRequires: krb5-mini-devel %else @@ -60,7 +60,7 @@ BuildRoot: %{_tmppath}/%{name}-%{version}-build The Transport Independent RPC library (TI-RPC) is a replacement for the 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 +TCP over IPv4. %package -n libtirpc3 Summary: Transport Independent RPC Library @@ -71,7 +71,7 @@ Requires: libtirpc-netconfig >= %{version} The Transport Independent RPC library (TI-RPC) is a replacement for the 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 +TCP over IPv4. %package netconfig Summary: Netconfig configuration file for TI-RPC Library @@ -84,7 +84,7 @@ the TI-RPC Library. %package devel # src/crypt_client.c tirpc/spinlock.h and tirpc/rpcsvc/crypt.x have the BSD # advertising clause -Summary: Transport Independent RPC Library +Summary: Development files for the Transport Independent RPC Library Group: Development/Libraries/C and C++ Requires: glibc-devel Requires: libtirpc3 = %{version} @@ -93,7 +93,7 @@ Requires: libtirpc3 = %{version} The Transport Independent RPC library (TI-RPC) is a replacement for the 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 +TCP over IPv4. %prep %setup -q -n %name-%version @@ -125,22 +125,19 @@ autoreconf -fiv --disable-gssapi \ %endif --libdir=/%{_lib} -%{__make} %{?_smp_mflags} +make %{?_smp_mflags} %install # Don't strip .symtab to allow debugging export STRIP_KEEP_SYMTAB=libtirpc*.so* # NO_BRP_CHECK_ROOTFS is for SLES11 only, but does not harm for Factory export NO_BRP_CHECK_ROOTFS=true -make install DESTDIR=$RPM_BUILD_ROOT +%make_install # move devel so link to _libdir -mkdir -p $RPM_BUILD_ROOT%{_libdir} -%{__ln_s} -v /%{_lib}/$(readlink %{buildroot}/%{_lib}/%{name}.so) %{buildroot}%{_libdir}/%{name}.so -%{__rm} -v %{buildroot}/%{_lib}/%{name}.{la,so} -mv -v $RPM_BUILD_ROOT/%{_lib}/pkgconfig $RPM_BUILD_ROOT/%{_libdir} - -%clean -rm -rf $RPM_BUILD_ROOT +mkdir -p %{buildroot}/%{_libdir} +ln -sv /%{_lib}/$(readlink %{buildroot}/%{_lib}/%{name}.so) %{buildroot}%{_libdir}/%{name}.so +rm -v %{buildroot}/%{_lib}/%{name}.{la,so} +mv -v %{buildroot}/%{_lib}/pkgconfig %{buildroot}/%{_libdir} %post -n libtirpc3 -p /sbin/ldconfig