[php-pear-Structures-DataGrid-Renderer-Smarty/f14/master] update to 0.1.5 - QA release
Remi Collet
remi at fedoraproject.org
Sat Oct 16 15:18:43 UTC 2010
commit ef247c32d67f34b0686b0292826183ccc07781b2
Author: remi <fedora at famillecollet.com>
Date: Sat Oct 16 17:18:35 2010 +0200
update to 0.1.5 - QA release
.gitignore | 2 +
php-pear-Structures-DataGrid-Renderer-Smarty.spec | 31 ++++++++++++++-------
sources | 2 +-
3 files changed, 24 insertions(+), 11 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index 5d0bc72..67683ca 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1 +1,3 @@
Structures_DataGrid_Renderer_Smarty-0.1.4.tgz
+package.xml
+/Structures_DataGrid_Renderer_Smarty-0.1.5.tgz
diff --git a/php-pear-Structures-DataGrid-Renderer-Smarty.spec b/php-pear-Structures-DataGrid-Renderer-Smarty.spec
index 50cda89..b0aec25 100644
--- a/php-pear-Structures-DataGrid-Renderer-Smarty.spec
+++ b/php-pear-Structures-DataGrid-Renderer-Smarty.spec
@@ -1,19 +1,20 @@
%{!?__pear: %{expand: %%global __pear %{_bindir}/pear}}
-%define pear_name Structures_DataGrid_Renderer_Smarty
+%global pear_name Structures_DataGrid_Renderer_Smarty
Name: php-pear-Structures-DataGrid-Renderer-Smarty
-Version: 0.1.4
-Release: 3%{?dist}
+Version: 0.1.5
+Release: 1%{?dist}
Summary: Renderer driver using Smarty
Group: Development/Libraries
License: BSD
-URL: http://pear.php.net/package/Structures_DataGrid_Renderer_Smarty
+URL: http://pear.php.net/package/%{pear_name}
Source0: http://pear.php.net/get/%{pear_name}-%{version}.tgz
-BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
+BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildArch: noarch
BuildRequires: php-pear >= 1:1.6.0
+
Requires: php-pear(PEAR)
Requires: php-pear(Structures_DataGrid) >= 0.9.0
Requires: php-pear(Structures_DataGrid_Renderer_Pager) >= 0.1.3
@@ -31,9 +32,13 @@ full-featured DataGrid within a Smarty template.
%prep
%setup -qc
[ -f package2.xml ] || mv package.xml package2.xml
-mv package2.xml %{pear_name}-%{version}/%{pear_name}.xml
+mv package2.xml %{pear_name}-%{version}/%{name}.xml
cd %{pear_name}-%{version}
+# Create a "localized" php.ini to avoid build warning
+cp /etc/php.ini .
+echo "date.timezone=UTC" >>php.ini
+
%build
cd %{pear_name}-%{version}
@@ -43,14 +48,14 @@ cd %{pear_name}-%{version}
%install
cd %{pear_name}-%{version}
rm -rf $RPM_BUILD_ROOT docdir
-%{__pear} install --nodeps --packagingroot $RPM_BUILD_ROOT %{pear_name}.xml
+PHPRC=./php.ini %{__pear} install --nodeps --packagingroot $RPM_BUILD_ROOT %{name}.xml
# Clean up unnecessary files
rm -rf $RPM_BUILD_ROOT%{pear_phpdir}/.??*
# Install XML package description
install -d $RPM_BUILD_ROOT%{pear_xmldir}
-install -pm 644 %{pear_name}.xml $RPM_BUILD_ROOT%{pear_xmldir}
+install -pm 644 %{name}.xml $RPM_BUILD_ROOT%{pear_xmldir}
%clean
@@ -59,7 +64,7 @@ rm -rf $RPM_BUILD_ROOT
%post
%{__pear} install --nodeps --soft --force --register-only \
- %{pear_xmldir}/%{pear_name}.xml >/dev/null || :
+ %{pear_xmldir}/%{name}.xml >/dev/null || :
%postun
if [ $1 -eq 0 ] ; then
@@ -70,11 +75,17 @@ fi
%files
%defattr(-,root,root,-)
-%{pear_xmldir}/%{pear_name}.xml
+%{pear_xmldir}/%{name}.xml
%{pear_phpdir}/Structures/DataGrid/Renderer/Smarty.php
%changelog
+* Sat Oct 16 2010 Remi Collet <Fedora at FamilleCollet.com> - 0.1.5-1
+- Version 0.1.5 (beta) - API 0.1.1 (beta)
+
+* Fri Aug 20 2010 Christof Damian <christof at damian.net> - 0.1.4-4
+- spec cleaning
+
* Sun Jul 26 2009 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 0.1.4-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
diff --git a/sources b/sources
index 8b4d1ec..3289af4 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-9d8433e6c71c187ac48c12e4b576bb39 Structures_DataGrid_Renderer_Smarty-0.1.4.tgz
+f5b2a773d6ccf1f5fd6626e20ba58d56 Structures_DataGrid_Renderer_Smarty-0.1.5.tgz
More information about the scm-commits
mailing list