summaryrefslogtreecommitdiffstats
path: root/php-google-apiclient-services.spec
diff options
context:
space:
mode:
authorRemi Collet <remi@remirepo.net>2020-09-07 09:10:12 +0200
committerRemi Collet <remi@remirepo.net>2020-09-07 09:10:12 +0200
commitf66cf34b3771ac2cfb648ed7764af3d2ac6ef9fe (patch)
treefa06b5e593e8ed8738009094b954e8dfa8f76d76 /php-google-apiclient-services.spec
parente4d13ebb4be9e78dee2ae315fd30c8df55d2c744 (diff)
v0.144 from FedoraHEADmaster
Diffstat (limited to 'php-google-apiclient-services.spec')
-rw-r--r--php-google-apiclient-services.spec26
1 files changed, 18 insertions, 8 deletions
diff --git a/php-google-apiclient-services.spec b/php-google-apiclient-services.spec
index 20d3b63..40ea329 100644
--- a/php-google-apiclient-services.spec
+++ b/php-google-apiclient-services.spec
@@ -2,7 +2,7 @@
#
# Fedora spec file for php-google-apiclient-services
#
-# Copyright (c) 2017-2019 Shawn Iwinski <shawn@iwin.ski>
+# Copyright (c) 2017-2020 Shawn Iwinski <shawn@iwin.ski>
#
# License: MIT
# http://opensource.org/licenses/MIT
@@ -12,8 +12,8 @@
%global github_owner googleapis
%global github_name google-api-php-client-services
-%global github_version 0.102
-%global github_commit 82274e12b08c6828ebcc45a6bc01adbac63de8e9
+%global github_version 0.144
+%global github_commit 74c5fc850d9ce441c6b3e52af11b986cd11d379a
%global composer_vendor google
%global composer_project apiclient-services
@@ -28,12 +28,16 @@
Name: php-%{composer_vendor}-%{composer_project}
Version: %{github_version}
-Release: 1%{?github_release}%{?dist}
+Release: 2%{?github_release}%{?dist}
Summary: Google PHP API Client Services
License: ASL 2.0
URL: https://github.com/%{github_owner}/%{github_name}
-Source0: %{url}/archive/%{github_commit}/%{name}-%{github_version}-%{github_commit}.tar.gz
+
+# GitHub export does not include tests
+# Run php-google-apiclient-services-get-source.sh to create full source
+Source0: %{name}-%{github_version}-%{github_commit}.tar.gz
+Source1: %{name}-get-source.sh
BuildArch: noarch
# Tests
@@ -41,7 +45,7 @@ BuildArch: noarch
## composer.json
BuildRequires: php(language) >= %{php_min_ver}
BuildRequires: php-composer(phpunit/phpunit)
-## phpcompatinfo (computed from version 0.102)
+## phpcompatinfo (computed from version 0.144)
## <none>
## Autoloader
BuildRequires: php-composer(fedora/autoloader)
@@ -49,7 +53,7 @@ BuildRequires: php-composer(fedora/autoloader)
# composer.json
Requires: php(language) >= %{php_min_ver}
-# phpcompatinfo (computed from version 0.102)
+# phpcompatinfo (computed from version 0.144)
# <none>
# Autoloader
Requires: php-composer(fedora/autoloader)
@@ -107,7 +111,7 @@ BOOTSTRAP
: Upstream tests
RETURN_CODE=0
PHPUNIT=$(which phpunit)
-for PHP_EXEC in "" php71 php72 php73 php74; do
+for PHP_EXEC in "" php72 php73 php74; do
if [ -z "$PHP_EXEC" ] || which $PHP_EXEC; then
$PHP_EXEC $PHPUNIT --bootstrap bootstrap.php --verbose \
-d memory_limit="512M" || RETURN_CODE=1
@@ -129,6 +133,12 @@ exit $RETURN_CODE
%changelog
+* Sun Sep 06 2020 Shawn Iwinski <shawn@iwin.ski> - 0.144-2
+- Fix source
+
+* Sun Sep 06 2020 Shawn Iwinski <shawn@iwin.ski> - 0.144-1
+- Update to 0.144 (RHBZ #1720970)
+
* Sun Jun 16 2019 Shawn Iwinski <shawn@iwin.ski> - 0.102-1
- Update to 0.102 (RHBZ #1584457)