commit fc1f03a9f623114fde0168bc5ee91a988fd3f963
Author: Elan Ruusamäe <[email protected]>
Date:   Mon Apr 1 21:36:16 2013 +0300

    update to git checkout of alpha7

 composer.spec | 24 +++++++++++++++---------
 1 file changed, 15 insertions(+), 9 deletions(-)
---
diff --git a/composer.spec b/composer.spec
index f315063..6e65226 100644
--- a/composer.spec
+++ b/composer.spec
@@ -3,8 +3,8 @@
 %bcond_with    bootstrap               # build boostrap
 
 %define                php_min_version 5.3.4
-%define                subver  alpha6
-%define                rel             0.5
+%define                subver  alpha7
+%define                rel             0.6
 %include       /usr/lib/rpm/macros.php
 Summary:       Dependency Manager for PHP
 Name:          composer
@@ -12,13 +12,18 @@ Version:    1.0.0
 Release:       0.%{subver}.%{rel}
 License:       MIT
 Group:         Development/Languages/PHP
-Source0:       
https://github.com/composer/composer/archive/%{version}-%{subver}.tar.gz
-# Source0-md5: bb5ad93089d09a1e58cfaf28fb5c2ab4
+#Source0:      
https://github.com/composer/composer/archive/%{version}-%{subver}.tar.gz
+Source0:       
https://github.com/composer/composer/archive/master.tar.gz?/%{name}.tgz
+# Source0-md5: 0a4a4b06740a9b49d2ab9773a907aa94
 Source1:       
http://getcomposer.org/download/%{version}-%{subver}/%{name}.phar
 # Source1-md5: f9b1dbd4ad0e3707bfe216690b210a7e
 Patch0:                nogit.patch
 URL:           http://www.getcomposer.org/
 BuildRequires: /usr/bin/php
+BuildRequires: php(ctype)
+BuildRequires: php(hash)
+BuildRequires: php(json)
+BuildRequires: php(openssl)
 BuildRequires: php(phar)
 BuildRequires: rpm-php-pearprov >= 4.4.2-11
 BuildRequires: rpmbuild(macros) >= 1.461
@@ -42,20 +47,21 @@ declare the dependent libraries your project needs and it 
will install
 them in your project for you.
 
 %prep
-%setup -q -n %{name}-%{version}%{?subver:-%{subver}}
-%patch0 -p1
+%setup -q -n %{name}-master
+#%patch0 -p1
 
 %{__sed} -i -e '1s,^#!.*env php,#!%{__php},' bin/*
 
 %build
 %if %{with bootstrap}
-cp -p %{SOURCE1} .
+env -i PATH=$PATH \
+%{__php} %{SOURCE1} install --prefer-dist -v
 %else
-composer install -v
+composer install --prefer-dist -v
+%endif
 
 COMPOSER_VERSION=%{version}%{?subver:-%{subver}} \
 %{__php} -d phar.readonly=0 ./bin/compile
-%endif
 
 %install
 rm -rf $RPM_BUILD_ROOT
================================================================

---- gitweb:

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

_______________________________________________
pld-cvs-commit mailing list
[email protected]
http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit

Reply via email to