diff options
author | Remi Collet <fedora@famillecollet.com> | 2016-01-03 08:04:16 +0100 |
---|---|---|
committer | Remi Collet <fedora@famillecollet.com> | 2016-01-03 08:04:16 +0100 |
commit | c8a5fddf36ee1c25185147270b78fb44e51390bf (patch) | |
tree | 28c759e490cdedcc1a766ae307331fc49da836c5 /php-pecl-oauth.spec | |
parent | e7eabc9656e2018ee6d1f00e0fa1fb2cde6b7e99 (diff) |
php-pecl-oauth: 2.0.0 (php 7, stable)
Diffstat (limited to 'php-pecl-oauth.spec')
-rw-r--r-- | php-pecl-oauth.spec | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/php-pecl-oauth.spec b/php-pecl-oauth.spec index 960c463..3ce24eb 100644 --- a/php-pecl-oauth.spec +++ b/php-pecl-oauth.spec @@ -82,7 +82,7 @@ OAuth is an authorization protocol built on top of HTTP which allows applications to securely access data without having to store user names and passwords. -Package built for PHP %(%{__php} -r 'echo PHP_MAJOR_VERSION.".".PHP_MINOR_VERSION;')%{?scl: as Software Collection (%{scl})}. +Package built for PHP %(%{__php} -r 'echo PHP_MAJOR_VERSION.".".PHP_MINOR_VERSION;')%{?scl: as Software Collection (%{scl} by %{?scl_vendor}%{!?scl_vendor:rh})}. %prep @@ -90,6 +90,9 @@ Package built for PHP %(%{__php} -r 'echo PHP_MAJOR_VERSION.".".PHP_MINOR_VERSIO mv %{pecl_name}-%{version} NTS +# Don't install/register tests +sed -e 's/role="test"/role="src"/' -i package.xml + # Sanity check, really often broken extver=$(sed -n '/#define PHP_OAUTH_VERSION/{s/.* //;s/".*$//;p}' NTS/php_oauth.h) if test "x${extver}" != "x%{version}"; then |