summaryrefslogtreecommitdiffstats
path: root/php-pecl-oci8.spec
diff options
context:
space:
mode:
authorRemi Collet <remi@remirepo.net>2025-12-29 08:21:29 +0100
committerRemi Collet <remi@php.net>2025-12-29 08:21:29 +0100
commit2888bf7a85e3f440a6ae5dc8e80f547a029bc4b0 (patch)
treef070905d13945949f4f6822cac07c4a09b5ba755 /php-pecl-oci8.spec
parent4acc0bd644abd203cb50a73a268fd8b5b7aea565 (diff)
update to 3.4.1HEADmaster
add pie virtual provides F43: re-enable dtrace
Diffstat (limited to 'php-pecl-oci8.spec')
-rw-r--r--php-pecl-oci8.spec28
1 files changed, 22 insertions, 6 deletions
diff --git a/php-pecl-oci8.spec b/php-pecl-oci8.spec
index ff0f308..bf4ed08 100644
--- a/php-pecl-oci8.spec
+++ b/php-pecl-oci8.spec
@@ -11,32 +11,35 @@
## NOTICE may require build with --define '_smp_mflags -j1' (f41+)
+%global pie_vend oci8
+%global pie_proj oci8
%global with_zts 0%{!?_without_zts:%{?__ztsphp:1}}
%global pecl_name oci8
%global ini_name 40-%{pecl_name}.ini
%global sources %{pecl_name}-%{version}
%global _configure ../%{sources}/configure
-%global oraclever 23.7
+%global oraclever 23.9
%global oraclemax 24
%global oraclelib 23.1
%global oracledir 23
-%global with_dtrace 1
+%bcond_without dtrace
Summary: Extension for Oracle Database
Name: %{?scl_prefix}php-pecl-%{pecl_name}
-Version: 3.4.0
-Release: 3%{?dist}%{!?nophptag:%(%{__php} -r 'echo ".".PHP_MAJOR_VERSION.".".PHP_MINOR_VERSION;')}
+Version: 3.4.1
+Release: 1%{?dist}
License: PHP-3.01
URL: https://pecl.php.net/package/%{pecl_name}
Source0: https://pecl.php.net/get/%{sources}.tgz
+# from package.xml, but build only for 8.4+
BuildRequires: %{?scl_prefix}php-devel >= 8.2
BuildRequires: %{?scl_prefix}php-pear
-%if %{with_dtrace}
+%if %{with dtrace}
BuildRequires: %{?dtsprefix}systemtap-sdt-devel
%if 0%{?fedora} >= 41
BuildRequires: %{?dtsprefix}systemtap-sdt-dtrace
@@ -54,10 +57,15 @@ Obsoletes: %{?scl_prefix}php-%{pecl_name} < 8.4
%else
Conflicts: %{?scl_prefix}php-%{pecl_name} < 8.4
%endif
+# Extension
Provides: %{?scl_prefix}php-%{pecl_name} = 1:%{version}
Provides: %{?scl_prefix}php-%{pecl_name}%{?_isa} = 1:%{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}
+Provides: %{?scl_prefix}php-%{pie_vend}-%{pie_proj} = %{version}
%description
@@ -165,7 +173,7 @@ mkdir ZTS
%build
%{?dtsenable}
-%if %{with_dtrace}
+%if %{with dtrace}
export PHP_DTRACE=yes
%endif
@@ -241,6 +249,14 @@ done
%changelog
+* Sun Dec 28 2025 Remi Collet <remi@remirepo.net> - 3.4.1-1
+- update to 3.4.1
+- add pie virtual provides
+- F43: re-enable dtrace
+
+* Mon Sep 29 2025 Remi Collet <remi@remirepo.net> - 3.4.0-4
+- Fedora 43: disable dtrace
+
* Wed Mar 12 2025 Remi Collet <remi@remirepo.net> - 3.4.0-3
- use oracle client library version 23.7 on x86_64 and arm64
- re-license spec file to CECILL-2.1