Fix multilib header location for arm

This commit is contained in:
Honza Horák 2013-07-30 13:26:51 +02:00
parent 1fd05dc590
commit 4b58197577

View File

@ -1,6 +1,6 @@
Name: community-mysql Name: community-mysql
Version: 5.5.32 Version: 5.5.32
Release: 10%{?dist} Release: 11%{?dist}
Summary: MySQL client programs and shared libraries Summary: MySQL client programs and shared libraries
Group: Applications/Databases Group: Applications/Databases
@ -396,7 +396,7 @@ find $RPM_BUILD_ROOT -print | sed "s|^$RPM_BUILD_ROOT||" | sort > ROOTFILES
# multilib header hacks # multilib header hacks
# we only apply this to known Red Hat multilib arches, per bug #181335 # we only apply this to known Red Hat multilib arches, per bug #181335
case `uname -i` in case `uname -i` in
i386 | x86_64 | ppc | ppc64 | ppc64p7 | s390 | s390x | sparc | sparc64 | arm* | aarch64 ) i386 | x86_64 | ppc | ppc64 | ppc64p7 | s390 | s390x | sparc | sparc64 | aarch64 )
mv $RPM_BUILD_ROOT%{_includedir}/mysql/my_config.h $RPM_BUILD_ROOT%{_includedir}/mysql/my_config_`uname -i`.h mv $RPM_BUILD_ROOT%{_includedir}/mysql/my_config.h $RPM_BUILD_ROOT%{_includedir}/mysql/my_config_`uname -i`.h
install -m 644 %{SOURCE5} $RPM_BUILD_ROOT%{_includedir}/mysql/ install -m 644 %{SOURCE5} $RPM_BUILD_ROOT%{_includedir}/mysql/
;; ;;
@ -729,6 +729,9 @@ rm -f ${RPM_BUILD_ROOT}%{_datadir}/mysql/solaris/postinstall-solaris
%{_mandir}/man1/mysql_client_test.1* %{_mandir}/man1/mysql_client_test.1*
%changelog %changelog
* Tue Jul 30 2013 Honza Horak <hhorak@redhat.com> 5.5.32-11
- Fix multilib header location for arm
* Fri Jul 26 2013 Honza Horak <hhorak@redhat.com> 5.5.32-10 * Fri Jul 26 2013 Honza Horak <hhorak@redhat.com> 5.5.32-10
- Copy some generated files in order find-debuginfo.sh finds them - Copy some generated files in order find-debuginfo.sh finds them
Related: #729040 Related: #729040