sparc multilib handling
This commit is contained in:
parent
3d21d9735f
commit
096a089f4b
@ -1,13 +1,13 @@
|
|||||||
%{!?tcp_wrappers:%define tcp_wrappers 1}
|
%{!?tcp_wrappers:%define tcp_wrappers 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
|
%define multilib_arches %{ix86} ia64 ppc ppc64 s390 s390x x86_64 sparc sparcv9 sparc64
|
||||||
%define major_ver 5.4.1
|
%define major_ver 5.4.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
|
||||||
Version: %{major_ver}
|
Version: %{major_ver}
|
||||||
Release: 15%{?dist}
|
Release: 16%{?dist}
|
||||||
Epoch: 1
|
Epoch: 1
|
||||||
|
|
||||||
License: BSD and MIT
|
License: BSD and MIT
|
||||||
@ -174,7 +174,7 @@ and applications.
|
|||||||
perl -pi -e "s|'\\\$install_libdir'|'%{_libdir}'|" ltmain.sh
|
perl -pi -e "s|'\\\$install_libdir'|'%{_libdir}'|" ltmain.sh
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%ifarch ia64 x86_64 s390x ppc64
|
%ifarch ia64 x86_64 s390x ppc64 sparc64
|
||||||
export LDFLAGS="-L%{_libdir}"
|
export LDFLAGS="-L%{_libdir}"
|
||||||
%endif
|
%endif
|
||||||
export LIBDIR="%{_libdir}"
|
export LIBDIR="%{_libdir}"
|
||||||
@ -385,6 +385,9 @@ rm -rf ${RPM_BUILD_ROOT}
|
|||||||
%{_libdir}/lib*.so.*
|
%{_libdir}/lib*.so.*
|
||||||
|
|
||||||
%changelog
|
%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
|
* Mon Apr 21 2008 Jan Safranek <jsafranek@redhat.com> 5.4.1-15
|
||||||
- explicitly require lm_sensor > 3 for build (#442718)
|
- explicitly require lm_sensor > 3 for build (#442718)
|
||||||
- create multilib net-snmp-config on multilib architectures only
|
- create multilib net-snmp-config on multilib architectures only
|
||||||
|
Loading…
Reference in New Issue
Block a user