summaryrefslogtreecommitdiffstats
path: root/php-pecl-opentelemetry.spec
diff options
context:
space:
mode:
Diffstat (limited to 'php-pecl-opentelemetry.spec')
-rw-r--r--php-pecl-opentelemetry.spec9
1 files changed, 8 insertions, 1 deletions
diff --git a/php-pecl-opentelemetry.spec b/php-pecl-opentelemetry.spec
index 0e36246..673d542 100644
--- a/php-pecl-opentelemetry.spec
+++ b/php-pecl-opentelemetry.spec
@@ -15,7 +15,7 @@
%global ini_name 40-%{pecl_name}.ini
%global upstream_version 1.0.2
-%global upstream_prever beta1
+%global upstream_prever beta2
%global upstream_lower %(echo %{upstream_prever} | tr '[:upper:]' '[:lower:]')
%global sources %{pecl_name}-%{upstream_version}%{?upstream_prever}
%global _configure ../%{sources}/configure
@@ -65,6 +65,10 @@ sed -e 's/role="test"/role="src"/' \
-i package.xml
cd %{sources}
+%if 0%{?rhel} == 7
+sed -e 's/-Werror//' -i config.m4
+%endif
+
: Sanity check, really often broken
extver=$(sed -n '/#define PHP_OPENTELEMETRY_VERSION /{s/.* "//;s/".*$//;p}' php_%{pecl_name}.h)
if test "x${extver}" != "x%{upstream_version}%{?upstream_prever}"; then
@@ -197,6 +201,9 @@ fi
%changelog
+* Tue Mar 19 2024 Remi Collet <remi@remirepo.net> - 1.0.2~beta2-1
+- update to 1.0.2beta2
+
* Tue Feb 6 2024 Remi Collet <remi@remirepo.net> - 1.0.2~beta1-1
- update to 1.0.2beta1