[packages/libtirpc] - updated to 1.2.6 - updated link patch
qboosh
qboosh at pld-linux.org
Tue Aug 18 18:23:31 CEST 2020
commit 182699bf0666b0f268e7b89cce7703ece7247835
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date: Tue Aug 18 18:25:52 2020 +0200
- updated to 1.2.6
- updated link patch
libtirpc-link.patch | 13 +++++++++++--
libtirpc.spec | 9 +++++----
2 files changed, 16 insertions(+), 6 deletions(-)
---
diff --git a/libtirpc.spec b/libtirpc.spec
index cbbedbf..2448622 100644
--- a/libtirpc.spec
+++ b/libtirpc.spec
@@ -1,13 +1,13 @@
Summary: Transport Independent RPC Library
Summary(pl.UTF-8): Biblioteka RPC niezależnego od transportu
Name: libtirpc
-Version: 1.1.4
+Version: 1.2.6
Release: 1
Epoch: 1
License: BSD
Group: Libraries
Source0: http://downloads.sourceforge.net/libtirpc/%{name}-%{version}.tar.bz2
-# Source0-md5: f5d2a623e9dfbd818d2f3f3a4a878e3a
+# Source0-md5: b25f9cc18bfad50f7c446c77f4ae00bb
Patch0: %{name}-link.patch
URL: http://sourceforge.net/projects/libtirpc/
BuildRequires: autoconf >= 2.50
@@ -78,8 +78,9 @@ Ten pakiet zawiera statyczną bibliotekę TI-RPC.
%build
%{__libtoolize}
-%{__aclocal}
+%{__aclocal} -I m4
%{__autoconf}
+%{__autoheader}
%{__automake}
%configure \
--disable-silent-rules
@@ -98,7 +99,7 @@ install -d $RPM_BUILD_ROOT{%{_sysconfdir},/%{_lib},%{_mandir}/man{3,5}}
%{__mv} $RPM_BUILD_ROOT%{_libdir}/libtirpc.so.* $RPM_BUILD_ROOT/%{_lib}
%{__rm} $RPM_BUILD_ROOT%{_libdir}/libtirpc.so
-ln -sf /%{_lib}/$(cd $RPM_BUILD_ROOT/%{_lib}; echo lib*.so.*.*) \
+ln -sf /%{_lib}/$(basename $RPM_BUILD_ROOT/%{_lib}/libtirpc.so.*.*.*) \
$RPM_BUILD_ROOT%{_libdir}/libtirpc.so
# obsoleted by pkgconfig
diff --git a/libtirpc-link.patch b/libtirpc-link.patch
index b00c809..965e80e 100644
--- a/libtirpc-link.patch
+++ b/libtirpc-link.patch
@@ -1,5 +1,5 @@
---- libtirpc-1.0.1/src/Makefile.am.orig 2016-08-31 20:47:28.787746216 +0200
-+++ libtirpc-1.0.1/src/Makefile.am 2016-08-31 20:50:52.087743898 +0200
+--- libtirpc-1.2.6/src/Makefile.am.orig 2020-08-18 17:58:23.751237296 +0200
++++ libtirpc-1.2.6/src/Makefile.am 2020-08-18 18:18:31.174696123 +0200
@@ -12,8 +12,9 @@
lib_LTLIBRARIES = libtirpc.la
@@ -11,3 +11,12 @@
libtirpc_la_SOURCES = auth_none.c auth_unix.c authunix_prot.c bindresvport.c clnt_bcast.c \
clnt_dg.c clnt_generic.c clnt_perror.c clnt_raw.c clnt_simple.c \
+@@ -42,7 +42,7 @@
+ if GSS
+ libtirpc_la_SOURCES += auth_gss.c authgss_prot.c svc_auth_gss.c \
+ rpc_gss_utils.c
+- libtirpc_la_LIBADD = $(GSSAPI_LIBS)
++ libtirpc_la_LIBADD += $(GSSAPI_LIBS)
+ libtirpc_la_CFLAGS = -DHAVE_RPCSEC_GSS $(GSSAPI_CFLAGS)
+ endif
+
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/libtirpc.git/commitdiff/182699bf0666b0f268e7b89cce7703ece7247835
More information about the pld-cvs-commit
mailing list