[php-pear-Cache-Lite] Version 1.7.14 (stable) - API 1.7.7 (stable)
Remi Collet
remi at fedoraproject.org
Wed May 23 16:07:32 UTC 2012
commit aac7a1ce6a55600198bfec068040607932deccfc
Author: remi <fedora at famillecollet.com>
Date: Wed May 23 18:07:26 2012 +0200
Version 1.7.14 (stable) - API 1.7.7 (stable)
.gitignore | 1 +
php-pear-Cache-Lite.spec | 24 ++++++++++++++++++------
sources | 2 +-
xml2changelog | 2 +-
4 files changed, 21 insertions(+), 8 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index d3a1ddf..efc83fc 100644
--- a/.gitignore
+++ b/.gitignore
@@ -3,3 +3,4 @@ package-*.xml
/Cache_Lite-1.7.10.tgz
/Cache_Lite-1.7.11.tgz
/Cache_Lite-1.7.12.tgz
+/Cache_Lite-1.7.14.tgz
diff --git a/php-pear-Cache-Lite.spec b/php-pear-Cache-Lite.spec
index ceec016..aadda66 100644
--- a/php-pear-Cache-Lite.spec
+++ b/php-pear-Cache-Lite.spec
@@ -4,8 +4,8 @@
Summary: Fast and Safe little cache system for PHP
Summary(fr): Méthode de cache rapide et sécurisée pour PHP
Name: php-pear-Cache-Lite
-Version: 1.7.12
-Release: 2%{?dist}
+Version: 1.7.14
+Release: 1%{?dist}
License: PHP
Group: Development/Libraries
Source: http://pear.php.net/get/%{pear_name}-%{version}.tgz
@@ -34,7 +34,19 @@ et/ou des tests anti-corruption).
%prep
-%setup -c -q
+#%setup -c -q
+# temporary use -i option for https://pear.php.net/bugs/19433
+tar xizf %{SOURCE0}
+
+# fix role https://pear.php.net/bugs/bug.php?id=19434
+sed -i \
+ -e '/examples/s/role="data"/role="doc"/' \
+ -e '/technical/s/role="data"/role="doc"/' \
+ -e '/README.md/s/role="data"/role="doc"/' \
+ -e '/tests/s:/tests/:tests/:' \
+ -e '/tests/s/role="data"/role="test"/' \
+ package.xml
+
%{_bindir}/php -n %{SOURCE2} package.xml | tee CHANGELOG | head -n 10
cd %{pear_name}-%{version}
@@ -65,9 +77,6 @@ rm -rf %{buildroot}
%check
-lst=$(find %{buildroot}%{pear_phpdir} -exec grep -q %{buildroot} {} \; -print)
-[ ! -z "$lst" ] && echo "Reference to BUILDROOT in $lst" && exit 1;
-
cd %{pear_name}-%{version}
%{__pear} \
run-tests \
@@ -96,6 +105,9 @@ fi
%changelog
+* Wed May 23 2012 Remi Collet <remi at fedoraproject.org> - 1.7.14-1
+- Version 1.7.14 (stable) - API 1.7.7 (stable)
+
* Sat Jan 14 2012 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 1.7.12-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
diff --git a/sources b/sources
index 72a0ac5..68a32dd 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-2821420ba814c66fa37b47afd75b9821 Cache_Lite-1.7.12.tgz
+3cc7c8a318fa559426ec181a82c0f9e0 Cache_Lite-1.7.14.tgz
diff --git a/xml2changelog b/xml2changelog
index 4c789f4..3a31be6 100644
--- a/xml2changelog
+++ b/xml2changelog
@@ -9,7 +9,7 @@ if (in_array("--debug", $_SERVER['argv'])) print_r($xml);
if ($xml['version'] >= "2"){ // Package.xml V 2.0
$new = "";
if (strlen(trim($xml->notes))>1) { // Ignore too short descr.
- printf("++*** Version %s (%s) - API %s (%s) - %s\n\n%s\n\n",
+ 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);
More information about the scm-commits
mailing list