[php-bartlett-PHP-CompatInfo/f17] keep phpci command for now

Remi Collet remi at fedoraproject.org
Fri Jun 7 14:15:18 UTC 2013


commit c2d15b041bdfcf00403a24027cc97740c10e08bc
Author: Remi Collet <remi at fedoraproject.org>
Date:   Fri Jun 7 16:12:21 2013 +0200

    keep phpci command for now

 php-bartlett-PHP-CompatInfo.spec |   11 ++++++++++-
 1 files changed, 10 insertions(+), 1 deletions(-)
---
diff --git a/php-bartlett-PHP-CompatInfo.spec b/php-bartlett-PHP-CompatInfo.spec
index e8c52cb..3177506 100644
--- a/php-bartlett-PHP-CompatInfo.spec
+++ b/php-bartlett-PHP-CompatInfo.spec
@@ -17,7 +17,7 @@
 
 Name:           php-bartlett-PHP-CompatInfo
 Version:        2.17.0
-Release:        1%{?dist}
+Release:        2%{?dist}
 Summary:        Find out version and the extensions required for a piece of code to run
 
 Group:          Development/Libraries
@@ -58,6 +58,7 @@ Requires:       php-pear(pear.phpunit.de/PHP_Timer) >= 1.0.0
 # Optional and not yet availalble php-pear(Net_Growl) >= 2.2.2
 
 Provides:       php-pear(%{channel}/%{pear_name}) = %{version}%{?prever}
+Provides:       phpci = %{version}%{?prever}
 Provides:       phpcompatinfo = %{version}%{?prever}
 
 
@@ -106,6 +107,10 @@ install -pm 644 phpcompatinfo.xml %{buildroot}%{pear_cfgdir}/%{pear_name}/
 mkdir -p %{buildroot}%{_mandir}/man1
 install -pm 644 %{SOURCE1} %{buildroot}%{_mandir}/man1/phpcompatinfo.1
 
+# Keep old phpci command for compatibility (will be remove later)
+cd %{buildroot}%{_bindir}
+ln -s phpcompatinfo phpci
+
 
 %check
 cd %{pear_name}-%{version}%{?prever}
@@ -154,11 +159,15 @@ fi
 %{pear_phpdir}/Bartlett/PHP/Compat*
 %{pear_testdir}/%{pear_name}
 %{pear_datadir}/%{pear_name}
+%{_bindir}/phpci
 %{_bindir}/phpcompatinfo
 %{_mandir}/man1/phpcompatinfo.*
 
 
 %changelog
+* Fri Jun 07 2013 Remi Collet <remi at fedoraproject.org> - 2.17.0-2
+- keep phpci command for now
+
 * Fri Jun 07 2013 Remi Collet <remi at fedoraproject.org> - 2.17.0-1
 - Update to 2.17.0
 - phpci command renamed to phpcompatinfo


More information about the scm-commits mailing list