summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRemi Collet <fedora@famillecollet.com>2015-05-11 11:30:44 +0200
committerRemi Collet <fedora@famillecollet.com>2015-05-11 11:30:44 +0200
commit7d16385aa6e496a14baf2279d6008c238a13d046 (patch)
tree2a44572de02b62f17a17e9ff75f7b1437916b285
parentbaf10231f3800a6c07fc1dc131cdcb242b3e94a9 (diff)
atoum: 2.1.0
-rw-r--r--atoum.spec19
1 files changed, 13 insertions, 6 deletions
diff --git a/atoum.spec b/atoum.spec
index d70a56a..9049d9a 100644
--- a/atoum.spec
+++ b/atoum.spec
@@ -1,12 +1,15 @@
+%global gh_commit 9f17fa0a729294f4fcbb1a085f99ae612dc36cb5
+%global gh_short %(c=%{gh_commit}; echo ${c:0:7})
+
Name: atoum
-Version: 2.0.1
+Version: 2.1.0
Release: 1%{?dist}
Summary: PHP Unit Testing framework
Group: Development/Libraries
License: BSD
URL: http://atoum.org
-Source0: https://github.com/%{name}/%{name}/archive/%{version}.tar.gz
+Source0: https://github.com/%{name}/%{name}/archive/%{gh_commit}/%{name}-%{version}-%{gh_short}.tar.gz
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildArch: noarch
@@ -73,11 +76,11 @@ to supervise unit tests.
%prep
-%setup -q -n %{name}-%{version}
-rm -f resources/configurations/.gitignore
-rm -f scripts/git/.tag tests/units/classes/scripts/git/.tag
+%setup -qn %{name}-%{gh_commit}
+
+rm resources/configurations/.gitignore
+rm scripts/git/.tag tests/units/classes/scripts/git/.tag
sed -i bin/%{name} \
- -e "s|/usr/bin/env php|%{_bindir}/php|" \
-e "s|__DIR__ . '/../|'%{_datadir}/%{name}/|"
@@ -131,6 +134,10 @@ rm -rf $RPM_BUILD_ROOT
%changelog
+* Mon May 11 2015 Remi Collet <remi@fedoraproject.org> - 2.1.0-1
+- update to 2.1.0
+- update source0
+
* Tue Mar 24 2015 Remi Collet <RPMS@famillecollet.com> - 2.0.1-1
- add backport stuff