[php-phpunit-phploc/f14] Upstream 1.6.4

Guillaume Kulakowski llaumgui at fedoraproject.org
Sun Nov 20 10:48:54 UTC 2011


commit 455ffd7f9bb98a693e22bf89b4fd89938a79d855
Author: Guillaume Kulakowski <guillaume at llaumgui.com>
Date:   Sun Nov 20 11:48:46 2011 +0100

    Upstream 1.6.4

 .gitignore              |    1 +
 php-phpunit-phploc.spec |   35 +++++++++++++++++++++++------------
 sources                 |    2 +-
 3 files changed, 25 insertions(+), 13 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index fbf323b..fc1031e 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,2 +1,3 @@
 phploc-1.5.1.tgz
 /phploc-1.6.1.tgz
+/phploc-1.6.4.tgz
diff --git a/php-phpunit-phploc.spec b/php-phpunit-phploc.spec
index 3ff393b..9515db4 100644
--- a/php-phpunit-phploc.spec
+++ b/php-phpunit-phploc.spec
@@ -3,7 +3,7 @@
 %global channel pear.phpunit.de
 
 Name:           php-phpunit-phploc
-Version:        1.6.1
+Version:        1.6.4
 Release:        1%{?dist}
 Summary:        A tool for quickly measuring the size of a PHP project
 
@@ -14,13 +14,14 @@ Source0:        http://pear.phpunit.de/get/%{pear_name}-%{version}.tgz
 BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 
 BuildArch:      noarch
-BuildRequires:  php-pear >= 1:1.9.0
+BuildRequires:  php-pear >= 1:1.9.4
 BuildRequires:  php-channel(%{channel})
 Requires:       php-common >= 5.2.7
+Requires:       php-tokenizer
 Requires:       php-channel(%{channel})
 Requires(post): %{__pear}
 Requires(postun): %{__pear}
-Requires:       php-pear(pear.phpunit.de/File_Iterator) >= 1.2.0
+Requires:       php-pear(pear.phpunit.de/File_Iterator) >= 1.3.0
 Requires:       php-pear(components.ez.no/ConsoleTools) >= 1.6
 
 Provides:       php-pear(%{channel}/%{pear_name}) = %{version}
@@ -37,9 +38,10 @@ need to get a quick understanding of a project's size.
 %prep
 %setup -q -c
 [ -f package2.xml ] || mv package.xml package2.xml
-%{__mv} package2.xml %{pear_name}-%{version}/%{name}.xml
+mv package2.xml %{pear_name}-%{version}/%{name}.xml
 cd %{pear_name}-%{version}
 
+
 %build
 cd %{pear_name}-%{version}
 # Empty build section, most likely nothing required.
@@ -47,29 +49,29 @@ cd %{pear_name}-%{version}
 
 %install
 cd %{pear_name}-%{version}
-%{__rm} -rf $RPM_BUILD_ROOT docdir
-%{__pear} install --nodeps --packagingroot $RPM_BUILD_ROOT %{name}.xml
+rm -rf %{buildroot} docdir
+pear install --nodeps --packagingroot %{buildroot} %{name}.xml
 
 # Clean up unnecessary files
-%{__rm} -rf $RPM_BUILD_ROOT%{pear_phpdir}/.??*
+rm -rf %{buildroot}%{pear_phpdir}/.??*
 
 # Install XML package description
-%{__mkdir} -p $RPM_BUILD_ROOT%{pear_xmldir}
-%{__install} -pm 644 %{name}.xml $RPM_BUILD_ROOT%{pear_xmldir}
+mkdir -p %{buildroot}%{pear_xmldir}
+install -pm 644 %{name}.xml %{buildroot}%{pear_xmldir}
 
 
 %clean
-%{__rm} -rf $RPM_BUILD_ROOT
+rm -rf %{buildroot}
 
 
 %post
-%{__pear} install --nodeps --soft --force --register-only \
+pear install --nodeps --soft --force --register-only \
     %{pear_xmldir}/%{name}.xml >/dev/null || :
 
 
 %postun
 if [ $1 -eq 0 ] ; then
-    %{__pear} uninstall --nodeps --ignore-errors --register-only \
+    pear uninstall --nodeps --ignore-errors --register-only \
         %{channel}/%{pear_name} >/dev/null || :
 fi
 
@@ -82,6 +84,15 @@ fi
 
 
 %changelog
+* Sun Nov 20 2011 Guillaume Kulakowski <guillaume DOT kulakowski AT fedoraproject DOT org> - 1.6.4-1
+- upstream 1.6.4
+
+* Tue Nov  1 2011 Christof Damian <christof at damian.net> - 1.6.2-1
+- upstream 1.6.2
+
+* Fri Feb 18 2011 Guillaume Kulakowski <guillaume DOT kulakowski AT fedoraproject DOT org> - 1.6.1-2
+- Change pearinstaller version for RHEL6
+
 * Sat Feb 12 2011 Guillaume Kulakowski <guillaume DOT kulakowski AT fedoraproject DOT org> - 1.6.1-1
 - upstream 1.6.1
 
diff --git a/sources b/sources
index 013b023..5523d10 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-627887136184d3c27afdcc24d0005c3e  phploc-1.6.1.tgz
+5620ffc5781fa80aef95de2647397838  phploc-1.6.4.tgz


More information about the scm-commits mailing list