[php-phpunit-PHP-CodeCoverage] update to 1.0.4

Remi Collet remi at fedoraproject.org
Wed Feb 23 15:43:16 UTC 2011


commit bc8a23ed88923be35810fb3de6d93f656d0fa8c7
Author: remi <fedora at famillecollet.com>
Date:   Wed Feb 23 16:43:18 2011 +0100

    update to 1.0.4

 .gitignore                        |    1 +
 php-phpunit-PHP-CodeCoverage.spec |   16 +++++++++++-----
 sources                           |    2 +-
 3 files changed, 13 insertions(+), 6 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index 3bc10d1..93b3ce7 100644
--- a/.gitignore
+++ b/.gitignore
@@ -2,3 +2,4 @@
 package*.xml
 /PHP_CodeCoverage-1.0.2.tgz
 /PHP_CodeCoverage-1.0.3.tgz
+/PHP_CodeCoverage-1.0.4.tgz
diff --git a/php-phpunit-PHP-CodeCoverage.spec b/php-phpunit-PHP-CodeCoverage.spec
index 73a5913..d86c3d9 100644
--- a/php-phpunit-PHP-CodeCoverage.spec
+++ b/php-phpunit-PHP-CodeCoverage.spec
@@ -3,15 +3,14 @@
 %global channel pear.phpunit.de
 
 Name:           php-phpunit-PHP-CodeCoverage
-Version:        1.0.3
-Release:        2%{?dist}
+Version:        1.0.4
+Release:        1%{?dist}
 Summary:        PHP code coverage information
 
 Group:          Development/Libraries
 License:        BSD
 URL:            https://github.com/sebastianbergmann/php-code-coverage
 Source0:        http://pear.phpunit.de/get/%{pear_name}-%{version}.tgz
-Source1:        https://github.com/sebastianbergmann/php-code-coverage/raw/master/README.markdown
 
 BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 BuildArch:      noarch
@@ -40,7 +39,9 @@ for PHP code coverage information.
 cp /etc/php.ini .
 echo "date.timezone=UTC" >>php.ini
 
-cp %{SOURCE1} README.markdown
+# Create links for standard RPM docdir (to standard PEAR docdir)
+ln -s %{pear_docdir}/%{pear_name}/LICENSE            LICENSE
+ln -s %{pear_docdir}/%{pear_name}/ChangeLog.markdown CHANGELOG
 
 cd %{pear_name}-%{version}
 # package.xml is V2 - hack to lower PEAR dependency
@@ -87,13 +88,18 @@ fi
 
 %files
 %defattr(-,root,root,-)
-%doc README.markdown
+%doc LICENSE CHANGELOG
+%doc %{pear_docdir}/%{pear_name}
 %{pear_xmldir}/%{name}.xml
 %{pear_phpdir}/PHP
 %{_bindir}/phpcov
 
 
 %changelog
+* Wed Feb 16 2011 Remi Collet <Fedora at famillecollet.com> - 1.0.4-1
+- Version 1.0.4 (stable) - API 1.0.3 (stable)
+- LICENSE CHANGELOG now provided by upstream
+
 * Wed Feb 09 2011 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 1.0.3-2
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
 
diff --git a/sources b/sources
index 0e12972..b63138a 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-b528961b30a72c0a5cee528856fb500e  PHP_CodeCoverage-1.0.3.tgz
+c745b86a2eb43c06a52b813e0553c8ee  PHP_CodeCoverage-1.0.4.tgz


More information about the scm-commits mailing list