]> git.pld-linux.org Git - packages/composer.git/commitdiff
up to git 46e5554
authorElan Ruusamäe <glen@delfi.ee>
Mon, 13 Sep 2027 14:38:17 +0000 (17:38 +0300)
committerElan Ruusamäe <glen@delfi.ee>
Wed, 13 Nov 2013 07:00:29 +0000 (09:00 +0200)
composer.spec

index 0f31e3a8ebd50a65295540f28390e473a6acd3ce..114ba796a93242d95a36d8aa15392ab71939de7f 100644 (file)
@@ -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
 
This page took 0.052179 seconds and 4 git commands to generate.