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

glen glen at pld-linux.org
Thu Aug 6 20:00:40 CEST 2015


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

    up to 2.7.3-lts

 php-symfony2-Debug.spec | 21 +++++++++++----------
 1 file changed, 11 insertions(+), 10 deletions(-)
---
diff --git a/php-symfony2-Debug.spec b/php-symfony2-Debug.spec
index 10babbf..34b6381 100644
--- a/php-symfony2-Debug.spec
+++ b/php-symfony2-Debug.spec
@@ -1,21 +1,22 @@
-%define		pearname	Debug
-%define		php_min_version 5.3.3
+%define		package	Debug
+%define		php_min_version 5.3.9
 %include	/usr/lib/rpm/macros.php
 Summary:	Symfony2 Debug Component
 Name:		php-symfony2-Debug
-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:	42009964582d8d6003745c3ecdc819b1
-URL:		http://symfony.com/doc/2.4/components/debug/index.html
+Source0:	https://github.com/symfony/%{package}/archive/v%{version}/%{package}-%{version}.tar.gz
+# Source0-md5:	74b1ec1c41ae362d48b39e424fc78232
+URL:		http://symfony.com/doc/2.7/components/debug/index.html
 BuildRequires:	phpab
 BuildRequires:	rpm-php-pearprov >= 4.4.2-11
 BuildRequires:	rpmbuild(macros) >= 1.610
 Requires:	php(core) >= %{php_min_version}
 Requires:	php(spl)
 Requires:	php-pear >= 4:1.3.10
+Requires:	php-psr-Log >= 1.0
 Suggests:	php-symfony2-HttpFoundation
 Suggests:	php-symfony2-HttpKernel
 BuildArch:	noarch
@@ -25,16 +26,16 @@ BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 The Debug Component provides tools to ease debugging PHP code.
 
 %prep
-%setup -q -n %{pearname}-%{version}
+%setup -q -n %{package}-%{version}
 
 %build
 phpab -n -e '*/Tests/*' -o autoloader.php .
 
 %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-Debug.git/commitdiff/f6d0750c147f54f8f9b40cf7bec017ef127645ac



More information about the pld-cvs-commit mailing list