diff options
Diffstat (limited to 'php-smbclient.spec')
-rw-r--r-- | php-smbclient.spec | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/php-smbclient.spec b/php-smbclient.spec index 8c55e6b..a815019 100644 --- a/php-smbclient.spec +++ b/php-smbclient.spec @@ -39,7 +39,7 @@ Version: 1.1.0 %if 0%{?gh_date} Release: 0.9.%{gh_date}git%{gh_short}%{?dist}%{!?scl:%{!?nophptag:%(%{__php} -r 'echo ".".PHP_MAJOR_VERSION.".".PHP_MINOR_VERSION;')}} %else -Release: 1%{?dist}%{!?scl:%{!?nophptag:%(%{__php} -r 'echo ".".PHP_MAJOR_VERSION.".".PHP_MINOR_VERSION;')}} +Release: 2%{?dist}%{!?scl:%{!?nophptag:%(%{__php} -r 'echo ".".PHP_MAJOR_VERSION.".".PHP_MINOR_VERSION;')}} %endif Summary: PHP wrapper for libsmbclient @@ -55,6 +55,8 @@ Source0: https://pecl.php.net/get/%{pecl_name}-%{version}%{?prever}.tgz Source2: %{pecl_name}-phpunit.xml %endif +Patch0: %{pecl_name}-bug98.patch + BuildRequires: %{?dtsprefix}gcc BuildRequires: %{?scl_prefix}php-devel BuildRequires: %{?scl_prefix}php-pear @@ -117,6 +119,8 @@ sed -e 's/role="test"/role="src"/' \ -i package.xml cd NTS +%patch -P0 -p1 -b .pr100 + # Check extension version ver=$(sed -n '/define PHP_SMBCLIENT_VERSION/{s/.* "//;s/".*$//;p}' php_smbclient.h) if test "$ver" != "%{version}%{?prever}%{?gh_date:-dev}"; then @@ -234,6 +238,10 @@ fi %changelog +* Mon Apr 3 2023 Remi Collet <remi@remirepo.net> - 1.1.0-2 +- add workaround for regression in libsmbclient 4.16.9/4.17.5 + from https://github.com/eduardok/libsmbclient-php/pull/100 + * Mon Apr 3 2023 Remi Collet <remi@remirepo.net> - 1.1.0-1 - update to 1.1.0 - drop patch merged upstream |