summaryrefslogtreecommitdiffstats
path: root/php-vlucas-phpdotenv.spec
diff options
context:
space:
mode:
Diffstat (limited to 'php-vlucas-phpdotenv.spec')
-rw-r--r--php-vlucas-phpdotenv.spec18
1 files changed, 11 insertions, 7 deletions
diff --git a/php-vlucas-phpdotenv.spec b/php-vlucas-phpdotenv.spec
index f7a6afc..416ccbf 100644
--- a/php-vlucas-phpdotenv.spec
+++ b/php-vlucas-phpdotenv.spec
@@ -2,7 +2,7 @@
#
# Fedora spec file for php-vlucas-phpdotenv
#
-# Copyright (c) 2017 Shawn Iwinski <shawn@iwin.ski>
+# Copyright (c) 2017-2019 Shawn Iwinski <shawn@iwin.ski>
#
# License: MIT
# http://opensource.org/licenses/MIT
@@ -12,8 +12,8 @@
%global github_owner vlucas
%global github_name phpdotenv
-%global github_version 2.4.0
-%global github_commit 3cc116adbe4b11be5ec557bf1d24dc5e3a21d18c
+%global github_version 2.6.1
+%global github_commit 2a7dcf7e3e02dc5e701004e51a6f304b713107d5
%global composer_vendor vlucas
%global composer_project phpdotenv
@@ -31,7 +31,6 @@ Version: %{github_version}
Release: 1%{?github_release}%{?dist}
Summary: Loads environment variables from .env
-Group: Development/Libraries
License: BSD
URL: https://github.com/%{github_owner}/%{github_name}
@@ -46,8 +45,9 @@ BuildArch: noarch
## composer.json
BuildRequires: php(language) >= %{php_min_ver}
BuildRequires: php-composer(phpunit/phpunit)
-## phpcompatinfo (computed from version 2.4.0)
+## phpcompatinfo (computed from version 2.6.1)
BuildRequires: php-ctype
+BuildRequires: php-filter
BuildRequires: php-pcre
BuildRequires: php-spl
## Autoloader
@@ -56,8 +56,9 @@ BuildRequires: php-composer(fedora/autoloader)
# composer.json
Requires: php(language) >= %{php_min_ver}
-# phpcompatinfo (computed from version 2.4.0)
+# phpcompatinfo (computed from version 2.6.1)
Requires: php-ctype
+Requires: php-filter
Requires: php-pcre
Requires: php-spl
# Autoloader
@@ -105,7 +106,7 @@ cp -rp src %{buildroot}%{phpdir}/Dotenv
: Upstream tests
RETURN_CODE=0
PHPUNIT=$(which phpunit)
-for PHP_EXEC in php %{?rhel:php54 php55} php56 php70 php71 php72; do
+for PHP_EXEC in php %{?rhel:php54 php55} php56 php70 php71 php72 php73 php74; do
if [ "php" == "$PHP_EXEC" ] || which $PHP_EXEC; then
pwd
ls
@@ -129,5 +130,8 @@ exit $RETURN_CODE
%changelog
+* Sun Jun 16 2019 Shawn Iwinski <shawn@iwin.ski> - 2.6.1-1
+- Update to 2.6.1
+
* Sun Aug 20 2017 Shawn Iwinski <shawn@iwin.ski> - 2.4.0-1
- Initial package