rpms/abicheck/F-7 abicheck-1.2-tests.patch, NONE, 1.1 abicheck-1.2-undefined-symbol.patch, NONE, 1.1 abicheck.spec, 1.28, 1.29 abicheck-1.2-test-static.patch, 1.1, NONE
Michael Schwendt (mschwendt)
fedora-extras-commits at redhat.com
Fri Oct 5 10:31:35 UTC 2007
- Previous message (by thread): rpms/abicheck/devel abicheck-1.2-undefined-symbol.patch, NONE, 1.1 abicheck.spec, 1.40, 1.41
- Next message (by thread): rpms/abicheck/FC-6 abicheck-1.2-tests.patch, NONE, 1.1 abicheck-1.2-undefined-symbol.patch, NONE, 1.1 abicheck.spec, 1.28, 1.29 abicheck-1.2-test-static.patch, 1.1, NONE
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Author: mschwendt
Update of /cvs/extras/rpms/abicheck/F-7
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv9477
Modified Files:
abicheck.spec
Added Files:
abicheck-1.2-tests.patch abicheck-1.2-undefined-symbol.patch
Removed Files:
abicheck-1.2-test-static.patch
Log Message:
* Fri Oct 5 2007 Michael Schwendt <mschwendt[AT]users.sf.net> - 1.2-11.7
- Patch unbound_match.
- Sync with rawhide: clarify licence (LGPLv2), update tests patch
abicheck-1.2-tests.patch:
--- NEW FILE abicheck-1.2-tests.patch ---
diff -Nur abicheck-1.2-orig/test/Makefile abicheck-1.2/test/Makefile
--- abicheck-1.2-orig/test/Makefile 2003-08-26 21:57:51.000000000 +0200
+++ abicheck-1.2/test/Makefile 2004-12-13 13:01:19.827315472 +0100
@@ -9,7 +9,7 @@
# /usr/bin/ld: BFD 2.11.93.0.2 20020207 assertion fail elf-strtab.c:262
# but it still creates the binary properly.
libc_a: libc_a.c
- cc -o libc_a libc_a.c -lm /usr/lib/libc.a
+ cc -o libc_a libc_a.c -static -lm /usr/lib/libc.a
private1: private1.c
cc -D`uname` -o private1 private1.c
diff -Nur abicheck-1.2-orig/test/libc_a.c abicheck-1.2/test/libc_a.c
--- abicheck-1.2-orig/test/libc_a.c 2003-08-26 21:57:51.000000000 +0200
+++ abicheck-1.2/test/libc_a.c 2007-05-24 11:11:20.000000000 +0200
@@ -5,6 +5,7 @@
/* This is used to catch libc.a linking. See Makefile & run_tests */
+#include <stdio.h>
#include <stdlib.h>
#include <math.h>
diff -Nur abicheck-1.2-orig/test/private1.c abicheck-1.2/test/private1.c
--- abicheck-1.2-orig/test/private1.c 2002-06-18 20:16:07.000000000 +0200
+++ abicheck-1.2/test/private1.c 2007-05-24 11:40:25.000000000 +0200
@@ -6,6 +6,7 @@
/* This is for simple catching of some private symbol usage. See run_tests */
#include <stdio.h>
+#include <string.h>
#if defined(SunOS)
#define OS "Solaris"
diff -Nur abicheck-1.2-orig/test/run_tests abicheck-1.2/test/run_tests
--- abicheck-1.2-orig/test/run_tests 2002-02-07 15:40:20.000000000 +0100
+++ abicheck-1.2/test/run_tests 2007-05-24 11:40:52.000000000 +0200
@@ -19,7 +19,7 @@
# libc_a:
name="libc.a static link test on libc_a"
-if abicheck ./libc_a 2>/dev/null | grep 'STATIC_LINK:.*libc' > /dev/null; then
+if abicheck ./libc_a 2>/dev/null | grep 'STATIC_LINK:.*\(libc\|completely statically linked\)' > /dev/null; then
pass
else
fail
diff -Nur abicheck-1.2-orig/test/run_tests abicheck-1.2/test/run_tests
--- abicheck-1.2-orig/test/run_tests 2002-02-07 15:40:20.000000000 +0100
+++ abicheck-1.2/test/run_tests 2007-05-24 12:33:02.000000000 +0200
@@ -39,7 +39,7 @@
# private1:
name="private1: calls private sym in libc"
-if abicheck ./private1 2>/dev/null | egrep 'PRIVATE:.*libc.*(__open|__nanosleep)' > /dev/null; then
+if abicheck ./private1 2>/dev/null | grep 'PRIVATE:.*libc.*\(__open\|__nanosleep\)' > /dev/null; then
pass
else
fail
diff -Nur abicheck-1.2-orig/test/run_tests abicheck-1.2/test/run_tests
--- abicheck-1.2-orig/test/run_tests 2002-02-07 15:40:20.000000000 +0100
+++ abicheck-1.2/test/run_tests 2007-05-24 13:00:58.000000000 +0200
@@ -29,7 +29,7 @@
# public1:
name="public1: only calls public syms"
-if [ "`abicheck ./public1 2>/dev/null`" = "./public1: OK" ]; then
+if [ "`abicheck ./public1 2>/dev/null`" == "./public1: OK" ]; then
pass
else
fail
abicheck-1.2-undefined-symbol.patch:
--- NEW FILE abicheck-1.2-undefined-symbol.patch ---
diff -Nur abicheck-1.2-orig/abicheck.pl abicheck-1.2/abicheck.pl
--- abicheck-1.2-orig/abicheck.pl 2003-08-26 21:57:51.000000000 +0200
+++ abicheck-1.2/abicheck.pl 2007-10-05 11:47:39.000000000 +0200
@@ -1588,7 +1588,7 @@
$filter_match =
q/file=(.*); filtered by (.*)$/; # XXX not checked
$unbound_match =
- q/^\s*undefined symbol:\s+(\S+)(.*)/;
+ q/symbol (.*) not defined(.*)/;
$dtneeded_match =
q/^\s*(\S+)\s+=>\s+(not found|\S+)/;
$file_match =
Index: abicheck.spec
===================================================================
RCS file: /cvs/extras/rpms/abicheck/F-7/abicheck.spec,v
retrieving revision 1.28
retrieving revision 1.29
diff -u -r1.28 -r1.29
--- abicheck.spec 28 Aug 2006 10:28:57 -0000 1.28
+++ abicheck.spec 5 Oct 2007 10:31:02 -0000 1.29
@@ -3,17 +3,18 @@
Summary: ABI checking tool
Name: abicheck
Version: 1.2
-Release: 11
-License: LGPL
+Release: 11.7
+License: LGPLv2
Group: Applications/File
URL: http://abicheck.sourceforge.net/
Source0: http://dl.sf.net/abicheck/%{name}-%{version}.tar.gz
Patch0: abicheck-1.2-fc3.patch
-Patch1: abicheck-1.2-test-static.patch
+Patch1: abicheck-1.2-tests.patch
Patch2: abicheck-1.2-bindings-fc4.patch
Patch3: abicheck-1.2-libgcc.patch
Patch4: abicheck-1.2-fortify-source-fc6.patch
Patch5: abicheck-1.2-ldlinux.patch
+Patch6: abicheck-1.2-undefined-symbol.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-buildroot-%(%{__id_u} -n)
Requires: binutils perl
@@ -27,11 +28,12 @@
%prep
%setup -q
%patch -p1 -b .fc3
-%patch1 -p1 -b .test-static
+%patch1 -p1 -b .tests
%patch2 -p1 -b .bindings-fc4
%patch3 -p1 -b .libgcc
%patch4 -p1 -b .fortify-source-fc5
%patch5 -p1 -b .ldlinux
+%patch6 -p1 -b .undefined-symbol
sed -i -e 's!/usr/lib/!%{_libdir}/!g' test/Makefile
@@ -62,6 +64,10 @@
%changelog
+* Fri Oct 5 2007 Michael Schwendt <mschwendt[AT]users.sf.net> - 1.2-11.7
+- Patch unbound_match.
+- Sync with rawhide: clarify licence (LGPLv2), update tests patch
+
* Mon Aug 28 2006 Michael Schwendt <mschwendt[AT]users.sf.net> - 1.2-11
- Rebuild and update fortify-source patch.
--- abicheck-1.2-test-static.patch DELETED ---
- Previous message (by thread): rpms/abicheck/devel abicheck-1.2-undefined-symbol.patch, NONE, 1.1 abicheck.spec, 1.40, 1.41
- Next message (by thread): rpms/abicheck/FC-6 abicheck-1.2-tests.patch, NONE, 1.1 abicheck-1.2-undefined-symbol.patch, NONE, 1.1 abicheck.spec, 1.28, 1.29 abicheck-1.2-test-static.patch, 1.1, NONE
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the fedora-extras-commits
mailing list