[packages/composer] up to git 46e5554
glen
glen at pld-linux.org
Wed Nov 13 08:39:14 CET 2013
commit ee5e3da9ce42e0cf53ebd081cd5d79a430e088ce
Author: Elan Ruusamäe <glen at delfi.ee>
Date: Mon Sep 13 17:38:17 2027 +0300
up to git 46e5554
composer.spec | 10 +++++-----
1 file changed, 5 insertions(+), 5 deletions(-)
---
diff --git a/composer.spec b/composer.spec
index 0f31e3a..114ba79 100644
--- a/composer.spec
+++ b/composer.spec
@@ -6,6 +6,7 @@
%bcond_with bootstrap # build boostrap
%define php_min_version 5.3.4
+%define githash 46e5554
%define subver alpha7
%define rel 0.16
%include /usr/lib/rpm/macros.php
@@ -15,9 +16,8 @@ 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: http://github.com/composer/composer/tarball/master?/%{name}.tgz
-# Source0-md5: 661b31437f47e3ff23e616ab3fb21831
+Source0: https://github.com/composer/composer/archive/%{githash}/%{name}-%{version}-%{githash}.tar.gz
+# Source0-md5: 8d3be5df3a0151b87b77806b75cfcf9d
Source1: http://getcomposer.org/download/%{version}-%{subver}/%{name}.phar
# Source1-md5: f9b1dbd4ad0e3707bfe216690b210a7e
Patch0: nogit.patch
@@ -58,8 +58,8 @@ declare the dependent libraries your project needs and it will install
them in your project for you.
%prep
-%setup -qc
-mv composer-composer-*/* .
+%setup -qc -n %{name}-%{version}-%{release}
+mv composer-*/* .
%patch0 -p1
%patch1 -p1
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/composer.git/commitdiff/ee5e3da9ce42e0cf53ebd081cd5d79a430e088ce
More information about the pld-cvs-commit
mailing list