summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRemi Collet <remi@remirepo.net>2025-09-17 16:11:56 +0200
committerRemi Collet <remi@php.net>2025-09-17 16:11:56 +0200
commit7e66f26f3076f5ce9a71c5507544caedca4b833d (patch)
tree7969ddff06e8015c8332a8fd67f8812cb7c0ba24
parentc6612482b96f3297007b8f42d5c4fe388e623544 (diff)
update to 1.4.1HEADmaster
re-license spec file to CECILL-2.1 add pie virtual provides
-rw-r--r--.gitignore2
-rw-r--r--PHPINFO2
-rw-r--r--REFLECTION30
-rw-r--r--php-pecl-xattr.spec34
4 files changed, 41 insertions, 27 deletions
diff --git a/.gitignore b/.gitignore
index 1ab5c4f..01f0400 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,5 +1,7 @@
+clog
package-*.xml
*.tgz
+*.tar.bz2
*.tar.gz
*.tar.xz
*.tar.xz.asc
diff --git a/PHPINFO b/PHPINFO
index e209d84..931a890 100644
--- a/PHPINFO
+++ b/PHPINFO
@@ -2,4 +2,4 @@
xattr
xattr support => enabled
-PECL module version => 1.4.0
+PECL module version => 1.4.1
diff --git a/REFLECTION b/REFLECTION
index 070dbf1..1afd935 100644
--- a/REFLECTION
+++ b/REFLECTION
@@ -1,4 +1,4 @@
-Extension [ <persistent> extension #99 xattr version 1.4.0 ] {
+Extension [ <persistent> extension #126 xattr version 1.4.1 ] {
- Constants [9] {
Constant [ int XATTR_CREATE ] { 1 }
@@ -19,7 +19,7 @@ Extension [ <persistent> extension #99 xattr version 1.4.0 ] {
Parameter #0 [ <required> string $path ]
Parameter #1 [ <required> string $name ]
Parameter #2 [ <required> string $value ]
- Parameter #3 [ <optional> int $flag ]
+ Parameter #3 [ <optional> int $flag = 0 ]
}
- Return [ bool ]
}
@@ -28,34 +28,34 @@ Extension [ <persistent> extension #99 xattr version 1.4.0 ] {
- Parameters [3] {
Parameter #0 [ <required> string $path ]
Parameter #1 [ <required> string $name ]
- Parameter #2 [ <optional> int $flags ]
+ Parameter #2 [ <optional> int $flags = 0 ]
}
- - Return [ string ]
+ - Return [ string|false ]
}
- Function [ <internal:xattr> function xattr_remove ] {
+ Function [ <internal:xattr> function xattr_supported ] {
- - Parameters [3] {
+ - Parameters [2] {
Parameter #0 [ <required> string $path ]
- Parameter #1 [ <required> string $name ]
- Parameter #2 [ <optional> int $flags ]
+ Parameter #1 [ <optional> int $flags = 0 ]
}
- Return [ bool ]
}
- Function [ <internal:xattr> function xattr_list ] {
+ Function [ <internal:xattr> function xattr_remove ] {
- - Parameters [2] {
+ - Parameters [3] {
Parameter #0 [ <required> string $path ]
- Parameter #1 [ <optional> int $flags ]
+ Parameter #1 [ <required> string $name ]
+ Parameter #2 [ <optional> int $flags = 0 ]
}
- - Return [ array ]
+ - Return [ bool ]
}
- Function [ <internal:xattr> function xattr_supported ] {
+ Function [ <internal:xattr> function xattr_list ] {
- Parameters [2] {
Parameter #0 [ <required> string $path ]
- Parameter #1 [ <optional> int $flags ]
+ Parameter #1 [ <optional> int $flags = 0 ]
}
- - Return [ bool ]
+ - Return [ array|false ]
}
}
}
diff --git a/php-pecl-xattr.spec b/php-pecl-xattr.spec
index 8998924..7384bd4 100644
--- a/php-pecl-xattr.spec
+++ b/php-pecl-xattr.spec
@@ -1,14 +1,16 @@
# remirepo spec file for php-pecl-xattr
#
-# Copyright (c) 2013-2024 Remi Collet
-# License: CC-BY-SA-4.0
-# http://creativecommons.org/licenses/by-sa/4.0/
+# SPDX-FileCopyrightText: Copyright 2013-2025 Remi Collet
+# SPDX-License-Identifier: CECILL-2.1
+# http://www.cecill.info/licences/Licence_CeCILL_V2-en.txt
#
# Please, preserve the changelog entries
#
%{?scl:%scl_package php-pecl-xattr}
%global pecl_name xattr
+%global pie_vend pecl
+%global pie_proj xattr
%global with_zts 0%{!?_without_zts:%{?__ztsphp:1}}
%global ini_name 40-%{pecl_name}.ini
%global sources %{pecl_name}-%{version}
@@ -16,8 +18,8 @@
Summary: Extended attributes
Name: %{?scl_prefix}php-pecl-%{pecl_name}
-Version: 1.4.0
-Release: 7%{?dist}%{!?scl:%{!?nophptag:%(%{__php} -r 'echo ".".PHP_MAJOR_VERSION.".".PHP_MINOR_VERSION;')}}
+Version: 1.4.1
+Release: 1%{?dist}%{!?scl:%{!?nophptag:%(%{__php} -r 'echo ".".PHP_MAJOR_VERSION.".".PHP_MINOR_VERSION;')}}
License: PHP-3.01
URL: https://pecl.php.net/package/%{pecl_name}
Source0: https://pecl.php.net/get/%{sources}.tgz
@@ -30,12 +32,14 @@ BuildRequires: %{?scl_prefix}php-pear >= 1.10
Requires: %{?scl_prefix}php(zend-abi) = %{php_zend_api}
Requires: %{?scl_prefix}php(api) = %{php_core_api}
-Provides: %{?scl_prefix}php-%{pecl_name} = %{version}
-Provides: %{?scl_prefix}php-%{pecl_name}%{?_isa} = %{version}
-Provides: %{?scl_prefix}php-pecl(%{pecl_name}) = %{version}
-Provides: %{?scl_prefix}php-pecl(%{pecl_name})%{?_isa} = %{version}
-Provides: %{?scl_prefix}php-pecl-%{pecl_name} = %{version}-%{release}
-Provides: %{?scl_prefix}php-pecl-%{pecl_name}%{?_isa} = %{version}-%{release}
+# Extension
+Provides: %{?scl_prefix}php-%{pecl_name} = %{version}
+Provides: %{?scl_prefix}php-%{pecl_name}%{?_isa} = %{version}
+# PECL
+Provides: %{?scl_prefix}php-pecl(%{pecl_name}) = %{version}
+Provides: %{?scl_prefix}php-pecl(%{pecl_name})%{?_isa} = %{version}
+# PIE
+Provides: %{?scl_prefix}php-pie(%{pie_vend}/%{pie_proj}) = %{version}
%description
@@ -156,6 +160,14 @@ cd ../ZTS
%changelog
+* Wed Sep 17 2025 Remi Collet <remi@remirepo.net> - 1.4.1-1
+- update to 1.4.1
+- re-license spec file to CECILL-2.1
+- add pie virtual provides
+
+* Wed Jul 30 2025 Remi Collet <remi@remirepo.net> - 1.4.0-8
+- rebuild for 8.5.0alpha3
+
* Wed Aug 30 2023 Remi Collet <remi@remirepo.net> - 1.4.0-7
- rebuild for PHP 8.3.0RC1