Accepting request 858392 from Base:System

OBS-URL: https://build.opensuse.org/request/show/858392
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/libtirpc?expand=0&rev=56
This commit is contained in:
Dominique Leuenberger 2020-12-26 20:11:30 +00:00 committed by Git OBS Bridge
commit b6b61a1bd9
4 changed files with 38 additions and 18 deletions

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:4278e9a5181d5af9cd7885322fdecebc444f9a3da87c526e7d47f7a12a37d1cc
size 513150

3
libtirpc-1.3.1.tar.bz2 Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:245895caf066bec5e3d4375942c8cb4366adad184c29c618d97f724ea309ee17
size 513399

View File

@ -1,3 +1,28 @@
-------------------------------------------------------------------
Wed Dec 23 12:50:03 UTC 2020 - Dominique Leuenberger <dimstar@opensuse.org>
- Fix sed call to fixup libtirpc.pc.in: as we want our tirpc to be
a transparent drop-in-replacement for rpc, we move the files
from /usr/include/tirpc to /usr/include. Due to an upstream
change in libtirpc.pc.in, though, the existing sed call no longer
matched and no longer corrected the information according to our
package.
-------------------------------------------------------------------
Wed Dec 2 17:29:03 UTC 2020 - Petr Vorel <pvorel@suse.cz>
- Update to libtirpc 1.3.1
- Remove AUTH_DES interfaces from auth_des.h
The unsupported AUTH_DES authentication has be
compiled out since commit d918e41d889 (Wed Oct 9 2019)
replaced by API routines that return errors.
- svc_dg: Free xp_netid during destroy
- Fix memory management issues of fd locks
- libtirpc: replace array with list for per-fd locks
- __svc_vc_dodestroy: fix double free of xp_ltaddr.buf
- __rpc_dtbsize: rlim_cur instead of rlim_max
- pkg-config: use the correct replacements for libdir/includedir
-------------------------------------------------------------------
Thu Oct 29 10:45:54 UTC 2020 - Ludwig Nussel <lnussel@suse.de>

View File

@ -16,20 +16,19 @@
#
%define debug_package_requires libtirpc3 = %{version}-%{release}
Name: libtirpc
# src/crypt_client.c and tirpc/rpcsvc/crypt.x have the BSD advertising clause
Version: 1.2.6
Version: 1.3.1
Release: 0
Summary: Transport Independent RPC Library
License: BSD-3-Clause
Group: Development/Libraries/C and C++
BuildRequires: pkg-config
BuildRequires: pkgconfig(krb5)
URL: https://sourceforge.net/projects/libtirpc/
Source: %{name}-%{version}.tar.bz2
Source1: baselibs.conf
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%define debug_package_requires libtirpc3 = %{version}-%{release}
BuildRequires: pkgconfig
BuildRequires: pkgconfig(krb5)
%description
The Transport Independent RPC library (TI-RPC) is a replacement for the
@ -71,12 +70,12 @@ This implementation allows the support of other transports than UDP and
TCP over IPv4.
%prep
%setup -q -n %name-%version
%setup -q
%build
sed -i -e 's|@includedir@/tirpc|@includedir@|g' libtirpc.pc.in
sed -i -e 's|${includedir}/tirpc|${includedir}|g' libtirpc.pc.in
%configure --disable-static
%make_build %{?_smp_mflags}
%make_build
%install
# Don't strip .symtab to allow debugging
@ -91,26 +90,22 @@ rm -v %{buildroot}%{_libdir}/%{name}.la
# they are now default
mv -v %{buildroot}%{_includedir}/tirpc/* %{buildroot}%{_includedir}
rmdir %{buildroot}%{_includedir}/tirpc
rm -v %{buildroot}/etc/bindresvport.blacklist
rm -v %{buildroot}%{_sysconfdir}/bindresvport.blacklist
%post -n libtirpc3 -p /sbin/ldconfig
%postun -n libtirpc3 -p /sbin/ldconfig
%files -n libtirpc3
%defattr(-,root,root)
%license COPYING
%{_libdir}/libtirpc.so.3*
%files netconfig
%defattr(-,root,root)
%config %{_sysconfdir}/netconfig
%{_mandir}/man5/netconfig.5.gz
%{_mandir}/man5/netconfig.5%{?ext_man}
%files devel
%defattr(-,root,root)
%{_libdir}/libtirpc.so
/usr/include/*
%{_includedir}/*
%{_libdir}/pkgconfig/*
%{_mandir}/man3/*