summaryrefslogtreecommitdiffstats
path: root/php-pecl-skywalking-agent.spec
diff options
context:
space:
mode:
Diffstat (limited to 'php-pecl-skywalking-agent.spec')
-rw-r--r--php-pecl-skywalking-agent.spec32
1 files changed, 22 insertions, 10 deletions
diff --git a/php-pecl-skywalking-agent.spec b/php-pecl-skywalking-agent.spec
index e51fb13..5dce605 100644
--- a/php-pecl-skywalking-agent.spec
+++ b/php-pecl-skywalking-agent.spec
@@ -1,7 +1,7 @@
# remirepo spec file for php-pecl-skywalking-agent
#
-# Copyright (c) 2022 Remi Collet
-# License: CC-BY-SA
+# Copyright (c) 2022-2023 Remi Collet
+# License: CC-BY-SA-4.0
# http://creativecommons.org/licenses/by-sa/4.0/
#
# Please, preserve the changelog entries
@@ -17,6 +17,7 @@
%global with_zts 0
%global ini_name 40-%{pecl_name}.ini
+## BUILD: Fedora and EL-9 using --enablerepo=stream
## TODO: issues
# bad role for documentation (role="src" instead of role="doc")
@@ -30,9 +31,9 @@
Summary: Apache SkyWalking PHP Agent
Name: %{?scl_prefix}php-pecl-skywalking-agent
-Version: 0.2.0
+Version: 0.3.0
Release: 1%{?dist}%{!?nophptag:%(%{__php} -r 'echo ".".PHP_MAJOR_VERSION.".".PHP_MINOR_VERSION;')}
-License: ASL 2.0
+License: Apache-2.0
URL: https://pecl.php.net/package/%{pecl_name}
Source0: https://pecl.php.net/get/%{pecl_name}-%{version}.tgz
@@ -125,17 +126,25 @@ cat > %{ini_name} << 'EOF'
extension=%{pecl_name}.so
; Configuration
-;skywalking_agent.server_addr = "http://127.0.0.1:11800"
-;skywalking_agent.enable = false
-;skywalking_agent.log_file = "/tmp/skywalking-agent.log"
-;skywalking_agent.log_level = OFF
+;skywalking_agent.enable = 0
;skywalking_agent.skywalking_version = 8
+;skywalking_agent.server_addr = 127.0.0.1:11800
+;skywalking_agent.service_name = hello-skywalking
;skywalking_agent.worker_threads = 0
-;skywalking_agent.service_name = "hello-skywalking"
+;skywalking_agent.log_level = OFF
+;skywalking_agent.log_file = /tmp/skywalking-agent.log
+;skywalking_agent.runtime_dir = /tmp/skywalking-agent
+;skywalking_agent.authentication =
+;skywalking_agent.enable_tls = 0
+;skywalking_agent.ssl_trusted_ca_path =
+;skywalking_agent.ssl_key_path =
+;skywalking_agent.ssl_cert_chain_path =
+;skywalking_agent.heartbeat_period = 30
+;skywalking_agent.properties_report_period_factor = 10
EOF
: Required rust version
-grep -h rust-version mycargo/*/Cargo.toml NTS/Cargo.toml | sort -u | tail -n 4
+grep -h rust-version mycargo/*/Cargo.toml NTS/Cargo.toml | sort -u | tail -n 8
%build
@@ -236,6 +245,9 @@ OPT="-n -d extension=curl.so -d extension=json.so"
%changelog
+* Thu Feb 2 2023 Remi Collet <remi@remirepo.net> - 0.3.0-1
+- update to 0.3.0
+
* Mon Nov 28 2022 Remi Collet <remi@remirepo.net> - 0.2.0-1
- update to 0.2.0