[php-phpunit-Text-Template/el6] update to 1.1.1

Remi Collet remi at fedoraproject.org
Tue Jan 17 18:22:21 UTC 2012


commit c69af29ac27cc3157a14f50a30526297c42ef4ee
Author: remi <fedora at famillecollet.com>
Date:   Tue Jan 17 19:21:54 2012 +0100

    update to 1.1.1

 .gitignore                     |    2 ++
 php-phpunit-Text-Template.spec |   29 ++++++++++++++++-------------
 sources                        |    2 +-
 3 files changed, 19 insertions(+), 14 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 b4c24bf..72bcb21 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
+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
+
 * Sun Dec 05 2010 Remi Collet <Fedora at famillecollet.com> - 1.1.0-1
 - Version 1.1.0 (stable) - API 1.1.0 (stable)
 - remove README.mardown (which is only install doc)
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