[php-pecl-xdebug] update to 2.1.2, and fix for rpm 4.9

Remi Collet remi at fedoraproject.org
Thu Jul 28 19:01:08 UTC 2011


commit 4b5d571361b4ac42e2121692a4a3cea25a06aaaf
Author: remi <fedora at famillecollet.com>
Date:   Thu Jul 28 21:00:52 2011 +0200

    update to 2.1.2, and fix for rpm 4.9

 .gitignore           |    5 ++---
 php-pecl-xdebug.spec |   38 +++++++++++++++++++++++++++-----------
 sources              |    2 +-
 3 files changed, 30 insertions(+), 15 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index 1a635eb..f9b64b3 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,3 +1,2 @@
-xdebug-2.0.5.tgz
-xdebug-2.1.0.tgz
-/xdebug-2.1.1.tgz
+*~
+/xdebug-2.1.2.tgz
diff --git a/php-pecl-xdebug.spec b/php-pecl-xdebug.spec
index 0bba454..cc4de73 100644
--- a/php-pecl-xdebug.spec
+++ b/php-pecl-xdebug.spec
@@ -5,7 +5,7 @@
 %global pecl_name xdebug
 
 Name:           php-pecl-xdebug
-Version:        2.1.1
+Version:        2.1.2
 Release:        1%{?dist}
 Summary:        PECL package for debugging PHP scripts
 
@@ -36,15 +36,30 @@ Requires:       php-api = %{php_apiver}
 %endif
 
 
-%{?filter_setup:
-%filter_provides_in %{php_extdir}/.*\.so$
-%filter_setup
-}
+# RPM 4.8
+%{?filter_provides_in: %filter_provides_in %{php_extdir}/.*\.so$}
+%{?filter_setup}
+# RPM 4.9
+%global __provides_exclude_from %{?__provides_exclude_from:%__provides_exclude_from|}%{php_extdir}/.*\\.so$
 
 
 %description
-The Xdebug extension helps you debugging your script by providing a lot
-of valuable debug information.
+The Xdebug extension helps you debugging your script by providing a lot of
+valuable debug information. The debug information that Xdebug can provide
+includes the following:
+
+* stack and function traces in error messages with:
+  o full parameter display for user defined functions
+  o function name, file name and line indications
+  o support for member functions
+* memory allocation
+* protection for infinite recursions
+
+Xdebug also provides:
+
+* profiling information for PHP scripts
+* code coverage analysis
+* capabilities to debug your scripts interactively with a debug client
 
 
 %prep
@@ -57,9 +72,6 @@ mv ../package2.xml %{pecl_name}.xml
 iconv -f iso8859-1 -t utf-8 Changelog > Changelog.conv && mv -f Changelog.conv Changelog
 chmod -x *.[ch]
 
-# http://bugs.xdebug.org/view.php?id=674
-sed -i -e "/XDEBUG_VERSION/s/2.1.2dev/%{version}/" php_xdebug.h
-
 # Check extension version
 ver=$(sed -n '/XDEBUG_VERSION/{s/.* "//;s/".*$//;p}' php_xdebug.h)
 if test "$ver" != "%{version}"; then
@@ -75,7 +87,6 @@ phpize
 
 # Build debugclient
 pushd debugclient
-#cp %{_datadir}/automake-1.??/depcomp .
 %configure --with-libedit
 %{__make} %{?_smp_mflags}
 popd
@@ -143,6 +154,11 @@ rm -rf $RPM_BUILD_ROOT
 
 
 %changelog
+* Thu Jul 28 2011 Remi Collet <Fedora at FamilleCollet.com> - 2.1.2-1
+- update to 2.1.2
+- fix provides filter for rpm 4.9
+- improved description
+
 * Wed Mar 30 2011 Remi Collet <Fedora at FamilleCollet.com> - 2.1.1-1
 - update to 2.1.1
 - patch reported version
diff --git a/sources b/sources
index 81400e7..edf1374 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-c778f0c0505dacc40d9a70c655bb3552  xdebug-2.1.1.tgz
+3a9c3402063c8163de6e419ddc8d96e7  xdebug-2.1.2.tgz


More information about the scm-commits mailing list