diff options
author | Remi Collet <remi@remirepo.net> | 2025-04-08 08:10:58 +0200 |
---|---|---|
committer | Remi Collet <remi@php.net> | 2025-04-08 08:10:58 +0200 |
commit | 1c9fcbd3c4f6ff65fa8e942004ae4bce1a50c2cc (patch) | |
tree | 16e409070d71fb1a9d460747549d7306ac51ba32 | |
parent | c1357747ba9561df89974e423e2e7a8585cecb8d (diff) |
re-license spec file to CECILL-2.1
-rw-r--r-- | PHPINFO | 4 | ||||
-rw-r--r-- | REFLECTION | 2 | ||||
-rw-r--r-- | php-snappy.spec | 25 |
3 files changed, 19 insertions, 12 deletions
@@ -2,6 +2,6 @@ snappy Snappy support => enabled -Extension Version => 0.2.2 -Snappy Version => system library +Extension Version => 0.2.3 +Snappy Version => 1.2.1 Snappy APCu serializer ABI => 0 @@ -1,4 +1,4 @@ -Extension [ <persistent> extension #99 snappy version 0.2.2 ] { +Extension [ <persistent> extension #106 snappy version 0.2.3 ] { - Dependencies { Dependency [ apcu (Optional) ] diff --git a/php-snappy.spec b/php-snappy.spec index c6088a4..7fe2fe9 100644 --- a/php-snappy.spec +++ b/php-snappy.spec @@ -1,8 +1,8 @@ # remirepo spec file for php-snappy # -# Copyright (c) 2016-2024 Remi Collet -# License: CC-BY-SA-4.0 -# http://creativecommons.org/licenses/by-sa/4.0/ +# SPDX-FileCopyrightText: Copyright 2016-2025 Remi Collet +# SPDX-License-Identifier: CECILL-2.1 +# http://www.cecill.info/licences/Licence_CeCILL_V2-en.txt # # Please, preserve the changelog entries # @@ -12,17 +12,18 @@ %global pkg_name %{name} %endif -%bcond_without apcu # To build with PHP 5.x use --without apcu +%bcond_without apcu %bcond_without tests - %bcond_without libsnappy -%global gh_commit 5572e61dea3e7facb2e7ec806543f447c99d5165 +%global gh_commit 4ca06a3f0d927cd09a2d180bc9fba500fbde9251 %global gh_short %(c=%{gh_commit}; echo ${c:0:7}) %global gh_owner kjdev %global gh_project php-ext-snappy %global pecl_name snappy +%global pie_vend kjdev +%global pie_proj snappy %global with_zts 0%{!?_without_zts:%{?__ztsphp:1}} %global ini_name 40-%{pecl_name}.ini %global sources %{gh_project}-%{gh_commit} @@ -30,12 +31,12 @@ Summary: Snappy Extension for PHP Name: %{?scl_prefix}php-snappy -Version: 0.2.2 +Version: 0.2.3 Release: 1%{?dist}%{!?scl:%{!?nophptag:%(%{__php} -r 'echo ".".PHP_MAJOR_VERSION.".".PHP_MINOR_VERSION;')}} %if %{with libsnappy} License: PHP-3.01 %else -License: PHP-3.01 and BSD-3-Clauise +License: PHP-3.01 AND BSD-3-Clause %endif URL: https://github.com/%{gh_owner}/%{gh_project} Source0: %{pkg_name}-%{version}-%{gh_short}.tgz @@ -57,6 +58,8 @@ Provides: bundled(snappy) = 1.2.1 Requires: %{?scl_prefix}php(zend-abi) = %{php_zend_api} Requires: %{?scl_prefix}php(api) = %{php_core_api} +Provides: %{?scl_prefix}php-pie(%{pie_vend}/%{pie_proj}) = %{version} +Provides: %{?scl_prefix}php-%{pie_vend}-%{pie_proj} = %{version} %description @@ -181,7 +184,7 @@ REPORT_EXIT_STATUS=1 \ %files %license %{sources}/LICENSE -%if ! %{with libsnappy} +%if %{without libsnappy} %license %{sources}/COPYING.snappy %endif %doc %{sources}/CREDITS @@ -197,6 +200,10 @@ REPORT_EXIT_STATUS=1 \ %changelog +* Tue Apr 8 2025 Remi Collet <remi@remirepo.net> - 0.2.2-1 +- update to 0.2.3 +- re-license spec file to CECILL-2.1 + * Fri Nov 8 2024 Remi Collet <remi@remirepo.net> - 0.2.2-1 - update to 0.2.2 (no change) - update bundled libsnappy to 1.2.1 |