summaryrefslogtreecommitdiffstats
path: root/php-akamai-open-edgegrid-auth.spec
diff options
context:
space:
mode:
authorShawn Iwinski <shawn@iwin.ski>2017-07-03 13:01:14 -0400
committerRemi Collet <remi@remirepo.net>2017-07-04 06:21:13 +0200
commitd8fb4b7c0b6652ac2af61d0da4924daefc487504 (patch)
tree2c96da9ba8d1518fb9fcedd8b0a3133f1acfda0a /php-akamai-open-edgegrid-auth.spec
parent3f23c0abeaad51e9feb3a2263ed4774c18f96c40 (diff)
Update to 1.0.0 (RHBZ #1452924)
Diffstat (limited to 'php-akamai-open-edgegrid-auth.spec')
-rw-r--r--php-akamai-open-edgegrid-auth.spec19
1 files changed, 11 insertions, 8 deletions
diff --git a/php-akamai-open-edgegrid-auth.spec b/php-akamai-open-edgegrid-auth.spec
index 25628d6..f03415d 100644
--- a/php-akamai-open-edgegrid-auth.spec
+++ b/php-akamai-open-edgegrid-auth.spec
@@ -13,8 +13,7 @@
%global github_owner akamai-open
%global github_name AkamaiOPEN-edgegrid-php
%global github_version 1.0.0
-%global github_commit 67012f08b049838da67086e50db7b9368f5ae342
-%global github_release .beta2
+%global github_commit fdb94f7fe09d6b1557746bc2195843e5115f1e9d
%global composer_vendor akamai-open
%global composer_project edgegrid-auth
@@ -29,7 +28,7 @@
Name: php-%{composer_vendor}-%{composer_project}
Version: %{github_version}
-Release: 0.2%{?github_release}%{?dist}
+Release: 1%{?github_release}%{?dist}
Summary: Implements the Akamai {OPEN} EdgeGrid Authentication
Group: Development/Libraries
@@ -102,13 +101,14 @@ cp -rp src/* %{buildroot}%{phpdir}/Akamai/Open/EdgeGrid/
: Remove logging from PHPUnit config
sed '/log/d' phpunit.xml.dist > phpunit.xml
-BOOTSTRAP=%{buildroot}%{phpdir}/Akamai/Open/EdgeGrid/autoload-auth.php
-
: Upstream tests
RETURN_CODE=0
-for PHP_EXEC in php %{?rhel:php54 php55} php56 php70 php71 php72; do
- if [ "php" = "$PHP_EXEC" ] || which $PHP_EXEC; then
- $PHP_EXEC %{_bindir}/phpunit --bootstrap $BOOTSTRAP || RETURN_CODE=1
+PHPUNIT=$(which phpunit)
+for PHP_EXEC in "" %{?rhel:php54 php55} php56 php70 php71 php72; do
+ if [ -z "$PHP_EXEC" ] || which $PHP_EXEC; then
+ $PHP_EXEC $PHPUNIT \
+ --bootstrap %{buildroot}%{phpdir}/Akamai/Open/EdgeGrid/autoload-auth.php \
+ || RETURN_CODE=1
fi
done
exit $RETURN_CODE
@@ -131,6 +131,9 @@ exit $RETURN_CODE
%changelog
+* Mon Jul 03 2017 Shawn Iwinski <shawn@iwin.ski> - 1.0.0-1
+- Update to 1.0.0 (RHBZ #1452924)
+
* Sat Apr 29 2017 Shawn Iwinski <shawn@iwin.ski> - 1.0.0-0.2.beta2
- Update to 1.0.0beta2 (RHBZ #1446830)