summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRemi Collet <remi@remirepo.net>2020-04-24 08:56:05 +0200
committerRemi Collet <remi@remirepo.net>2020-04-24 08:56:05 +0200
commitdce7995d9699a40fdebc707191006edf2241111d (patch)
treedd3013a410390f5e72a2f98809f65b8ae42a3198
parentc59fb84bdc359cc80333ae9b9097ebfa4c6eb511 (diff)
update to 1.4.0
raise dependency on PHP 7.2
-rw-r--r--PHPINFO2
-rw-r--r--REFLECTION35
-rw-r--r--php-pecl-xattr.spec12
3 files changed, 28 insertions, 21 deletions
diff --git a/PHPINFO b/PHPINFO
index fa7967b..e209d84 100644
--- a/PHPINFO
+++ b/PHPINFO
@@ -2,4 +2,4 @@
xattr
xattr support => enabled
-PECL module version => 1.3.1
+PECL module version => 1.4.0
diff --git a/REFLECTION b/REFLECTION
index 9e97b4b..070dbf1 100644
--- a/REFLECTION
+++ b/REFLECTION
@@ -1,4 +1,4 @@
-Extension [ <persistent> extension #99 xattr version 1.3.1 ] {
+Extension [ <persistent> extension #99 xattr version 1.4.0 ] {
- Constants [9] {
Constant [ int XATTR_CREATE ] { 1 }
@@ -16,41 +16,46 @@ Extension [ <persistent> extension #99 xattr version 1.3.1 ] {
Function [ <internal:xattr> function xattr_set ] {
- Parameters [4] {
- Parameter #0 [ <required> $path ]
- Parameter #1 [ <required> $name ]
- Parameter #2 [ <required> $value ]
- Parameter #3 [ <optional> $flags ]
+ Parameter #0 [ <required> string $path ]
+ Parameter #1 [ <required> string $name ]
+ Parameter #2 [ <required> string $value ]
+ Parameter #3 [ <optional> int $flag ]
}
+ - Return [ bool ]
}
Function [ <internal:xattr> function xattr_get ] {
- Parameters [3] {
- Parameter #0 [ <required> $path ]
- Parameter #1 [ <required> $name ]
- Parameter #2 [ <optional> $flags ]
+ Parameter #0 [ <required> string $path ]
+ Parameter #1 [ <required> string $name ]
+ Parameter #2 [ <optional> int $flags ]
}
+ - Return [ string ]
}
Function [ <internal:xattr> function xattr_remove ] {
- Parameters [3] {
- Parameter #0 [ <required> $path ]
- Parameter #1 [ <required> $name ]
- Parameter #2 [ <optional> $flags ]
+ Parameter #0 [ <required> string $path ]
+ Parameter #1 [ <required> string $name ]
+ Parameter #2 [ <optional> int $flags ]
}
+ - Return [ bool ]
}
Function [ <internal:xattr> function xattr_list ] {
- Parameters [2] {
- Parameter #0 [ <required> $path ]
- Parameter #1 [ <optional> $flags ]
+ Parameter #0 [ <required> string $path ]
+ Parameter #1 [ <optional> int $flags ]
}
+ - Return [ array ]
}
Function [ <internal:xattr> function xattr_supported ] {
- Parameters [2] {
- Parameter #0 [ <required> $path ]
- Parameter #1 [ <optional> $flags ]
+ Parameter #0 [ <required> string $path ]
+ Parameter #1 [ <optional> int $flags ]
}
+ - Return [ bool ]
}
}
}
diff --git a/php-pecl-xattr.spec b/php-pecl-xattr.spec
index 168a522..6d5cdd7 100644
--- a/php-pecl-xattr.spec
+++ b/php-pecl-xattr.spec
@@ -21,15 +21,15 @@
Summary: Extended attributes
Name: %{?sub_prefix}php-pecl-%{pecl_name}
-Version: 1.3.1
+Version: 1.4.0
Release: 1%{?dist}%{!?scl:%{!?nophptag:%(%{__php} -r 'echo ".".PHP_MAJOR_VERSION.".".PHP_MINOR_VERSION;')}}
License: PHP
URL: https://pecl.php.net/package/%{pecl_name}
Source0: https://pecl.php.net/get/%{pecl_name}-%{version}%{?prever}.tgz
BuildRequires: %{?dtsprefix}gcc
-BuildRequires: %{?scl_prefix}php-devel
-BuildRequires: %{?scl_prefix}php-pear
+BuildRequires: %{?scl_prefix}php-devel >= 7.2
+BuildRequires: %{?scl_prefix}php-pear >= 1.10
Requires: %{?scl_prefix}php(zend-abi) = %{php_zend_api}
Requires: %{?scl_prefix}php(api) = %{php_core_api}
@@ -44,10 +44,8 @@ Provides: %{?scl_prefix}php-pecl-%{pecl_name}%{?_isa} = %{version}-%{rele
%if "%{?vendor}" == "Remi Collet" && 0%{!?scl:1} && 0%{?rhel}
# Other third party repo stuff
-%if "%{php_version}" > "7.2"
Obsoletes: php72u-pecl-%{pecl_name} <= %{version}
Obsoletes: php72w-pecl-%{pecl_name} <= %{version}
-%endif
%if "%{php_version}" > "7.3"
Obsoletes: php73-pecl-%{pecl_name} <= %{version}
Obsoletes: php73w-pecl-%{pecl_name} <= %{version}
@@ -214,6 +212,10 @@ REPORT_EXIT_STATUS=1 \
%changelog
+* Fri Apr 24 2020 Remi Collet <remi@remirepo.net> - 1.4.0-1
+- update to 1.4.0
+- raise dependency on PHP 7.2
+
* Wed Apr 22 2020 Remi Collet <remi@remirepo.net> - 1.3.1-1
- update to 1.3.1