summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--PHPINFO4
-rw-r--r--REFLECTION2
-rw-r--r--php-zephir-parser.spec14
3 files changed, 11 insertions, 9 deletions
diff --git a/PHPINFO b/PHPINFO
index d13f860..56ce251 100644
--- a/PHPINFO
+++ b/PHPINFO
@@ -5,5 +5,5 @@ zephir_parser
The Zephir Parser delivered as a C extension for the PHP language.
zephir_parser => enabled
Author => Zephir Team and contributors
-Version => 1.8.0
-Build Date => Sep 29 2025 00:00:00
+Version => 2.0.0
+Build Date => Apr 7 2026 00:00:00
diff --git a/REFLECTION b/REFLECTION
index 7e32244..4340af6 100644
--- a/REFLECTION
+++ b/REFLECTION
@@ -1,4 +1,4 @@
-Extension [ <persistent> extension #133 zephir_parser version 1.8.0 ] {
+Extension [ <persistent> extension #138 zephir_parser version 2.0.0 ] {
- Functions {
Function [ <internal:zephir_parser> function zephir_parse_file ] {
diff --git a/php-zephir-parser.spec b/php-zephir-parser.spec
index fb02491..bc4848f 100644
--- a/php-zephir-parser.spec
+++ b/php-zephir-parser.spec
@@ -15,7 +15,6 @@
%global gh_commit 4517f3b1d8264d15b53f86b66474079de78b9b39
%global gh_short %(c=%{gh_commit}; echo ${c:0:7})
-#global gh_date 20161126
%global gh_owner phalcon
%global gh_project php-zephir-parser
%global pecl_name zephir_parser
@@ -25,11 +24,11 @@
%global _configure ../%{sources}/configure
Name: %{?scl_prefix}%{gh_project}
-Version: 1.8.0
-Release: 1%{?gh_date:.%{gh_date}git%{gh_short}}%{?dist}%{!?scl:%{!?nophptag:%(%{__php} -r 'echo ".".PHP_MAJOR_VERSION.".".PHP_MINOR_VERSION;')}}
Summary: Zephir code parser
-
License: MIT
+Version: 2.0.0
+Release: 1%{?dist}
+
URL: https://github.com/%{gh_owner}/%{gh_project}
Source0: http://pecl.php.net/get/%{sources}.tgz
@@ -77,8 +76,8 @@ sed -e '/LICENSE/s/role="doc"/role="src"/' -i package.xml
pushd %{sources}
# Sanity check, really often broken
extver=$(sed -n '/#define PHP_ZEPHIR_PARSER_VERSION/{s/.* "//;s/".*$//;p}' zephir_parser.h)
-if test "x${extver}" != "x%{version}%{?gh_date:-dev}"; then
- : Error: Upstream extension version is ${extver}, expecting %{version}%{?gh_date:-dev}.
+if test "x${extver}" != "x%{version}"; then
+ : Error: Upstream extension version is ${extver}, expecting %{version}
exit 1
fi
popd
@@ -190,6 +189,9 @@ REPORT_EXIT_STATUS=1 \
%changelog
+* Tue Apr 7 2026 Remi Collet <remi@remirepo.net> - 2.0.0-1
+- update to 2.0.0
+
* Mon Sep 29 2025 Remi Collet <remi@remirepo.net> - 1.8.0-1
- update to 1.8.0
- re-license spec file to CECILL-2.1