[php-bartlett-PHP-Reflect/f18] update to 1.6.1

Remi Collet remi at fedoraproject.org
Tue Feb 26 14:47:55 UTC 2013


commit 3ae5f7dcf0c855081f5197212b594e495e346846
Author: Remi Collet <remi at fedoraproject.org>
Date:   Tue Feb 26 15:47:49 2013 +0100

    update to 1.6.1

 .gitignore                    |    1 +
 php-bartlett-PHP-Reflect.spec |   18 ++++++++----------
 sources                       |    2 +-
 3 files changed, 10 insertions(+), 11 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index e4f84d2..199ec75 100644
--- a/.gitignore
+++ b/.gitignore
@@ -7,3 +7,4 @@ package-*.xml
 /PHP_Reflect-1.4.2.tgz
 /PHP_Reflect-1.5.0.tgz
 /PHP_Reflect-1.6.0.tgz
+/PHP_Reflect-1.6.1.tgz
diff --git a/php-bartlett-PHP-Reflect.spec b/php-bartlett-PHP-Reflect.spec
index a53db9b..15c9333 100644
--- a/php-bartlett-PHP-Reflect.spec
+++ b/php-bartlett-PHP-Reflect.spec
@@ -5,7 +5,7 @@
 
 
 Name:           php-bartlett-PHP-Reflect
-Version:        1.6.0
+Version:        1.6.1
 Release:        1%{?dist}
 Summary:        Adds the ability to reverse-engineer PHP
 
@@ -14,13 +14,14 @@ License:        BSD
 URL:            http://bartlett.laurent-laville.org/
 Source0:        http://%{channel}/get/%{pear_name}-%{version}%{?prever}.tgz
 
-BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 BuildArch:      noarch
+BuildRequires:  php(language) >= 5.2.0
 BuildRequires:  php-pear(PEAR) >= 1.9.0
 BuildRequires:  php-channel(%{channel})
 # to run test suite
 BuildRequires:  php-pear(pear.phpunit.de/PHPUnit) >= 3.5.0
 
+Requires:       php(language) >= 5.2.0
 Requires:       php-pear(PEAR) >= 1.9.0
 Requires(post): %{__pear}
 Requires(postun): %{__pear}
@@ -52,7 +53,6 @@ cd %{pear_name}-%{version}%{?prever}
 
 
 %install
-rm -rf %{buildroot}
 cd %{pear_name}-%{version}%{?prever}
 
 %{__pear} install --nodeps --packagingroot %{buildroot} %{name}.xml
@@ -65,21 +65,17 @@ mkdir -p %{buildroot}%{pear_xmldir}
 install -pm 644 %{name}.xml %{buildroot}%{pear_xmldir}
 
 
-
 %check
 cd %{pear_name}-%{version}%{?prever}
 
-# Version 1.3.0 : OK (34 tests, 55 assertions)
+# Version 1.6.1 : OK, but incomplete or skipped tests!
+# Tests: 49, Assertions: 110, Skipped: 1.
 %{_bindir}/phpunit \
   -d date.timezone=UTC \
   --bootstrap %{buildroot}%{pear_phpdir}/Bartlett/PHP/Reflect/Autoload.php \
   tests
 
 
-%clean
-rm -rf %{buildroot}
-
-
 %post
 %{__pear} install --nodeps --soft --force --register-only \
     %{pear_xmldir}/%{name}.xml >/dev/null || :
@@ -92,7 +88,6 @@ fi
 
 
 %files
-%defattr(-,root,root,-)
 %doc %{pear_docdir}/%{pear_name}
 %{pear_xmldir}/%{name}.xml
 %{pear_phpdir}/Bartlett
@@ -100,6 +95,9 @@ fi
 
 
 %changelog
+* Tue Feb 26 2013 Remi Collet <remi at fedoraproject.org> - 1.6.1-1
+- Update to 1.6.1
+
 * Fri Feb 22 2013 Remi Collet <remi at fedoraproject.org> - 1.6.0-1
 - Version 1.6.0 (stable) - API 1.6.0 (stable)
 - html documentation is now provided by upstream
diff --git a/sources b/sources
index 818caf1..161362f 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-39bd9e4e1f435ccc903cd93186dd367b  PHP_Reflect-1.6.0.tgz
+6a9a33d348426196b928556ee5a4beee  PHP_Reflect-1.6.1.tgz


More information about the scm-commits mailing list