[php-bartlett-PHP-CompatInfo/f18] - Update to 2.17.0 - phpci command renamed to phpcompatinfo

Remi Collet remi at fedoraproject.org
Fri Jun 7 13:16:32 UTC 2013


commit 2d1e2a8e2bd1e860ddc802b11fdc371731ec51a7
Author: Remi Collet <remi at fedoraproject.org>
Date:   Fri Jun 7 15:16:19 2013 +0200

    - Update to 2.17.0
    - phpci command renamed to phpcompatinfo

 .gitignore                       |    2 ++
 php-bartlett-PHP-CompatInfo.spec |   27 ++++++++++++++++++---------
 phpci.1 => phpcompatinfo.1       |   20 ++++++++++----------
 sources                          |    2 +-
 4 files changed, 31 insertions(+), 20 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index e8686c0..b44bfe9 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,3 +1,4 @@
+clog
 *spec~
 package-*.xml
 /PHP_CompatInfo-2.1.0.tgz
@@ -21,3 +22,4 @@ package-*.xml
 /PHP_CompatInfo-2.14.1.tgz
 /PHP_CompatInfo-2.15.0.tgz
 /PHP_CompatInfo-2.16.0.tgz
+/PHP_CompatInfo-2.17.0.tgz
diff --git a/php-bartlett-PHP-CompatInfo.spec b/php-bartlett-PHP-CompatInfo.spec
index d187a8a..b6302f5 100644
--- a/php-bartlett-PHP-CompatInfo.spec
+++ b/php-bartlett-PHP-CompatInfo.spec
@@ -1,3 +1,11 @@
+# spec file for php-bartlett-PHP-CompatInfo
+#
+# Copyright (c) 2011-2013 Remi Collet
+# License: CC-BY-SA
+# http://creativecommons.org/licenses/by-sa/3.0/
+#
+# Please, preserve the changelog entries
+#
 %{!?__pear: %{expand: %%global __pear %{_bindir}/pear}}
 %{!?pear_metadir: %global pear_metadir %{pear_phpdir}}
 %global pear_name   PHP_CompatInfo
@@ -8,7 +16,7 @@
 
 
 Name:           php-bartlett-PHP-CompatInfo
-Version:        2.16.0
+Version:        2.17.0
 Release:        1%{?dist}
 Summary:        Find out version and the extensions required for a piece of code to run
 
@@ -17,7 +25,7 @@ Group:          Development/Libraries
 License:        BSD and MIT
 URL:            http://php5.laurent-laville.org/compatinfo/
 Source0:        http://bartlett.laurent-laville.org/get/%{pear_name}-%{version}%{?prever}.tgz
-Source1:        https://raw.github.com/llaville/php-compat-info/master/misc/phpci.1
+Source1:        https://raw.github.com/llaville/php-compat-info/master/misc/phpcompatinfo.1
 
 # Update configuration for best experience
 # Reference = ALL known extension (instead of installed ones)
@@ -50,7 +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}
 
 
 %description
@@ -91,15 +99,12 @@ rm -rf %{buildroot}%{pear_metadir}/.??*
 mkdir -p %{buildroot}%{pear_xmldir}
 install -pm 644 %{name}.xml %{buildroot}%{pear_xmldir}
 
-# Fix wrong-script-end-of-line-encoding
-sed -i -e 's/\r//' %{buildroot}%{_bindir}/phpci
-
 # Create default package configuration
 install -pm 644 phpcompatinfo.xml %{buildroot}%{pear_cfgdir}/%{pear_name}/
 
 # Install the man page
 mkdir -p %{buildroot}%{_mandir}/man1
-install -pm 644 %{SOURCE1} %{buildroot}%{_mandir}/man1/phpci.1
+install -pm 644 %{SOURCE1} %{buildroot}%{_mandir}/man1/phpcompatinfo.1
 
 
 %check
@@ -149,11 +154,15 @@ fi
 %{pear_phpdir}/Bartlett/PHP/Compat*
 %{pear_testdir}/%{pear_name}
 %{pear_datadir}/%{pear_name}
-%{_bindir}/phpci
-%{_mandir}/man1/phpci.*
+%{_bindir}/phpcompatinfo
+%{_mandir}/man1/phpcompatinfo.*
 
 
 %changelog
+* Fri Jun 07 2013 Remi Collet <remi at fedoraproject.org> - 2.17.0-1
+- Update to 2.17.0
+- phpci command renamed to phpcompatinfo
+
 * Fri May 10 2013 Remi Collet <remi at fedoraproject.org> - 2.16.0-1
 - Update to 2.16.0
 
diff --git a/phpci.1 b/phpcompatinfo.1
similarity index 83%
rename from phpci.1
rename to phpcompatinfo.1
index 38664fc..0a0f32b 100644
--- a/phpci.1
+++ b/phpcompatinfo.1
@@ -1,13 +1,13 @@
 '\" t
-.\"     Title: phpci
+.\"     Title: phpcompatinfo
 .\"    Author: [see the "AUTHORS" section]
 .\" Generator: DocBook XSL Stylesheets v1.78.1 <http://docbook.sf.net/>
-.\"      Date: 03/19/2013
+.\"      Date: 05/28/2013
 .\"    Manual: \ \&
 .\"    Source: \ \&
 .\"  Language: English
 .\"
-.TH "PHPCI" "1" "03/19/2013" "\ \&" "\ \&"
+.TH "PHPCOMPATINFO" "1" "05/28/2013" "\ \&" "\ \&"
 .\" -----------------------------------------------------------------
 .\" * Define some portability stuff
 .\" -----------------------------------------------------------------
@@ -28,13 +28,13 @@
 .\" * MAIN CONTENT STARTS HERE *
 .\" -----------------------------------------------------------------
 .SH "NAME"
-phpci \- parse any data source to find out the minimum version and extensions required for it to run
+phpcompatinfo \- parse any data source to find out the minimum version and extensions required for it to run
 .SH "SYNOPSIS"
 .sp
-\fBphpci\fR [\fIOPTIONS\fR] \fICOMMAND\fR [\fIOPTS\fR] [\fIDATASOURCE\fR]
+\fBphpcompatinfo\fR [\fIOPTIONS\fR] \fICOMMAND\fR [\fIOPTS\fR] [\fIDATASOURCE\fR]
 .SH "DESCRIPTION"
 .sp
-The phpci(1) command parse any \fIDATASOURCE\fR to find out the minimum PHP version and extensions required\&.
+The phpcompatinfo(1) command parse any \fIDATASOURCE\fR to find out the minimum PHP version and extensions required\&.
 .SH "OPTIONS"
 .PP
 \fB\-\-configuration\fR=\fIXMLFILE\fR
@@ -71,7 +71,7 @@ Verbosely print processing information and warning messages\&.
 \fItopic\fR\fB\-\-help\fR
 will print help content about a topic,
 \fB\-\-help\fR
-summarizes phpci syntax\&.
+summarizes phpcompatinfo syntax\&.
 .RE
 .RE
 .PP
@@ -81,13 +81,13 @@ Print program version number\&.
 .RE
 .SH "PRINT COMMAND"
 .sp
-The phpci(1) \fIPRINT\fR command is used to find out minimum php version to run data source code provided\&. Syntax:
+The phpcompatinfo(1) \fIPRINT\fR command is used to find out minimum php version to run data source code provided\&. Syntax:
 .sp
 .if n \{\
 .RS 4
 .\}
 .nf
-phpci print [OPTION] DATA_SOURCE
+phpcompatinfo print [OPTION] DATA_SOURCE
 .fi
 .if n \{\
 .RE
@@ -97,7 +97,7 @@ Where:
 .PP
 \fBOPTION\fR
 .RS 4
-phpci(1)
+phpcompatinfo(1)
 \fB\-\-report\fR
 option specifying the type of result to print on stdout\&. See
 \fB\-\-help\-report\fR
diff --git a/sources b/sources
index 6d241cd..9c1de53 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-7c4abcbb49fed31678a6354b61dfa36d  PHP_CompatInfo-2.16.0.tgz
+7b0c9894ade6af8deb9fb3578071c56c  PHP_CompatInfo-2.17.0.tgz


More information about the scm-commits mailing list