diff --git a/net-snmp.spec b/net-snmp.spec index dadd13c..91fc9e2 100644 --- a/net-snmp.spec +++ b/net-snmp.spec @@ -246,27 +246,27 @@ MIBS="$MIBS ucd-snmp/lmsensorsMib" %configure \ --disable-static --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" \ --with-ldflags="-Wl,-z,relro -Wl,-z,now" \ - --with-sys-location="Unknown" \ --with-logfile="/var/log/snmpd.log" \ - --with-persistent-directory="/var/lib/net-snmp" \ --with-mib-modules="$MIBS" \ - --sysconfdir=%{_sysconfdir} \ - --enable-ipv6 \ - --enable-ucd-snmp-compatibility \ + --with-mysql \ --with-openssl \ - --with-pic \ - --enable-embedded-perl \ - --enable-as-needed \ + --with-persistent-directory="/var/lib/net-snmp" \ --with-perl-modules="INSTALLDIRS=vendor" \ - --enable-mfd-rewrites \ - --enable-local-smux \ + --with-pic \ + --with-security-modules=tsm \ + --with-sys-location="Unknown" \ + --with-systemd \ --with-temp-file-pattern=/var/run/net-snmp/snmp-tmp-XXXXXX \ --with-transports="DTLSUDP TLSTCP" \ - --with-security-modules=tsm \ - --with-mysql \ - --with-systemd \ --with-sys-contact="root@localhost" <