[packages/composer] skip precompiled .phar when not bootstraping

glen glen at pld-linux.org
Wed Apr 9 20:27:12 CEST 2014


commit 157c194106e549e1dc59a1bf54e8621c97780fed
Author: Elan Ruusamäe <glen at delfi.ee>
Date:   Wed Apr 9 21:25:55 2014 +0300

    skip precompiled .phar when not bootstraping
    
    i don't see point why include it in src.rpm as the bootstrap is really
    for building first version, and when we have src.rpm on ftp, it means
    the first version build was success as well

 composer.spec | 2 ++
 1 file changed, 2 insertions(+)
---
diff --git a/composer.spec b/composer.spec
index ca2f90b..5933b35 100644
--- a/composer.spec
+++ b/composer.spec
@@ -16,8 +16,10 @@ License:	MIT
 Group:		Development/Languages/PHP
 Source0:	https://github.com/composer/composer/archive/%{version}-%{subver}/%{name}-%{version}-%{subver}.tar.gz
 # Source0-md5:	a304aecf48b8406730d572e204afd6db
+%if %{with bootstrap}
 Source1:	http://getcomposer.org/download/%{version}-%{subver}/%{name}.phar
 # Source1-md5:	df1001975035f07d09307bf1f1e62584
+%endif
 Patch0:		nogit.patch
 Patch1:		no-vendors.patch
 Patch2:		autoload-config.patch
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/composer.git/commitdiff/157c194106e549e1dc59a1bf54e8621c97780fed



More information about the pld-cvs-commit mailing list