[packages/php-symfony2-HttpFoundation] up to 2.7.3-lts

glen glen at pld-linux.org
Thu Aug 6 20:01:27 CEST 2015


commit 5352a6e28fa32ca58d4ea011b9636e7a0a4dfa48
Author: Elan Ruusamäe <glen at delfi.ee>
Date:   Thu Aug 6 20:59:46 2015 +0300

    up to 2.7.3-lts

 php-symfony2-HttpFoundation.spec | 18 +++++++++---------
 1 file changed, 9 insertions(+), 9 deletions(-)
---
diff --git a/php-symfony2-HttpFoundation.spec b/php-symfony2-HttpFoundation.spec
index 7e0d488..0992ac4 100644
--- a/php-symfony2-HttpFoundation.spec
+++ b/php-symfony2-HttpFoundation.spec
@@ -1,14 +1,14 @@
-%define		pearname	HttpFoundation
-%define		php_min_version 5.3.3
+%define		package	HttpFoundation
+%define		php_min_version 5.3.9
 %include	/usr/lib/rpm/macros.php
 Summary:	Symfony2 HttpFoundation Component
 Name:		php-symfony2-HttpFoundation
-Version:	2.4.8
+Version:	2.7.3
 Release:	1
 License:	MIT
 Group:		Development/Languages/PHP
-Source0:	https://github.com/symfony/%{pearname}/archive/v%{version}/%{pearname}-%{version}.tar.gz
-# Source0-md5:	e62a18fdf1e8d7dc919f6009eebbedad
+Source0:	https://github.com/symfony/%{package}/archive/v%{version}/%{package}-%{version}.tar.gz
+# Source0-md5:	03c0e75712f0535f46a8230cfc606715
 URL:		http://symfony.com/doc/current/components/http_foundation/index.html
 BuildRequires:	phpab
 BuildRequires:	rpm-php-pearprov >= 4.4.2-11
@@ -23,7 +23,7 @@ The HttpFoundation Component defines an object-oriented layer for the
 HTTP specification.
 
 %prep
-%setup -q -n %{pearname}-%{version}
+%setup -q -n %{package}-%{version}
 
 %build
 # add --tolerant, see https://github.com/theseer/Autoload/issues/49
@@ -31,9 +31,9 @@ phpab -n -e '*/Tests/*' -o autoloader.php --tolerant .
 
 %install
 rm -rf $RPM_BUILD_ROOT
-install -d $RPM_BUILD_ROOT%{php_pear_dir}/Symfony/Component/%{pearname}
-cp -a *.php */ $RPM_BUILD_ROOT%{php_pear_dir}/Symfony/Component/%{pearname}
-rm -r $RPM_BUILD_ROOT%{php_pear_dir}/Symfony/Component/%{pearname}/Tests
+install -d $RPM_BUILD_ROOT%{php_pear_dir}/Symfony/Component/%{package}
+cp -a *.php */ $RPM_BUILD_ROOT%{php_pear_dir}/Symfony/Component/%{package}
+rm -r $RPM_BUILD_ROOT%{php_pear_dir}/Symfony/Component/%{package}/Tests
 
 %clean
 rm -rf $RPM_BUILD_ROOT
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/php-symfony2-HttpFoundation.git/commitdiff/5352a6e28fa32ca58d4ea011b9636e7a0a4dfa48



More information about the pld-cvs-commit mailing list