[php-pecl-xdebug/el6] update to 2.1.3 (bugfix)

Remi Collet remi at fedoraproject.org
Thu Jan 26 16:15:47 UTC 2012


commit c2501a9bf285fa51c11a44305fa5a004ac1d112b
Author: remi <fedora at famillecollet.com>
Date:   Thu Jan 26 16:44:18 2012 +0100

    update to 2.1.3 (bugfix)

 .gitignore           |    1 +
 php-pecl-xdebug.spec |   13 ++++++-------
 sources              |    2 +-
 3 files changed, 8 insertions(+), 8 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index f9b64b3..b9ab648 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,2 +1,3 @@
 *~
 /xdebug-2.1.2.tgz
+/xdebug-2.1.3.tgz
diff --git a/php-pecl-xdebug.spec b/php-pecl-xdebug.spec
index 842f6e1..5f1aa81 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.2
+Version:        2.1.3
 Release:        1%{?dist}
 Summary:        PECL package for debugging PHP scripts
 
@@ -93,8 +93,8 @@ popd
 
 
 %install
+rm -rf $RPM_BUILD_ROOT
 cd %{pecl_name}-%{version}
-rm -rf $RPM_BUILD_ROOT docs
 make install INSTALL_ROOT=$RPM_BUILD_ROOT
 
 # install debugclient
@@ -108,10 +108,6 @@ cat > $RPM_BUILD_ROOT%{_sysconfdir}/php.d/%{pecl_name}.ini << 'EOF'
 zend_extension=%{php_extdir}/%{pecl_name}.so
 EOF
 
-# install doc files
-install -d ../docs
-install -pm 644 Changelog CREDITS LICENSE NEWS README ../docs
-
 # Install XML package description
 install -d $RPM_BUILD_ROOT%{pecl_xmldir}
 install -pm 644 %{pecl_name}.xml $RPM_BUILD_ROOT%{pecl_xmldir}/%{name}.xml
@@ -146,7 +142,7 @@ rm -rf $RPM_BUILD_ROOT
 
 %files
 %defattr(-,root,root,-)
-%doc docs/*
+%doc %{pecl_name}-%{version}/{Changelog,CREDITS,LICENSE,NEWS,README}
 %config(noreplace) %{_sysconfdir}/php.d/%{pecl_name}.ini
 %{php_extdir}/%{pecl_name}.so
 %{_bindir}/debugclient
@@ -154,6 +150,9 @@ rm -rf $RPM_BUILD_ROOT
 
 
 %changelog
+* Thu Jan 26 2012 Remi Collet <remi at fedoraproject.org> - 2.1.3-1
+- update to 2.1.3
+
 * 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
diff --git a/sources b/sources
index edf1374..929888e 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-3a9c3402063c8163de6e419ddc8d96e7  xdebug-2.1.2.tgz
+779f4a66acdccd673553769e403674c4  xdebug-2.1.3.tgz


More information about the scm-commits mailing list