summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRemi Collet <fedora@famillecollet.com>2012-09-29 08:36:51 +0200
committerRemi Collet <fedora@famillecollet.com>2012-09-29 08:36:51 +0200
commit6e113d9e217468d5754924cbf8d3ae85f82a2abc (patch)
tree72a20b584cc31074b8997857ad055ff6d12c79e4
parent093c393b1952ad46f142de1b6ca160bbb338a55d (diff)
php-Smarty: update to 3.1.12 for remi repo (new backport)
-rw-r--r--Makefile4
-rw-r--r--php-Smarty.spec17
2 files changed, 12 insertions, 9 deletions
diff --git a/Makefile b/Makefile
new file mode 100644
index 0000000..91b0fd5
--- /dev/null
+++ b/Makefile
@@ -0,0 +1,4 @@
+SRCDIR := $(shell pwd)
+NAME := $(shell basename $(SRCDIR))
+include ../../common/Makefile
+
diff --git a/php-Smarty.spec b/php-Smarty.spec
index 6a822fc..1f910b9 100644
--- a/php-Smarty.spec
+++ b/php-Smarty.spec
@@ -1,10 +1,9 @@
Name: php-Smarty
Summary: Template/Presentation Framework for PHP
-Version: 3.1.11
+Version: 3.1.12
Release: 1%{?dist}
-Source0: http://www.smarty.net/distributions/Smarty-%{version}.tar.gz
-Patch0: php-Smarty-3.1.11-CVE-2012-4437.patch
+Source0: http://www.smarty.net/files/Smarty-%{version}.tar.gz
URL: http://www.smarty.net
License: LGPLv2+
Group: Development/Libraries
@@ -12,11 +11,9 @@ Group: Development/Libraries
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildArch: noarch
-%if 0%{?rhel}
-Requires: php >= 5.1.6-3.5
-%else
-Requires: php >= 5.2.0-9
-%endif
+Requires: php(language) >= 5.2.0
+Requires: php-date, php-mbstring, php-pcre, php-spl
+
%description
Although Smarty is known as a "Template Engine", it would be more accurately
@@ -32,7 +29,6 @@ high-performance, scalability, security and future growth.
%prep
%setup -qn Smarty-%{version}
-%patch0 -p0
%build
# empty build section, nothing required
@@ -57,6 +53,9 @@ rm -rf $RPM_BUILD_ROOT
%changelog
+* Sat Sep 29 2012 Remi Collet <RPMS@FamilleCollet.com> - 3.1.12-1
+- update to 3.1.12 for remi repo
+
* Thu Sep 20 2012 Jon Ciesla <limburgher@gmail.com> - 3.1.11-1
- Update to 3.1.11, patch for CVE-2012-4437, BZ 858989.