forked from pool/libtirpc
Accepting request 531797 from Base:System
1 OBS-URL: https://build.opensuse.org/request/show/531797 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/libtirpc?expand=0&rev=45
This commit is contained in:
commit
2a76ef2352
@ -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
|
Wed Jul 5 13:22:53 UTC 2017 - schwab@suse.de
|
||||||
|
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package libtirpc
|
# 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
|
# 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
|
||||||
@ -22,7 +22,7 @@ Version: 1.0.1
|
|||||||
Release: 0
|
Release: 0
|
||||||
Summary: Transport Independent RPC Library
|
Summary: Transport Independent RPC Library
|
||||||
License: BSD-4-Clause
|
License: BSD-4-Clause
|
||||||
Group: System/Libraries
|
Group: Development/Libraries/C and C++
|
||||||
%if 0%{suse_version} >= 1300
|
%if 0%{suse_version} >= 1300
|
||||||
BuildRequires: krb5-mini-devel
|
BuildRequires: krb5-mini-devel
|
||||||
%else
|
%else
|
||||||
@ -60,7 +60,7 @@ BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
|||||||
The Transport Independent RPC library (TI-RPC) is a replacement for the
|
The Transport Independent RPC library (TI-RPC) is a replacement for the
|
||||||
standard SunRPC library in glibc which does not support IPv6 addresses.
|
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 -n libtirpc3
|
%package -n libtirpc3
|
||||||
Summary: Transport Independent RPC Library
|
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
|
The Transport Independent RPC library (TI-RPC) is a replacement for the
|
||||||
standard SunRPC library in glibc which does not support IPv6 addresses.
|
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
|
%package netconfig
|
||||||
Summary: Netconfig configuration file for TI-RPC Library
|
Summary: Netconfig configuration file for TI-RPC Library
|
||||||
@ -84,7 +84,7 @@ 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
|
||||||
Summary: Transport Independent RPC Library
|
Summary: Development files for the Transport Independent RPC Library
|
||||||
Group: Development/Libraries/C and C++
|
Group: Development/Libraries/C and C++
|
||||||
Requires: glibc-devel
|
Requires: glibc-devel
|
||||||
Requires: libtirpc3 = %{version}
|
Requires: libtirpc3 = %{version}
|
||||||
@ -93,7 +93,7 @@ Requires: libtirpc3 = %{version}
|
|||||||
The Transport Independent RPC library (TI-RPC) is a replacement for the
|
The Transport Independent RPC library (TI-RPC) is a replacement for the
|
||||||
standard SunRPC library in glibc which does not support IPv6 addresses.
|
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.
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q -n %name-%version
|
%setup -q -n %name-%version
|
||||||
@ -125,22 +125,19 @@ autoreconf -fiv
|
|||||||
--disable-gssapi \
|
--disable-gssapi \
|
||||||
%endif
|
%endif
|
||||||
--libdir=/%{_lib}
|
--libdir=/%{_lib}
|
||||||
%{__make} %{?_smp_mflags}
|
make %{?_smp_mflags}
|
||||||
|
|
||||||
%install
|
%install
|
||||||
# Don't strip .symtab to allow debugging
|
# Don't strip .symtab to allow debugging
|
||||||
export STRIP_KEEP_SYMTAB=libtirpc*.so*
|
export STRIP_KEEP_SYMTAB=libtirpc*.so*
|
||||||
# NO_BRP_CHECK_ROOTFS is for SLES11 only, but does not harm for Factory
|
# NO_BRP_CHECK_ROOTFS is for SLES11 only, but does not harm for Factory
|
||||||
export NO_BRP_CHECK_ROOTFS=true
|
export NO_BRP_CHECK_ROOTFS=true
|
||||||
make install DESTDIR=$RPM_BUILD_ROOT
|
%make_install
|
||||||
# move devel so link to _libdir
|
# move devel so link to _libdir
|
||||||
mkdir -p $RPM_BUILD_ROOT%{_libdir}
|
mkdir -p %{buildroot}/%{_libdir}
|
||||||
%{__ln_s} -v /%{_lib}/$(readlink %{buildroot}/%{_lib}/%{name}.so) %{buildroot}%{_libdir}/%{name}.so
|
ln -sv /%{_lib}/$(readlink %{buildroot}/%{_lib}/%{name}.so) %{buildroot}%{_libdir}/%{name}.so
|
||||||
%{__rm} -v %{buildroot}/%{_lib}/%{name}.{la,so}
|
rm -v %{buildroot}/%{_lib}/%{name}.{la,so}
|
||||||
mv -v $RPM_BUILD_ROOT/%{_lib}/pkgconfig $RPM_BUILD_ROOT/%{_libdir}
|
mv -v %{buildroot}/%{_lib}/pkgconfig %{buildroot}/%{_libdir}
|
||||||
|
|
||||||
%clean
|
|
||||||
rm -rf $RPM_BUILD_ROOT
|
|
||||||
|
|
||||||
%post -n libtirpc3 -p /sbin/ldconfig
|
%post -n libtirpc3 -p /sbin/ldconfig
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user