summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRemi Collet <fedora@famillecollet.com>2013-01-18 08:37:10 +0100
committerRemi Collet <fedora@famillecollet.com>2013-01-18 08:37:10 +0100
commitc91ce6bced0ae99417524eef674216765b2df7e2 (patch)
treefd5e760ad8937a5047af633aa15d713b95797e6d
parent1299786347b97dea0b9109ebaee7881940d49c0a (diff)
php-pecl-xdebug: new snapshot, b44a72afb6bb70c762e6df04a7bf50a4573c5e44
-rw-r--r--php-pecl-xdebug.spec20
1 files changed, 10 insertions, 10 deletions
diff --git a/php-pecl-xdebug.spec b/php-pecl-xdebug.spec
index d0865a6..603e644 100644
--- a/php-pecl-xdebug.spec
+++ b/php-pecl-xdebug.spec
@@ -1,23 +1,20 @@
%{!?__pecl: %{expand: %%global __pecl %{_bindir}/pecl}}
%global pecl_name xdebug
-%global gitver e1b9127
+%global commit b44a72afb6bb70c762e6df04a7bf50a4573c5e44
+%global gitver %(c=%{commit}; echo ${c:0:7})
%global prever dev
Name: php-pecl-xdebug
Summary: PECL package for debugging PHP scripts
Version: 2.2.2
-Release: 0.3%{?gitver:.git%{gitver}}%{?dist}
+Release: 0.4%{?gitver:.git%{gitver}}%{?dist}
%if 0%{?gitver:1}
-# https://github.com/xdebug/xdebug/archive/xdebug_2_2.tar.gz
-Source0: xdebug_2_2.tar.gz
+Source0: https://github.com/%{pecl_name}/%{pecl_name}/archive/%{commit}/%{pecl_name}-%{version}-%{gitver}.tar.gz
%else
Source0: http://pecl.php.net/get/%{pecl_name}-%{version}%{?prever}.tgz
%endif
-# https://github.com/xdebug/xdebug/pull/51
-Patch0: xdebug-build.patch
-
# The Xdebug License, version 1.01
# (Based on "The PHP License", version 3.0)
License: PHP
@@ -75,12 +72,11 @@ Xdebug also provides:
%setup -qc
%if 0%{?gitver:1}
sed -e '/release/s/2.2.1/%{version}%{?prever}/' \
- xdebug-xdebug_2_2/package.xml >package.xml
-mv xdebug-xdebug_2_2 %{pecl_name}-%{version}%{?prever}
+ %{pecl_name}-%{commit}/package.xml >package.xml
+mv %{pecl_name}-%{commit} %{pecl_name}-%{version}%{?prever}
%endif
cd %{pecl_name}-%{version}%{?prever}
-%patch0 -p1 -b .build
# https://bugs.php.net/60330
sed -i -e '/AC_PREREQ/s/2.60/2.59/' debugclient/configure.in
@@ -197,6 +193,10 @@ rm -rf %{buildroot}
%changelog
+* Fri Jan 18 2013 Remi Collet <remi@fedoraproject.org> - 2.2.2-0.4.gitb44a72a
+- new snapshot
+- drop our patch, merged upstream
+
* Thu Jan 3 2013 Remi Collet <remi@fedoraproject.org> - 2.2.2-0.3.gite1b9127
- new snapshot
- add patch, see https://github.com/xdebug/xdebug/pull/51