rpms/CodeAnalyst-gui/devel ca-enable-oprofile-0.9.6.patch, NONE, 1.1 CodeAnalyst-gui.spec, 1.14, 1.15

Suravee Suthikulpanit suravee at fedoraproject.org
Thu Feb 4 03:33:07 UTC 2010


Author: suravee

Update of /cvs/pkgs/rpms/CodeAnalyst-gui/devel
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv32588

Modified Files:
	CodeAnalyst-gui.spec 
Added Files:
	ca-enable-oprofile-0.9.6.patch 
Log Message:
Add patch to enable oprofile-0.9.6
Bump release number


ca-enable-oprofile-0.9.6.patch:
 checkoprofileconfig.m4 |    6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

--- NEW FILE ca-enable-oprofile-0.9.6.patch ---
diff -paur CodeAnalyst-gui-2.8.54-org/m4/checkoprofileconfig.m4 CodeAnalyst-gui-2.8.54/m4/checkoprofileconfig.m4
--- CodeAnalyst-gui-2.8.54-org/m4/checkoprofileconfig.m4	2009-12-08 16:00:55.000000000 -0600
+++ CodeAnalyst-gui-2.8.54/m4/checkoprofileconfig.m4	2009-12-08 16:09:51.000000000 -0600
@@ -17,8 +17,9 @@ AC_DEFUN([CHECK_OPROFILE_VERSION],
 	if test "$OP_VERSION_BASE" != "0.9.3" ; then
 	if test "$OP_VERSION_BASE" != "0.9.4" ; then
 	if test "$OP_VERSION_BASE" != "0.9.5" ; then
+	if test "$OP_VERSION_BASE" != "0.9.6" ; then
 		AC_MSG_ERROR([Oprofile version $OP_VERSION is not supported.])
-	fi fi fi
+	fi fi fi fi
 
 	dnl Convert version number to a value comparable by preprocessor 
 	AC_DEFINE_UNQUOTED(OP_VERSION_BASE, 0x`echo $OP_VERSION_BASE | sed 's/\./0/g'`, [Oprofile version])
@@ -51,8 +52,9 @@ AC_DEFUN([CHECK_OPROFILE_CONFIG],
         if test "$OP_VERSION_BASE" != "0.9.3" ; then
         if test "$OP_VERSION_BASE" != "0.9.4" ; then
         if test "$OP_VERSION_BASE" != "0.9.5" ; then
+	if test "$OP_VERSION_BASE" != "0.9.6" ; then
                 AC_MSG_ERROR([Oprofile version $OP_VERSION is not supported.])
-        fi fi fi
+        fi fi fi fi
 
         dnl Convert version number to a value comparable by preprocessor 
         AC_DEFINE_UNQUOTED(OP_VERSION_BASE, 0x`echo $OP_VERSION_BASE | sed 's/\./0/g'`, [Oprofile version])


Index: CodeAnalyst-gui.spec
===================================================================
RCS file: /cvs/pkgs/rpms/CodeAnalyst-gui/devel/CodeAnalyst-gui.spec,v
retrieving revision 1.14
retrieving revision 1.15
diff -u -p -r1.14 -r1.15
--- CodeAnalyst-gui.spec	5 Nov 2009 18:59:12 -0000	1.14
+++ CodeAnalyst-gui.spec	4 Feb 2010 03:33:07 -0000	1.15
@@ -1,7 +1,7 @@
 Summary:       CodeAnalyst is a Performance Analysis Suite for AMD-based System
 Name:          CodeAnalyst-gui
 Version:       2.8.54
-Release:       20%{?dist}
+Release:       21%{?dist}
 License:       GPLv2
 Group:         Development/System
 URL:           http://developer.amd.com/cpu/CodeAnalyst/codeanalystlinux
@@ -29,6 +29,9 @@ Patch4:        ca-use-dynamic-feature-ch
 # Fix sudo issue
 Patch5:        ca-fix-su.patch
 
+# Enable oprofile-0.9.6 support
+Patch6:        ca-enable-oprofile-0.9.6.patch
+
 Requires:      popt
 Requires:      binutils
 Requires:      elfutils-libelf
@@ -69,6 +72,7 @@ profile comparison, DiffAnalayst.
 %patch3 -p0 -b .ca-use-lbfd
 %patch4 -p1 -b .ca-use-dynamic-feature-check
 %patch5 -p1 -b .ca-fix-su
+%patch6 -p1 -b .ca-enable-oprofile-0.9.6
 
 
 %build
@@ -144,6 +148,10 @@ exit 0
 
 
 %changelog
+* Wed Feb 3 2010 Suravee Suthikulpanit <suravee.suthikulpanit at amd.com>
+- 2.8.54-21
+- Add Patch6 (ca-enable-oprofile-0.9.6.patch)
+
 * Wed Oct 28 2009 Suravee Suthikulpanit <suravee.suthikulpanit at amd.com>
 - 2.8.54-20
 - Add Patch4 (ca-use-dynamic-feature-check.patch)



More information about the scm-commits mailing list