summaryrefslogtreecommitdiffstats
path: root/php-pecl-skywalking-agent.spec
diff options
context:
space:
mode:
authorRemi Collet <remi@remirepo.net>2022-11-28 13:59:01 +0100
committerRemi Collet <remi@php.net>2022-11-28 13:59:01 +0100
commit3d3cfdafc4621736731477cffb65bcd698fbc748 (patch)
treea27fddb39f620df6f8b88c4dd82c09c20bfd0f74 /php-pecl-skywalking-agent.spec
parent8c8bf315198fcb3a3e921aa6c98599f6eb2fc011 (diff)
update to 0.2.0
Diffstat (limited to 'php-pecl-skywalking-agent.spec')
-rw-r--r--php-pecl-skywalking-agent.spec21
1 files changed, 10 insertions, 11 deletions
diff --git a/php-pecl-skywalking-agent.spec b/php-pecl-skywalking-agent.spec
index 946b9be..e51fb13 100644
--- a/php-pecl-skywalking-agent.spec
+++ b/php-pecl-skywalking-agent.spec
@@ -23,15 +23,14 @@
#=> fixed in prep
# no PHP 8.2 support
# broken build with new GCC 12 (Fedora 36+)
-# broken build with rust 1.58 (RHEL-8 and RHEL-9)
-# => 1.62 on 6.7 and 9.1
+# broken build with rust 1.62 (RHEL-8 and RHEL-9)
# no support for offline build
# => workaround with "cargo vendor"
Summary: Apache SkyWalking PHP Agent
Name: %{?scl_prefix}php-pecl-skywalking-agent
-Version: 0.1.0
+Version: 0.2.0
Release: 1%{?dist}%{!?nophptag:%(%{__php} -r 'echo ".".PHP_MAJOR_VERSION.".".PHP_MINOR_VERSION;')}
License: ASL 2.0
URL: https://pecl.php.net/package/%{pecl_name}
@@ -50,9 +49,9 @@ BuildRequires: devtoolset-6-toolchain
BuildRequires: make
BuildRequires: %{?dtsprefix}gcc
BuildRequires: %{?dtsprefix}gcc-c++
-BuildRequires: %{?scl_prefix}php-devel >= 7.1
+BuildRequires: %{?scl_prefix}php-devel >= 7.2
BuildRequires: %{?scl_prefix}php-pear
-BuildRequires: cargo >= 1.60
+BuildRequires: cargo >= 1.65
BuildRequires: rustfmt
BuildRequires: protobuf-compiler
BuildRequires: clang-devel
@@ -85,8 +84,6 @@ mv %{pecl_name}-%{version} NTS
# Don't install/register tests
sed -e 's/role="test"/role="src"/' \
- -e '/"NOTICE"/s/role="src"/role="doc"/' \
- -e '/"README.md"/s/role="src"/role="doc"/' \
%{?_licensedir:-e '/LICENSE/s/role="doc"/role="src"/' } \
-i package.xml
@@ -128,14 +125,13 @@ cat > %{ini_name} << 'EOF'
extension=%{pecl_name}.so
; Configuration
-;skywalking_agent.worker_threads = 0
-;skywalking_agent.service_name = "hello-skywalking"
;skywalking_agent.server_addr = "http://127.0.0.1:11800"
-;skywalking_agent.skywalking_version = 8
;skywalking_agent.enable = false
;skywalking_agent.log_file = "/tmp/skywalking-agent.log"
;skywalking_agent.log_level = OFF
-
+;skywalking_agent.skywalking_version = 8
+;skywalking_agent.worker_threads = 0
+;skywalking_agent.service_name = "hello-skywalking"
EOF
: Required rust version
@@ -240,6 +236,9 @@ OPT="-n -d extension=curl.so -d extension=json.so"
%changelog
+* Mon Nov 28 2022 Remi Collet <remi@remirepo.net> - 0.2.0-1
+- update to 0.2.0
+
* Mon Oct 10 2022 Remi Collet <remi@remirepo.net> - 0.1.0-1
- initial package
- open https://github.com/apache/skywalking/pull/9754 Add PHP component