diff options
author | Remi Collet <fedora@famillecollet.com> | 2017-03-16 09:46:47 +0100 |
---|---|---|
committer | Remi Collet <fedora@famillecollet.com> | 2017-03-16 09:46:47 +0100 |
commit | 43d244a5f3eea2ffdb4eb241df3f22c91cf2e9f4 (patch) | |
tree | 0b8e1982c2d28bb0cb5c840cb11f5e254155762f /php-paragonie-constant-time-encoding.spec | |
parent | 0ad5c99269fa5048bdc98350452a90b7924470b5 (diff) |
php-paragonie-constant-time-encoding: backport
Diffstat (limited to 'php-paragonie-constant-time-encoding.spec')
-rw-r--r-- | php-paragonie-constant-time-encoding.spec | 23 |
1 files changed, 22 insertions, 1 deletions
diff --git a/php-paragonie-constant-time-encoding.spec b/php-paragonie-constant-time-encoding.spec index 0a2f939..eedc210 100644 --- a/php-paragonie-constant-time-encoding.spec +++ b/php-paragonie-constant-time-encoding.spec @@ -1,3 +1,12 @@ +# remirepo spec file for php-paragonie-constant-time-encoding, from: +# +# Fedora spec file for php-paragonie-constant-time-encoding +# +# License: MIT +# http://opensource.org/licenses/MIT +# +# Please preserve changelog entries +# %global composer_vendor paragonie %global composer_project constant_time_encoding %global composer_namespace ParagonIE/ConstantTime @@ -65,15 +74,27 @@ cat << 'EOF' | tee vendor/autoload.php require_once '%{buildroot}%{_datadir}/php/%{composer_namespace}/autoload.php'; require_once '%{_datadir}/php/random_compat/autoload.php'; EOF -phpunit --no-coverage --verbose + +ret=0 +for cmd in php php56 php70 php71; do + if which $cmd; then + $cmd %{_bindir}/phpunit --no-coverage --verbose || ret=1 + fi +done +exit $ret + %files %dir %{_datadir}/php/ParagonIE %{_datadir}/php/%{composer_namespace} %doc README.md composer.json +%{!?_licensedir:%global license %%doc} %license LICENSE.txt %changelog +* Thu Mar 16 2017 Remi Collet <remi@remirepo.net> - 1.0.1-4 +- backport for remi repository + * Wed Mar 15 2017 François Kooman <fkooman@tuxed.net> - 1.0.1-4 - own parent directory - remove Requires paragonie/random_compat, only needed for build |