]> git.pld-linux.org Git - packages/libtirpc.git/commitdiff
- added glibc-2.14 patch which adds some symbols no longer available from glibc ...
authorJakub Bogusz <qboosh@pld-linux.org>
Sun, 12 Jun 2011 18:05:13 +0000 (18:05 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
- BR+R glibc >= 2.14

Changed files:
    libtirpc-glibc-2.14.patch -> 1.1
    libtirpc.spec -> 1.30

libtirpc-glibc-2.14.patch [new file with mode: 0644]
libtirpc.spec

diff --git a/libtirpc-glibc-2.14.patch b/libtirpc-glibc-2.14.patch
new file mode 100644 (file)
index 0000000..28c4f4b
--- /dev/null
@@ -0,0 +1,14 @@
+--- libtirpc-0.2.2/src/Makefile.am.orig        2011-06-12 17:44:39.795059643 +0200
++++ libtirpc-0.2.2/src/Makefile.am     2011-06-12 19:50:08.598645068 +0200
+@@ -51,7 +51,10 @@
+         rpc_callmsg.c rpc_generic.c rpc_soc.c rpcb_clnt.c rpcb_prot.c \
+         rpcb_st_xdr.c svc.c svc_auth.c svc_dg.c svc_auth_unix.c svc_generic.c \
+         svc_raw.c svc_run.c svc_simple.c svc_vc.c getpeereid.c \
+-        auth_time.c auth_des.c authdes_prot.c des_crypt.c
++        auth_time.c auth_des.c authdes_prot.c
++
++## formerly in glibc
++libtirpc_la_SOURCES += des_crypt.c crypt_client.c key_call.c netname.c rpcdname.c
+ ## XDR
+ libtirpc_la_SOURCES += xdr.c xdr_rec.c xdr_array.c xdr_float.c xdr_mem.c xdr_reference.c xdr_stdio.c
index e2b7f91001b9201325921c085d0d9c805edf1140..0c18d208876f943c31541bd542226bd5076d386a 100644 (file)
@@ -17,9 +17,11 @@ Patch1:              %{name}-heimdal.patch
 Patch2:                %{name}-XDR_GETPOS.patch
 Patch3:                %{name}-rpc-des-prot.patch
 Patch4:                %{name}-nis.patch
+Patch5:                %{name}-glibc-2.14.patch
 URL:           http://sourceforge.net/projects/libtirpc/
 BuildRequires: autoconf >= 2.50
 BuildRequires: automake
+BuildRequires: glibc >= 6:2.14
 %if %{with gssglue}
 BuildRequires: libgssglue-devel >= 0.1
 %else
@@ -32,6 +34,7 @@ Requires:     libgssglue >= 0.1
 %else
 Requires:      heimdal-libs
 %endif
+Requires:      glibc >= 6:2.14
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 # FIXME: this allows invalid (unresolved symbols) library to be installed.
@@ -67,6 +70,7 @@ Summary:      Development files for the TI-RPC library
 Summary(pl.UTF-8):     Pliki programistyczne biblioteki TI-RPC
 Group:         Development/Libraries
 Requires:      %{name} = %{epoch}:%{version}-%{release}
+Requires:      glibc-devel >= 6:2.14
 %if %{with gssglue}
 Requires:      libgssglue-devel >= 0.1
 %else
@@ -100,6 +104,7 @@ Ten pakiet zawiera statycznÄ… bibliotekÄ™ TI-RPC.
 %patch2 -p1
 %patch3 -p1
 %patch4 -p1
+%patch5 -p1
 
 %build
 %{__libtoolize}
@@ -135,6 +140,9 @@ for i in $RPM_BUILD_ROOT%{_includedir}/tirpc/rpc/*.h; do
        ln -s ../tirpc/rpc/$i $RPM_BUILD_ROOT%{_includedir}/rpc/$i
 done
 
+# obsoleted by pkgconfig
+%{__rm} $RPM_BUILD_ROOT%{_libdir}/libtirpc.la
+
 %clean
 rm -rf $RPM_BUILD_ROOT
 
This page took 0.077685 seconds and 4 git commands to generate.