[php-phpunit-phploc/el6/master] Change pearinstaller version for RHEL6
Guillaume Kulakowski
llaumgui at fedoraproject.org
Fri Feb 18 14:35:45 UTC 2011
commit 2d73abb537dbbcda29dd78059e526f4855e264a2
Author: Guillaume Kulakowski <guillaume at llaumgui.com>
Date: Fri Feb 18 15:35:45 2011 +0100
Change pearinstaller version for RHEL6
php-phpunit-phploc.spec | 11 ++++++++++-
1 files changed, 10 insertions(+), 1 deletions(-)
---
diff --git a/php-phpunit-phploc.spec b/php-phpunit-phploc.spec
index 3ff393b..dfa4e49 100644
--- a/php-phpunit-phploc.spec
+++ b/php-phpunit-phploc.spec
@@ -4,7 +4,7 @@
Name: php-phpunit-phploc
Version: 1.6.1
-Release: 1%{?dist}
+Release: 2%{?dist}
Summary: A tool for quickly measuring the size of a PHP project
Group: Development/Libraries
@@ -40,6 +40,12 @@ need to get a quick understanding of a project's size.
%{__mv} package2.xml %{pear_name}-%{version}/%{name}.xml
cd %{pear_name}-%{version}
+# Change pearinstaller version
+%if 0%{?rhel} <= 5
+ %{__sed} -i -e "s@<min>1.9.1</min>@<min>1.9.0</min>@" %{name}.xml
+%endif
+
+
%build
cd %{pear_name}-%{version}
# Empty build section, most likely nothing required.
@@ -82,6 +88,9 @@ fi
%changelog
+* 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
More information about the scm-commits
mailing list