From b8752065991788e34a0b2ec9589156c602b4fc99 Mon Sep 17 00:00:00 2001 From: xingwei Date: Wed, 24 May 2023 02:56:56 +0000 Subject: [PATCH] remove pcre dependency --- net-snmp.spec | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) diff --git a/net-snmp.spec b/net-snmp.spec index 33d7b94..31010cd 100644 --- a/net-snmp.spec +++ b/net-snmp.spec @@ -3,7 +3,7 @@ Name: net-snmp Version: 5.9.1 -Release: 7 +Release: 8 Epoch: 1 Summary: SNMP Daemon License: BSD @@ -61,7 +61,7 @@ Patch44: backport-net-snmp-5.9.1-remove-err-log.patch %{?systemd_requires} BuildRequires: systemd gcc openssl-devel bzip2-devel elfutils-devel libselinux-devel -BuildRequires: elfutils-libelf-devel rpm-devel perl-devel perl(ExtUtils::Embed) procps pcre-devel +BuildRequires: elfutils-libelf-devel rpm-devel perl-devel perl(ExtUtils::Embed) procps BuildRequires: python3-devel python3-setuptools chrpath mariadb-connector-c-devel net-tools BuildRequires: perl(TAP::Harness) lm_sensors-devel autoconf automake Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) @@ -147,7 +147,7 @@ MIBS="host agentx smux \ ip-mib/ipv6ScopeZoneIndexTable ip-mib/ipIfStatsTable \ sctp-mib rmon-mib etherlike-mib" MIBS="$MIBS ucd-snmp/lmsensorsMib" -%configure --enable-shared --enable-as-needed --enable-embedded-perl \ +%configure --with-pcre=no --enable-shared --enable-as-needed --enable-embedded-perl \ --enable-ipv6 --enable-local-smux --enable-mfd-rewrites \ --enable-ucd-snmp-compatibility --sysconfdir=%{_sysconfdir} \ --with-cflags="$RPM_OPT_FLAGS -D_RPM_4_4_COMPAT" \ @@ -337,6 +337,12 @@ LD_LIBRARY_PATH=%{buildroot}/%{_libdir} make test %{_mandir}/man1/fixproc* %changelog +* Wed May 24 2023 xingwei - 1:5.9.1-8 +- Type:bugfix +- CVE:NA +- SUG:NA +- DESC:remove pcre dependency + * Fri Feb 03 2023 gaihuiying - 1:5.9.1-7 - Type:bugfix - CVE:NA -- Gitee