summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--REFLECTION19
-rw-r--r--php-pecl-xattr-dev.spec20
2 files changed, 24 insertions, 15 deletions
diff --git a/REFLECTION b/REFLECTION
index 4c6b632..bee3e0d 100644
--- a/REFLECTION
+++ b/REFLECTION
@@ -1,10 +1,15 @@
-Extension [ <persistent> extension #164 xattr version 1.2.1 ] {
-
- - Constants [4] {
- Constant [ integer XATTR_ROOT ] { 2 }
- Constant [ integer XATTR_DONTFOLLOW ] { 1 }
- Constant [ integer XATTR_CREATE ] { 16 }
- Constant [ integer XATTR_REPLACE ] { 32 }
+Extension [ <persistent> extension #172 xattr version 1.3.0RC1 ] {
+
+ - Constants [9] {
+ Constant [ integer XATTR_CREATE ] { 1 }
+ Constant [ integer XATTR_REPLACE ] { 2 }
+ Constant [ integer XATTR_DONTFOLLOW ] { 4 }
+ Constant [ integer XATTR_USER ] { 8 }
+ Constant [ integer XATTR_ROOT ] { 16 }
+ Constant [ integer XATTR_TRUSTED ] { 16 }
+ Constant [ integer XATTR_SYSTEM ] { 32 }
+ Constant [ integer XATTR_SECURITY ] { 64 }
+ Constant [ integer XATTR_ALL ] { 128 }
}
- Functions {
diff --git a/php-pecl-xattr-dev.spec b/php-pecl-xattr-dev.spec
index 3963663..7106368 100644
--- a/php-pecl-xattr-dev.spec
+++ b/php-pecl-xattr-dev.spec
@@ -13,6 +13,7 @@
%global sub_prefix %{scl_prefix}
%endif
%endif
+%global prever RC1
%{?scl: %scl_package php-pecl-xattr}
%{!?php_inidir: %global php_inidir %{_sysconfdir}/php.d}
@@ -29,17 +30,16 @@
Summary: Extended attributes
Name: %{?sub_prefix}php-pecl-%{pecl_name}
-Version: 1.2.1
-Release: 5%{?dist}%{!?scl:%{!?nophptag:%(%{__php} -r 'echo ".".PHP_MAJOR_VERSION.".".PHP_MINOR_VERSION;')}}
+Version: 1.3.0
+Release: 0.1.%{prever}%{?dist}%{!?scl:%{!?nophptag:%(%{__php} -r 'echo ".".PHP_MAJOR_VERSION.".".PHP_MINOR_VERSION;')}}
License: PHP
Group: Development/Languages
URL: http://pecl.php.net/package/%{pecl_name}
-Source0: http://pecl.php.net/get/%{pecl_name}-%{version}.tgz
+Source0: http://pecl.php.net/get/%{pecl_name}-%{version}%{?prever}.tgz
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildRequires: %{?scl_prefix}php-devel
BuildRequires: %{?scl_prefix}php-pear
-BuildRequires: libattr-devel
Requires: %{?scl_prefix}php(zend-abi) = %{php_zend_api}
Requires: %{?scl_prefix}php(api) = %{php_core_api}
@@ -81,7 +81,7 @@ Obsoletes: php70w-pecl-%{pecl_name} <= %{version}
This package allows to manipulate extended attributes on filesystems that
support them. Requires libattr from Linux XFS project.
-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
@@ -91,14 +91,14 @@ Package built for PHP %(%{__php} -r 'echo PHP_MAJOR_VERSION.".".PHP_MINOR_VERSIO
sed -e 's/role="test"/role="src"/' -i package.xml
-mv %{pecl_name}-%{version} NTS
+mv %{pecl_name}-%{version}%{?prever} NTS
cd NTS
# Sanity check, really often broken
extver=$(sed -n '/#define PHP_XATTR_VERSION/{s/.* "//;s/".*$//;p}' php_xattr.h)
-if test "x${extver}" != "x%{version}%{?prever:-%{prever}}"; then
- : Error: Upstream extension version is ${extver}, expecting %{version}%{?prever:-%{prever}}.
+if test "x${extver}" != "x%{version}%{?prever}"; then
+ : Error: Upstream extension version is ${extver}, expecting %{version}%{?prever}.
exit 1
fi
cd ..
@@ -226,6 +226,10 @@ rm -rf %{buildroot}
%changelog
+* Fri Sep 18 2015 Remi Collet <remi@fedoraproject.org> - 1.3.0-0.1.RC1
+- update to 1.3.0RC1
+- drop dependency on libxattr
+
* Fri Sep 18 2015 Remi Collet <remi@fedoraproject.org> - 1.2.1-5
- F23 rebuild with rh_layout