3.10.0-2 - Fix ppc32 multilib handling on ppc64[be].
- Drop ppc64 secondary for ppc32 primary support. - Except for armv7hl we don't support any other arm[32] arch.
This commit is contained in:
parent
c0a743f0da
commit
f537111166
@ -3,7 +3,7 @@
|
|||||||
Summary: Tool for finding memory management bugs in programs
|
Summary: Tool for finding memory management bugs in programs
|
||||||
Name: %{?scl_prefix}valgrind
|
Name: %{?scl_prefix}valgrind
|
||||||
Version: 3.10.0
|
Version: 3.10.0
|
||||||
Release: 1%{?dist}
|
Release: 2%{?dist}
|
||||||
Epoch: 1
|
Epoch: 1
|
||||||
License: GPLv2+
|
License: GPLv2+
|
||||||
URL: http://www.valgrind.org/
|
URL: http://www.valgrind.org/
|
||||||
@ -12,12 +12,23 @@ Group: Development/Debuggers
|
|||||||
# Only necessary for RHEL, will be ignored on Fedora
|
# Only necessary for RHEL, will be ignored on Fedora
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
||||||
|
|
||||||
# Only arches that are supported upstream as multilib and that fedora
|
# Only arches that are supported upstream as multilib and that the distro
|
||||||
# has multilib builds for should set build_multilib 1.
|
# has multilib builds for should set build_multilib 1. In practice that
|
||||||
%ifarch x86_64
|
# is only x86_64 and ppc64 (but not in fedora 21 and later, and never
|
||||||
%global build_multilib 1
|
# for ppc64le).
|
||||||
%else
|
|
||||||
%global build_multilib 0
|
%global build_multilib 0
|
||||||
|
|
||||||
|
%ifarch x86_64
|
||||||
|
%global build_multilib 1
|
||||||
|
%endif
|
||||||
|
|
||||||
|
%ifarch ppc64
|
||||||
|
%if 0%{?rhel}
|
||||||
|
%global build_multilib 1
|
||||||
|
%endif
|
||||||
|
%if 0%{?fedora}
|
||||||
|
%global build_multilib (%fedora < 21)
|
||||||
|
%endif
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
# Note s390x doesn't have an openmpi port available.
|
# Note s390x doesn't have an openmpi port available.
|
||||||
@ -76,7 +87,7 @@ BuildRequires: procps
|
|||||||
|
|
||||||
%{?scl:Requires:%scl_runtime}
|
%{?scl:Requires:%scl_runtime}
|
||||||
|
|
||||||
ExclusiveArch: %{ix86} x86_64 ppc ppc64 ppc64le s390x %{arm} aarch64
|
ExclusiveArch: %{ix86} x86_64 ppc ppc64 ppc64le s390x armv7hl aarch64
|
||||||
%ifarch %{ix86}
|
%ifarch %{ix86}
|
||||||
%define valarch x86
|
%define valarch x86
|
||||||
%define valsecarch %{nil}
|
%define valsecarch %{nil}
|
||||||
@ -87,11 +98,15 @@ ExclusiveArch: %{ix86} x86_64 ppc ppc64 ppc64le s390x %{arm} aarch64
|
|||||||
%endif
|
%endif
|
||||||
%ifarch ppc
|
%ifarch ppc
|
||||||
%define valarch ppc32
|
%define valarch ppc32
|
||||||
%define valsecarch ppc64
|
%define valsecarch %{nil}
|
||||||
%endif
|
%endif
|
||||||
%ifarch ppc64
|
%ifarch ppc64
|
||||||
%define valarch ppc64
|
%define valarch ppc64be
|
||||||
%define valsecarch ppc32
|
%if %{build_multilib}
|
||||||
|
%define valsecarch ppc32
|
||||||
|
%else
|
||||||
|
%define valsecarch %{nil}
|
||||||
|
%endif
|
||||||
%endif
|
%endif
|
||||||
%ifarch ppc64le
|
%ifarch ppc64le
|
||||||
%define valarch ppc64le
|
%define valarch ppc64le
|
||||||
@ -102,11 +117,7 @@ ExclusiveArch: %{ix86} x86_64 ppc ppc64 ppc64le s390x %{arm} aarch64
|
|||||||
%define valsecarch %{nil}
|
%define valsecarch %{nil}
|
||||||
%endif
|
%endif
|
||||||
%ifarch armv7hl
|
%ifarch armv7hl
|
||||||
%define valarch armv7hl
|
%define valarch arm
|
||||||
%define valsecarch %{nil}
|
|
||||||
%endif
|
|
||||||
%ifarch armv5tel
|
|
||||||
%define valarch armv5tel
|
|
||||||
%define valsecarch %{nil}
|
%define valsecarch %{nil}
|
||||||
%endif
|
%endif
|
||||||
%ifarch aarch64
|
%ifarch aarch64
|
||||||
@ -217,11 +228,7 @@ pushd $RPM_BUILD_ROOT%{_libdir}/valgrind/
|
|||||||
rm -f *-%{valsecarch}-* || :
|
rm -f *-%{valsecarch}-* || :
|
||||||
for i in *-%{valarch}-*; do
|
for i in *-%{valarch}-*; do
|
||||||
j=`echo $i | sed 's/-%{valarch}-/-%{valsecarch}-/'`
|
j=`echo $i | sed 's/-%{valarch}-/-%{valsecarch}-/'`
|
||||||
%ifarch ppc
|
|
||||||
ln -sf ../../lib64/valgrind/$j $j
|
|
||||||
%else
|
|
||||||
ln -sf ../../lib/valgrind/$j $j
|
ln -sf ../../lib/valgrind/$j $j
|
||||||
%endif
|
|
||||||
done
|
done
|
||||||
popd
|
popd
|
||||||
%endif
|
%endif
|
||||||
@ -301,6 +308,11 @@ echo ===============END TESTING===============
|
|||||||
%endif
|
%endif
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Fri Sep 12 2014 Mark Wielaard <mjw@redhat.com> - 3.10.0-2
|
||||||
|
- Fix ppc32 multilib handling on ppc64[be].
|
||||||
|
- Drop ppc64 secondary for ppc32 primary support.
|
||||||
|
- Except for armv7hl we don't support any other arm[32] arch.
|
||||||
|
|
||||||
* Thu Sep 11 2014 Mark Wielaard <mjw@redhat.com> - 3.10.0-1
|
* Thu Sep 11 2014 Mark Wielaard <mjw@redhat.com> - 3.10.0-1
|
||||||
- Update to 3.10.0 final.
|
- Update to 3.10.0 final.
|
||||||
- Remove valgrind-3.10-configure-glibc-2.20.patch fixed upstream.
|
- Remove valgrind-3.10-configure-glibc-2.20.patch fixed upstream.
|
||||||
|
Loading…
Reference in New Issue
Block a user