diff options
author | Remi Collet <fedora@famillecollet.com> | 2013-06-07 15:58:52 +0200 |
---|---|---|
committer | Remi Collet <fedora@famillecollet.com> | 2013-06-07 15:58:52 +0200 |
commit | 96f12ac79a75554e18147268371082a9850729a2 (patch) | |
tree | 87eb50a1892286f297a088c62d726226bf90516a | |
parent | b429cbf5d7fa97a92502322a4a0b89b3ac319135 (diff) |
php-bartlett-PHP-CompatInfo: keep phpci command for now
-rw-r--r-- | 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 39d1b1a..1370592 100644 --- a/php-bartlett-PHP-CompatInfo.spec +++ b/php-bartlett-PHP-CompatInfo.spec @@ -16,7 +16,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 @@ -88,6 +88,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} @@ -170,6 +171,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} @@ -219,11 +224,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@fedoraproject.org> - 2.17.0-2 +- keep phpci command for now + * Fri Jun 07 2013 Remi Collet <remi@fedoraproject.org> - 2.17.0-1 - Update to 2.17.0 - phpci command renamed to phpcompatinfo |