diff options
Diffstat (limited to 'php-smbclient.spec')
-rw-r--r-- | php-smbclient.spec | 13 |
1 files changed, 10 insertions, 3 deletions
diff --git a/php-smbclient.spec b/php-smbclient.spec index d423950..813f2b7 100644 --- a/php-smbclient.spec +++ b/php-smbclient.spec @@ -32,8 +32,8 @@ Name: %{?scl_prefix}php-smbclient -Version: 1.1.1 -Release: 6%{?dist}%{!?scl:%{!?nophptag:%(%{__php} -r 'echo ".".PHP_MAJOR_VERSION.".".PHP_MINOR_VERSION;')}} +Version: 1.1.2 +Release: 1%{?dist}%{!?scl:%{!?nophptag:%(%{__php} -r 'echo ".".PHP_MAJOR_VERSION.".".PHP_MINOR_VERSION;')}} Summary: PHP wrapper for libsmbclient @@ -44,6 +44,7 @@ Source0: https://pecl.php.net/get/%{sources}.tgz Source2: %{pecl_name}-phpunit.xml %endif +# See https://github.com/eduardok/libsmbclient-php/issues/106 Patch0: %{pecl_name}-upstream.patch BuildRequires: %{?dtsprefix}gcc @@ -85,7 +86,9 @@ sed -e 's/role="test"/role="src"/' \ -i package.xml cd %{sources} -%patch -P0 -p1 -b .up +if [ $(%{__php} -r 'echo PHP_VERSION_ID;') -lt 70000 ]; then +%patch -P0 -p1 -R -b .up +fi # Check extension version ver=$(sed -n '/define PHP_SMBCLIENT_VERSION/{s/.* "//;s/".*$//;p}' php_smbclient.h) @@ -187,6 +190,10 @@ cp %{SOURCE2} phpunit.xml %changelog +* Tue Nov 26 2024 Remi Collet <remi@remirepo.net> - 1.1.2-1 +- update to 1.1.2 +- open https://github.com/eduardok/libsmbclient-php/issues/106 broken for PHP 5 + * Mon Jan 29 2024 Remi Collet <remi@remirepo.net> - 1.1.1-6 - fix incompatible pointer types using upstream patch - build out of sources tree |