From d45bdf8b637ecfa88b75a0dee51c562333d955212e975690cd64eca022713182 Mon Sep 17 00:00:00 2001 From: Stephan Kulow Date: Tue, 25 Sep 2012 11:59:37 +0000 Subject: [PATCH] Accepting request 135581 from net-snmp:factory Automatic submission by obs-autosubmit OBS-URL: https://build.opensuse.org/request/show/135581 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/net-snmp?expand=0&rev=59 --- net-snmp.changes | 6 ++++++ net-snmp.spec | 8 ++------ 2 files changed, 8 insertions(+), 6 deletions(-) diff --git a/net-snmp.changes b/net-snmp.changes index 0f0b76a..d68c791 100644 --- a/net-snmp.changes +++ b/net-snmp.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Fri Sep 7 17:28:00 UTC 2012 - jengelh@inai.de + +- Remove redundant sections from specfile +- Avoid shipping .la files + ------------------------------------------------------------------- Mon May 14 17:39:17 UTC 2012 - lchiquitto@suse.com diff --git a/net-snmp.spec b/net-snmp.spec index e466bfa..874d03f 100644 --- a/net-snmp.spec +++ b/net-snmp.spec @@ -268,7 +268,7 @@ MIBS="$MIBS ucd-snmp/lmsensorsMib" --enable-local-smux \ --enable-ipv6 \ --enable-ucd-snmp-compatibility -%{__make} all +make %{?_smp_mflags} %check %if 0%{?netsnmp_check} @@ -307,9 +307,7 @@ popd # %{__ln_s} -f %{netsnmp_agentx_socket_dir_fhs} %{buildroot}%{netsnmp_agentx_socket_dir_rfc} # - -%clean -%{__rm} -rf %{buildroot} +rm -f "%buildroot/%_libdir"/*.la %preun %stop_on_removal snmpd @@ -394,9 +392,7 @@ popd %{_mandir}/man3/* %{_includedir}/ucd-snmp %{_includedir}/net-snmp -%{_libdir}/libsnmp*.la %{_libdir}/libsnmp*.so -%{_libdir}/libnetsnmp*.la %{_libdir}/libnetsnmp*.so %{_bindir}/mib2c %{_bindir}/mib2c-update