From c8a5fddf36ee1c25185147270b78fb44e51390bf Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Sun, 3 Jan 2016 08:04:16 +0100 Subject: php-pecl-oauth: 2.0.0 (php 7, stable) --- php-pecl-oauth.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'php-pecl-oauth.spec') 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 -- cgit