packages: CodeIgniter-lib-smarty/CodeIgniter-lib-smarty.spec - _noautoreq (...

glen glen at pld-linux.org
Thu May 12 17:34:04 CEST 2011


Author: glen                         Date: Thu May 12 15:34:04 2011 GMT
Module: packages                      Tag: HEAD
---- Log message:
- _noautoreq (ever heard of template-specs/? in pld cvs)
- make php_min_version macro of use

---- Files affected:
packages/CodeIgniter-lib-smarty:
   CodeIgniter-lib-smarty.spec (1.1 -> 1.2) 

---- Diffs:

================================================================
Index: packages/CodeIgniter-lib-smarty/CodeIgniter-lib-smarty.spec
diff -u packages/CodeIgniter-lib-smarty/CodeIgniter-lib-smarty.spec:1.1 packages/CodeIgniter-lib-smarty/CodeIgniter-lib-smarty.spec:1.2
--- packages/CodeIgniter-lib-smarty/CodeIgniter-lib-smarty.spec:1.1	Thu May 12 16:28:38 2011
+++ packages/CodeIgniter-lib-smarty/CodeIgniter-lib-smarty.spec	Thu May 12 17:33:59 2011
@@ -1,7 +1,7 @@
 # $Revision$, $Date$
 %define		php_min_version 5.2.4
-%include	/usr/lib/rpm/macros.php
 %define		shortname	smarty
+%include	/usr/lib/rpm/macros.php
 Summary:	Use smarty template engine in CodeIgniter
 Name:		CodeIgniter-lib-%{shortname}
 Version:	1
@@ -11,10 +11,12 @@
 Source0:	Smarty_tpl.php
 Requires:	CodeIgniter >= 2.0.0
 Requires:	php-Smarty >= 3.0
+Requires:	php-common >= 4:%{php_min_version}
 BuildArch:	noarch
 BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %define		_appdir		%{_datadir}/CodeIgniter
+%define		_noautoreq	pear(Smarty/Smarty.class.php)
 
 %description
 Use smarty template engine in CodeIgniter.
@@ -24,7 +26,7 @@
 %install
 rm -rf $RPM_BUILD_ROOT
 install -d $RPM_BUILD_ROOT%{_appdir}/system/libraries
-install %{SOURCE0} $RPM_BUILD_ROOT%{_appdir}/system/libraries
+cp -p %{SOURCE0} $RPM_BUILD_ROOT%{_appdir}/system/libraries
 
 %clean
 rm -rf $RPM_BUILD_ROOT
@@ -39,7 +41,10 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.2  2011/05/12 15:33:59  glen
+- _noautoreq (ever heard of template-specs/? in pld cvs)
+- make php_min_version macro of use
+
 Revision 1.1  2011/05/12 14:28:38  uzsolt
 - initial
 - error: req pear(/usr/share/php/Smarty.class.php) not found
-
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/CodeIgniter-lib-smarty/CodeIgniter-lib-smarty.spec?r1=1.1&r2=1.2&f=u



More information about the pld-cvs-commit mailing list