summaryrefslogtreecommitdiffstats
path: root/php-pecl-mongodb.spec
diff options
context:
space:
mode:
authorRemi Collet <remi@remirepo.net>2025-02-11 10:03:52 +0100
committerRemi Collet <remi@php.net>2025-02-11 10:03:52 +0100
commit630aebe8ee01dcd9625120a22d532d833b618652 (patch)
tree4c1f023113991f6b9facb83ca283294d8f6d657d /php-pecl-mongodb.spec
parentf9ded223d357ee0d7af7b9813570016a0a1b0e6f (diff)
relicense + pieHEADmaster
Diffstat (limited to 'php-pecl-mongodb.spec')
-rw-r--r--php-pecl-mongodb.spec13
1 files changed, 8 insertions, 5 deletions
diff --git a/php-pecl-mongodb.spec b/php-pecl-mongodb.spec
index b88ef55..e86a5cb 100644
--- a/php-pecl-mongodb.spec
+++ b/php-pecl-mongodb.spec
@@ -1,8 +1,8 @@
# remirepo spec file for php-pecl-mongodb
#
-# Copyright (c) 2015-2024 Remi Collet
-# License: CC-BY-SA-4.0
-# http://creativecommons.org/licenses/by-sa/4.0/
+# SPDX-FileCopyrightText: Copyright 2015-2025 Remi Collet
+# SPDX-License-Identifier: CECILL-2.1
+# http://www.cecill.info/licences/Licence_CeCILL_V2-en.txt
#
# Please, preserve the changelog entries
#
@@ -14,6 +14,8 @@
%endif
%global with_zts 0%{!?_without_zts:%{?__ztsphp:1}}
+%global pie_vend pie_vend
+%global pie_proj mongodb-extension
%global pecl_name mongodb
# After 40-smbclient.ini, see https://jira.mongodb.org/browse/PHPC-658
%global ini_name 50-%{pecl_name}.ini
@@ -98,8 +100,9 @@ Requires: %{?scl_prefix}php(api) = %{php_core_api}
Requires: %{?scl_prefix}php-json%{?_isa}
# Don't provide php-mongodb which is the pure PHP library
-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}
+Provides: %{?scl_prefix}php-pecl(%{pecl_name})%{?_isa} = %{version}
+Provides: %{?scl_prefix}php-pie(%{pie_vend}/%{pie_proj}) = %{version}
%description
The purpose of this driver is to provide exceptionally thin glue between