summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRemi Collet <fedora@famillecollet.com>2015-03-19 13:20:10 +0100
committerRemi Collet <fedora@famillecollet.com>2015-03-19 13:20:10 +0100
commitc4867609db2a7585344fd6fdd41bcf682562af9e (patch)
treef2353fb602e551339666e08a31fc70494ae248b9
parent3c3c3115514def7b271864c771bb500683d5233b (diff)
composer: new snapshot
-rw-r--r--Makefile3
-rw-r--r--composer.spec9
-rwxr-xr-xver.sh6
3 files changed, 12 insertions, 6 deletions
diff --git a/Makefile b/Makefile
index f8bd3a7..cd3c95f 100644
--- a/Makefile
+++ b/Makefile
@@ -1,6 +1,3 @@
SRCDIR := $(shell pwd)
NAME := $(shell basename $(SRCDIR))
include ../common/Makefile
-
-version:
- wget https://getcomposer.org/version -q -O -
diff --git a/composer.spec b/composer.spec
index 6b2bf4c..e4fed39 100644
--- a/composer.spec
+++ b/composer.spec
@@ -6,10 +6,10 @@
#
# Please, preserve the changelog entries
#
-%global gh_commit eadc167b121359986f542cc9cf976ecee3fcbf69
+%global gh_commit 829199c0530ea131262c804924f921447c71d4e8
%global gh_short %(c=%{gh_commit}; echo ${c:0:7})
%global gh_branch 1.0-dev
-%global gh_date 20150302
+%global gh_date 20150316
%global gh_owner composer
%global gh_project composer
%global with_tests %{?_without_tests:0}%{!?_without_tests:1}
@@ -106,7 +106,7 @@ rm src/bootstrap.php
: fix reported version
DATE=%{gh_date}
-DATE=${DATE:0:4}-${DATE:4:2}-${DATE:2:2}
+DATE=${DATE:0:4}-${DATE:4:2}-${DATE:6:2}
sed -e '/VERSION/s/@package_version@/%{gh_commit}/' \
-e '/BRANCH_ALIAS_VERSION/s/@package_branch_alias_version@/%{gh_branch}/' \
-e "/RELEASE_DATE/s/@release_date@/$DATE/" \
@@ -157,6 +157,9 @@ rm -rf %{buildroot}
%changelog
+* Wed Mar 4 2015 Remi Collet <remi@fedoraproject.org> - 1.0.0-0.2.20150316git829199c
+- new snapshot
+
* Wed Mar 4 2015 Remi Collet <remi@fedoraproject.org> - 1.0.0-0.2.20150302giteadc167
- new snapshot
diff --git a/ver.sh b/ver.sh
new file mode 100755
index 0000000..f57f8ec
--- /dev/null
+++ b/ver.sh
@@ -0,0 +1,6 @@
+echo "See: https://github.com/composer/composer/commits/master"
+
+COMMIT=$(wget https://getcomposer.org/version -q -O -)
+echo Commit: $COMMIT
+
+wget https://github.com/composer/composer/commit/$COMMIT.patch -q -O - | grep Date: