diff options
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 |