From 130be288d53a019d4b1ad18a49e44d76143c35af Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Wed, 26 Sep 2018 09:20:37 +0200 Subject: v2.1.6 (no change) --- composer.json | 5 +++++ makesrc.sh | 2 +- php-egulias-email-validator2.spec | 15 ++++++++++++--- 3 files changed, 18 insertions(+), 4 deletions(-) diff --git a/composer.json b/composer.json index 7cc836f..5423e9f 100644 --- a/composer.json +++ b/composer.json @@ -35,5 +35,10 @@ "psr-4": { "Egulias\\EmailValidator\\": "EmailValidator" } + }, + "autoload-dev": { + "psr-4": { + "Egulias\\Tests\\": "test" + } } } diff --git a/makesrc.sh b/makesrc.sh index ab1375c..97be9f6 100755 --- a/makesrc.sh +++ b/makesrc.sh @@ -20,7 +20,7 @@ cp composer.json ../composer.json popd echo "Archiving..." -tar czf $NAME-$VERSION-$SHORT.tgz --exclude .git $PROJECT-$COMMIT +tar czf $NAME-$VERSION-$SHORT.tgz --exclude-vcs $PROJECT-$COMMIT echo "Cleaning..." rm -rf $PROJECT-$COMMIT diff --git a/php-egulias-email-validator2.spec b/php-egulias-email-validator2.spec index b7d38c0..561e2fb 100644 --- a/php-egulias-email-validator2.spec +++ b/php-egulias-email-validator2.spec @@ -10,8 +10,8 @@ %global github_owner egulias %global github_name EmailValidator -%global github_version 2.1.5 -%global github_commit 54859fabea8b3beecbb1a282888d5c990036b9e3 +%global github_version 2.1.6 +%global github_commit 0578b32b30b22de3e8664f797cf846fc9246f786 %global github_short %(c=%{github_commit}; echo ${c:0:7}) %global major 2 @@ -121,6 +121,13 @@ cp -rp EmailValidator %{buildroot}%{phpdir}/Egulias/EmailValidator%{major} %check %if %{with_tests} +mkdir vendor +cat << 'EOF' | tee vendor/autoload.php + - 2.1.6-1 +- update to 2.1.6 (no change) + * Mon Aug 20 2018 Remi Collet - 2.1.5-1 - update to 2.1.5 -- cgit