sparc multilib handling

This commit is contained in:
Dennis Gilmore 2008-05-25 15:23:28 +00:00
parent 3d21d9735f
commit 096a089f4b

View File

@ -1,13 +1,13 @@
%{!?tcp_wrappers:%define tcp_wrappers 1}
# 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
%define multilib_arches %{ix86} ia64 ppc ppc64 s390 s390x x86_64 sparc sparcv9 sparc64
%define major_ver 5.4.1
Summary: A collection of SNMP protocol tools and libraries
Name: net-snmp
Version: %{major_ver}
Release: 15%{?dist}
Release: 16%{?dist}
Epoch: 1
License: BSD and MIT
@ -174,7 +174,7 @@ and applications.
perl -pi -e "s|'\\\$install_libdir'|'%{_libdir}'|" ltmain.sh
%build
%ifarch ia64 x86_64 s390x ppc64
%ifarch ia64 x86_64 s390x ppc64 sparc64
export LDFLAGS="-L%{_libdir}"
%endif
export LIBDIR="%{_libdir}"
@ -385,6 +385,9 @@ rm -rf ${RPM_BUILD_ROOT}
%{_libdir}/lib*.so.*
%changelog
* Sun May 25 2008 Dennis Gilmore <dennis@ausil.us> 5.4.1-16
-sparc multilib handling
* Mon Apr 21 2008 Jan Safranek <jsafranek@redhat.com> 5.4.1-15
- explicitly require lm_sensor > 3 for build (#442718)
- create multilib net-snmp-config on multilib architectures only