[php-phpunit-Text-Template/f15] update to 1.1.1
Remi Collet
remi at fedoraproject.org
Tue Jan 17 18:21:22 UTC 2012
commit daa89c13251cafd0b183f597aa848327292ba071
Author: remi <fedora at famillecollet.com>
Date: Tue Jan 17 19:20:53 2012 +0100
update to 1.1.1
.gitignore | 2 ++
php-phpunit-Text-Template.spec | 31 +++++++++++++++++--------------
sources | 2 +-
3 files changed, 20 insertions(+), 15 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index 8f678d1..e435581 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,2 +1,4 @@
package*xml
+*spec~
/Text_Template-1.1.0.tgz
+/Text_Template-1.1.1.tgz
diff --git a/php-phpunit-Text-Template.spec b/php-phpunit-Text-Template.spec
index b9d682a..7b4bfa0 100644
--- a/php-phpunit-Text-Template.spec
+++ b/php-phpunit-Text-Template.spec
@@ -3,36 +3,35 @@
%global channel pear.phpunit.de
Name: php-phpunit-Text-Template
-Version: 1.1.0
-Release: 2%{?dist}
+Version: 1.1.1
+Release: 1%{?dist}
Summary: Simple template engine
Group: Development/Libraries
+# Ask for LICENSE
+# https://github.com/sebastianbergmann/php-text-template/issues/1
License: BSD
URL: https://github.com/sebastianbergmann/php-text-template
Source0: http://pear.phpunit.de/get/%{pear_name}-%{version}.tgz
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildArch: noarch
-BuildRequires: php-pear(PEAR) >= 1.8.1
+BuildRequires: php-pear(PEAR) >= 1.9.4
BuildRequires: php-channel(%{channel})
Requires(post): %{__pear}
Requires(postun): %{__pear}
Requires: php-channel(%{channel})
-Requires: php-common >= 5.1.4
+Requires: php-common >= 5.2.7
Provides: php-pear(%{channel}/%{pear_name}) = %{version}
%description
Simple template engine.
+
%prep
%setup -q -c
-# 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
@@ -44,20 +43,19 @@ cd %{pear_name}-%{version}
%install
+rm -rf %{buildroot}
cd %{pear_name}-%{version}
-rm -rf $RPM_BUILD_ROOT docdir
-PHPRC=../php.ini %{__pear} install --nodeps --packagingroot $RPM_BUILD_ROOT %{name}.xml
+%{__pear} install --nodeps --packagingroot %{buildroot} %{name}.xml
# Clean up unnecessary files
-rm -rf $RPM_BUILD_ROOT%{pear_phpdir}/.??*
+rm -rf %{buildroot}%{pear_phpdir}/.??*
# Install XML package description
-mkdir -p $RPM_BUILD_ROOT%{pear_xmldir}
-install -pm 644 %{name}.xml $RPM_BUILD_ROOT%{pear_xmldir}
+install -Dpm 644 %{name}.xml %{buildroot}%{pear_xmldir}/%{name}.xml
%clean
-rm -rf $RPM_BUILD_ROOT
+rm -rf %{buildroot}
%post
@@ -76,7 +74,12 @@ fi
%{pear_xmldir}/%{name}.xml
%{pear_phpdir}/Text
+
%changelog
+* Tue Nov 01 2011 Remi Collet <remi at fedoraproject.org> - 1.1.1-1
+- Version 1.1.1 (stable) - API 1.1.0 (stable)
+- raise dependencies, PEAR 1.9.4 and PHP 5.2.7
+
* Wed Feb 09 2011 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 1.1.0-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
diff --git a/sources b/sources
index 16563fb..540b339 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-2ae956193c84c3e5b543b8bab992c0f1 Text_Template-1.1.0.tgz
+e357033d4d529bd12c066dd015e54a4c Text_Template-1.1.1.tgz
More information about the scm-commits
mailing list