add clear description to legacy options in the spec file
This commit is contained in:
parent
a978c02027
commit
bbbaa780b4
@ -3,10 +3,10 @@
|
|||||||
# use nestnmp_check 0 to speed up packaging by disabling 'make test'
|
# use nestnmp_check 0 to speed up packaging by disabling 'make test'
|
||||||
%{!?netsnmp_check: %global netsnmp_check 1}
|
%{!?netsnmp_check: %global netsnmp_check 1}
|
||||||
|
|
||||||
|
# allow compilation on Fedora 11 and older
|
||||||
|
%{!?python_sitearch: %global python_sitearch %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib(1)")}
|
||||||
# Arches on which we need to prevent arch conflicts on net-snmp-config.h
|
# Arches on which we need to prevent arch conflicts on net-snmp-config.h
|
||||||
%define multilib_arches %{ix86} ia64 ppc ppc64 s390 s390x x86_64 sparc sparcv9 sparc64
|
%define multilib_arches %{ix86} ia64 ppc ppc64 s390 s390x x86_64 sparc sparcv9 sparc64
|
||||||
# allow compilation on old Fedoras
|
|
||||||
%{!?python_sitearch: %global python_sitearch %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib(1)")}
|
|
||||||
|
|
||||||
Summary: A collection of SNMP protocol tools and libraries
|
Summary: A collection of SNMP protocol tools and libraries
|
||||||
Name: net-snmp
|
Name: net-snmp
|
||||||
@ -69,9 +69,6 @@ documentation, etc.
|
|||||||
You will probably also want to install the net-snmp-utils package,
|
You will probably also want to install the net-snmp-utils package,
|
||||||
which contains NET-SNMP utilities.
|
which contains NET-SNMP utilities.
|
||||||
|
|
||||||
Building option:
|
|
||||||
--without tcp_wrappers : disable tcp_wrappers support
|
|
||||||
|
|
||||||
%package utils
|
%package utils
|
||||||
Group: Applications/System
|
Group: Applications/System
|
||||||
Summary: Network management utilities using SNMP, from the NET-SNMP project
|
Summary: Network management utilities using SNMP, from the NET-SNMP project
|
||||||
@ -305,6 +302,7 @@ LD_LIBRARY_PATH=${RPM_BUILD_ROOT}/%{_libdir} make test
|
|||||||
/sbin/chkconfig --add snmptrapd
|
/sbin/chkconfig --add snmptrapd
|
||||||
|
|
||||||
# move local state files from /var/net-snmp to new location when updating the package
|
# move local state files from /var/net-snmp to new location when updating the package
|
||||||
|
# (Fedora 11: /var/net-snmp, Fedora 12: /var/lib/net-snmp)
|
||||||
/bin/mv %{_localstatedir}/net-snmp/* %{_localstatedir}/lib/net-snmp/ &>/dev/null || :
|
/bin/mv %{_localstatedir}/net-snmp/* %{_localstatedir}/lib/net-snmp/ &>/dev/null || :
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user