Arm support for multilib hacks
This commit is contained in:
parent
affa9444c5
commit
99dcbef753
@ -1,6 +1,6 @@
|
|||||||
Name: community-mysql
|
Name: community-mysql
|
||||||
Version: 5.5.32
|
Version: 5.5.32
|
||||||
Release: 6%{?dist}
|
Release: 7%{?dist}
|
||||||
|
|
||||||
Summary: MySQL client programs and shared libraries
|
Summary: MySQL client programs and shared libraries
|
||||||
Group: Applications/Databases
|
Group: Applications/Databases
|
||||||
@ -387,10 +387,14 @@ 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 )
|
i386 | x86_64 | ppc | ppc64 | ppc64p7 | s390 | s390x | sparc | sparc64 | arm* | 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/
|
||||||
;;
|
;;
|
||||||
|
arm* )
|
||||||
|
mv $RPM_BUILD_ROOT%{_includedir}/mysql/my_config.h $RPM_BUILD_ROOT%{_includedir}/mysql/my_config_arm.h
|
||||||
|
install -m 644 %{SOURCE5} $RPM_BUILD_ROOT%{_includedir}/mysql/
|
||||||
|
;;
|
||||||
*)
|
*)
|
||||||
;;
|
;;
|
||||||
esac
|
esac
|
||||||
@ -716,6 +720,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
|
||||||
|
* Wed Jul 10 2013 Honza Horak <hhorak@redhat.com> 5.5.32-7
|
||||||
|
- Arm support for multilib hacks
|
||||||
|
|
||||||
* Tue Jul 9 2013 Honza Horak <hhorak@redhat.com> 5.5.32-6
|
* Tue Jul 9 2013 Honza Horak <hhorak@redhat.com> 5.5.32-6
|
||||||
- Use proper path to ldconfig
|
- Use proper path to ldconfig
|
||||||
- Use xz instead of gzip
|
- Use xz instead of gzip
|
||||||
|
@ -26,4 +26,8 @@
|
|||||||
#include "my_config_sparc64.h"
|
#include "my_config_sparc64.h"
|
||||||
#elif defined(__sparc__)
|
#elif defined(__sparc__)
|
||||||
#include "my_config_sparc.h"
|
#include "my_config_sparc.h"
|
||||||
|
#elif defined(__arm__)
|
||||||
|
#include "my_config_arm.h"
|
||||||
|
#elif defined(__aarch64__)
|
||||||
|
#include "my_config_aarch64.h"
|
||||||
#endif
|
#endif
|
||||||
|
Loading…
Reference in New Issue
Block a user