diff options
Diffstat (limited to 'php-zephir-parser.spec')
| -rw-r--r-- | php-zephir-parser.spec | 14 |
1 files changed, 8 insertions, 6 deletions
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 |
