[php-pear-HTML-QuickForm] update to 3.12.13
Remi Collet
remi at fedoraproject.org
Sat Oct 1 15:42:28 UTC 2011
commit a27df7d2215ecf4fac1cb1e0b11d226b0b35579f
Author: remi <fedora at famillecollet.com>
Date: Sat Oct 1 17:42:12 2011 +0200
update to 3.12.13
.gitignore | 5 +++--
php-pear-HTML-QuickForm.spec | 13 ++++++-------
sources | 2 +-
xml2changelog | 21 ++++++++++++---------
4 files changed, 22 insertions(+), 19 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index 94e685d..b7eebda 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,3 +1,4 @@
-HTML_QuickForm-3.2.11.tgz
-package.xml
+package-*.xml
+*spec~
/HTML_QuickForm-3.2.12.tgz
+/HTML_QuickForm-3.2.13.tgz
diff --git a/php-pear-HTML-QuickForm.spec b/php-pear-HTML-QuickForm.spec
index 4ee5feb..f500bd9 100644
--- a/php-pear-HTML-QuickForm.spec
+++ b/php-pear-HTML-QuickForm.spec
@@ -2,8 +2,8 @@
%global pear_name HTML_QuickForm
Name: php-pear-HTML-QuickForm
-Version: 3.2.12
-Release: 3%{?dist}
+Version: 3.2.13
+Release: 1%{?dist}
Summary: Class for creating, validating, processing HTML forms
Group: Development/Libraries
@@ -42,10 +42,6 @@ Features:
%setup -qc
%{_bindir}/php -n %{SOURCE2} package.xml | tee CHANGELOG | head -n 10
-# Create a "localized" php.ini to avoid build warning
-cp /etc/php.ini .
-echo "date.timezone=UTC" >>php.ini
-
cd %{pear_name}-%{version}
# package.xml is V2
mv ../package.xml %{name}.xml
@@ -59,7 +55,7 @@ cd %{pear_name}-%{version}
%install
rm -rf $RPM_BUILD_ROOT
cd %{pear_name}-%{version}
-PHPRC=../php.ini %{__pear} install --nodeps --packagingroot $RPM_BUILD_ROOT %{name}.xml
+%{__pear} install --nodeps --packagingroot $RPM_BUILD_ROOT %{name}.xml
# fix line endings in doc
find $RPM_BUILD_ROOT%{pear_docdir}/%{pear_name} \
@@ -97,6 +93,9 @@ fi
%changelog
+* Sat Oct 01 2011 Remi Collet <remi at fedoraproject.org> - 3.2.13-1
+- Version 3.2.13 (stable) - API 3.2.6 (stable)
+
* Sat Apr 16 2011 Remi Collet <Fedora at FamilleCollet.com> 3.2.12-3
- doc in /usr/share/doc/pear
diff --git a/sources b/sources
index 0622c77..a44d7f9 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-5742a1e1a7400120bf48ffcd4acaf1d8 HTML_QuickForm-3.2.12.tgz
+88ed99cc2d6a1fd3b066b3941c7d0a8f HTML_QuickForm-3.2.13.tgz
diff --git a/xml2changelog b/xml2changelog
index eb6bd31..3a31be6 100644
--- a/xml2changelog
+++ b/xml2changelog
@@ -7,11 +7,14 @@ $file=array_shift($_SERVER['argv']);
if (in_array("--debug", $_SERVER['argv'])) print_r($xml);
if ($xml['version'] >= "2"){ // Package.xml V 2.0
- printf("*** Version %s (%s) - API %s (%s) - %s\n\n%s\n\n",
- $xml->version->release, $xml->stability->release,
- $xml->version->api, $xml->stability->api,
- $xml->date, $xml->notes);
- $new=$xml->version->release;
+ $new = "";
+ if (strlen(trim($xml->notes))>1) { // Ignore too short descr.
+ printf("*** Version %s (%s) - API %s (%s) - %s\n\n%s\n\n",
+ $xml->version->release, $xml->stability->release,
+ $xml->version->api, $xml->stability->api,
+ $xml->date, $xml->notes);
+ $new=$xml->version->release;
+ }
if (isset($xml->changelog->release) && count($xml->changelog->release)) {
$tab = array();
@@ -20,14 +23,14 @@ if ($xml['version'] >= "2"){ // Package.xml V 2.0
if ("$old" != "$new") {
$tab[''.$rel->date] = $rel;
}
- }
+ }
krsort($tab);
foreach($tab as $rel) {
printf("*** Version %s (%s) - API %s (%s) - %s\n\n%s\n\n",
- $rel->version->release, $rel->stability->release,
- $rel->version->api, $rel->stability->api,
+ $rel->version->release, $rel->stability->release,
+ $rel->version->api, $rel->stability->api,
$rel->date, $rel->notes);
- }
+ }
}
} else { // Package.xml V 1.0
printf("* Version %s (%s) - %s\n\n%s\n\n",
More information about the scm-commits
mailing list