SPECS: elfutils.spec - added sparc patch (now passes make check) -...

qboosh qboosh at pld-linux.org
Fri Aug 25 21:54:49 CEST 2006


Author: qboosh                       Date: Fri Aug 25 19:54:49 2006 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- added sparc patch (now passes make check)
- dropped obsolete LD_LIBRARY_PATH setting ($ORIGIN not used by default)
- /proc is needed anyway for run-native-test.sh

---- Files affected:
SPECS:
   elfutils.spec (1.59 -> 1.60) 

---- Diffs:

================================================================
Index: SPECS/elfutils.spec
diff -u SPECS/elfutils.spec:1.59 SPECS/elfutils.spec:1.60
--- SPECS/elfutils.spec:1.59	Wed Aug 23 22:17:26 2006
+++ SPECS/elfutils.spec	Fri Aug 25 21:54:44 2006
@@ -21,6 +21,7 @@
 Patch4:		%{name}-align.patch
 Patch5:		%{name}-paxflags.patch
 Patch6:		%{name}-alpha.patch
+Patch7:		%{name}-sparc.patch
 #URL:		file://home/devel/drepper
 BuildRequires:	autoconf >= 2.59
 BuildRequires:	automake >= 1:1.7
@@ -35,6 +36,10 @@
 BuildRequires:	perl-tools-pod
 BuildRequires:	rpmbuild(macros) >= 1.315
 BuildRequires:	sharutils
+%if %{with tests} && %(test -d /proc/self ; echo $?)
+# native test needs proc (for libdwfl -p PID to work)
+BuildRequires:	MOUNTED_PROC
+%endif
 Requires:	%{name}-libelf = %{version}-%{release}
 BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
@@ -138,6 +143,7 @@
 %patch4 -p1
 %patch5 -p1
 %patch6 -p1
+%patch7 -p1
 
 %build
 #%%{__gettextize}
@@ -156,9 +162,6 @@
 %{__make}
 %{__make} -C debian/man
 %if %{with tests}
-# $ORIGIN used in RPATH needs /proc to work - workaround it using LD_LIBRARY_PATH;
-# ../libelf is needed also to use proper libelf by ../src/elflint during tests
-LD_LIBRARY_PATH=../libasm:../libdw:../libebl:../libelf \
 %{__make} -C tests check
 %endif
 
@@ -226,6 +229,11 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.60  2006/08/25 19:54:44  qboosh
+- added sparc patch (now passes make check)
+- dropped obsolete LD_LIBRARY_PATH setting ($ORIGIN not used by default)
+- /proc is needed anyway for run-native-test.sh
+
 Revision 1.59  2006/08/23 20:17:26  qboosh
 - updated to 0.123, updated pl.po patch, removed obsolete cast patch
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SPECS/elfutils.spec?r1=1.59&r2=1.60&f=u



More information about the pld-cvs-commit mailing list