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

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


commit d539941ceacbba3383f5b7a8da09a334caf582cb
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-DependencyInjection.spec | 21 +++++++++++----------
 1 file changed, 11 insertions(+), 10 deletions(-)
---
diff --git a/php-symfony2-DependencyInjection.spec b/php-symfony2-DependencyInjection.spec
index 92b87ad..8ff61dd 100644
--- a/php-symfony2-DependencyInjection.spec
+++ b/php-symfony2-DependencyInjection.spec
@@ -1,15 +1,15 @@
-%define		pearname	DependencyInjection
-%define		php_min_version 5.3.3
+%define		package	DependencyInjection
+%define		php_min_version 5.3.9
 %include	/usr/lib/rpm/macros.php
 Summary:	Symfony2 DependencyInjection Component
 Name:		php-symfony2-DependencyInjection
-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:	8657e364dcacef18b1bcf2096e7e2885
-URL:		http://symfony.com/doc/2.4/components/dependency_injection/index.html
+Source0:	https://github.com/symfony/%{package}/archive/v%{version}/%{package}-%{version}.tar.gz
+# Source0-md5:	b4a06b0943bb28c2f446e58f64df61d3
+URL:		http://symfony.com/doc/2.7/components/dependency_injection/index.html
 BuildRequires:	phpab
 BuildRequires:	rpm-php-pearprov >= 4.4.2-11
 BuildRequires:	rpmbuild(macros) >= 1.610
@@ -22,6 +22,7 @@ Requires:	php-pear >= 4:1.3.10
 Suggests:	php-symfony2-Config
 Suggests:	php-symfony2-ProxyManagerBridge
 Suggests:	php-symfony2-Yaml
+Conflicts:	php-symfony2-ExpressionLanguage < 2.6
 BuildArch:	noarch
 BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
@@ -30,16 +31,16 @@ The Dependency Injection component allows you to standardize and
 centralize the way objects are constructed in your application.
 
 %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-DependencyInjection.git/commitdiff/d539941ceacbba3383f5b7a8da09a334caf582cb



More information about the pld-cvs-commit mailing list