[php-phpunit-git/epel7] - update to 2.0.0 - fix license handling
Remi Collet
remi at fedoraproject.org
Fri Mar 13 09:32:59 UTC 2015
commit 10ff35b88f48d755013beb7ca26d6e73a04f09fd
Author: Remi Collet <remi at fedoraproject.org>
Date: Fri Mar 13 10:31:21 2015 +0100
- update to 2.0.0
- fix license handling
(cherry picked from commit 5020b194c79c0efbcdce6da46dc3ecc0e890d5ab)
.gitignore | 1 +
php-phpunit-git.spec | 24 +++++++++++++++---------
sources | 2 +-
3 files changed, 17 insertions(+), 10 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index 9dac4cd..bbe2536 100644
--- a/.gitignore
+++ b/.gitignore
@@ -2,3 +2,4 @@ clog
php-phpunit-git.spec~
/Git-1.2.0.tgz
/git-1.2.0.tar.gz
+/git-2.0.0.tar.gz
diff --git a/php-phpunit-git.spec b/php-phpunit-git.spec
index 1a6f0e4..1779551 100644
--- a/php-phpunit-git.spec
+++ b/php-phpunit-git.spec
@@ -1,12 +1,12 @@
# spec file for php-phpunit-git
#
-# Copyright (c) 2013-2014 Remi Collet
+# Copyright (c) 2013-2015 Remi Collet
# License: CC-BY-SA
# http://creativecommons.org/licenses/by-sa/3.0/
#
# Please, preserve the changelog entries
#
-%global gh_commit a99fbc102e982c1404041ef3e4d431562b29bcba
+%global gh_commit 572c35353fefcc8607d6fef0e362a9f3a5e84d96
%global gh_short %(c=%{gh_commit}; echo ${c:0:7})
%global gh_owner sebastianbergmann
%global gh_project git
@@ -16,8 +16,8 @@
%global with_tests %{?_without_tests:1}%{!?_without_tests:0}
Name: php-phpunit-git
-Version: 1.2.0
-Release: 7%{?dist}
+Version: 2.0.0
+Release: 1%{?dist}
Summary: Simple wrapper for Git
Group: Development/Libraries
@@ -27,6 +27,7 @@ Source0: https://github.com/%{gh_owner}/%{gh_project}/archive/%{gh_commit
BuildArch: noarch
BuildRequires: php(language) >= 5.3.3
+BuildRequires: %{_bindir}/phpab
Requires: git
# From composer.json
@@ -53,10 +54,9 @@ Simple PHP wrapper for Git.
%build
-# If upstream drop autoload
-#phpab \
-# --output src/autoload.php \
-# src
+%{_bindir}/phpab \
+ --output src/autoload.php \
+ src
%install
@@ -72,13 +72,19 @@ fi
%files
-%doc LICENSE
+%{!?_licensedir:%global license %%doc}
+%license LICENSE
%doc README.md
+%doc composer.json
%dir %{php_home}
%{php_home}/%{pear_name}
%changelog
+* Wed Mar 11 2015 Remi Collet <remi at fedoraproject.org> - 2.0.0-1
+- update to 2.0.0
+- fix license handling
+
* Wed Jun 25 2014 Remi Collet <remi at fedoraproject.org> - 1.2.0-7
- composer dependencies
diff --git a/sources b/sources
index 39f2860..fd9747a 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-5bc55206bbe783f3d2789349e96339e9 git-1.2.0.tar.gz
+9ff72a96c73a4629d189e9d485a8831c git-2.0.0.tar.gz
More information about the scm-commits
mailing list