2 |
%define name %{cross_prefix}glibc |
%define name %{cross_prefix}glibc |
3 |
|
|
4 |
# <epoch>:<version>-<release> tags for glibc main package |
# <epoch>:<version>-<release> tags for glibc main package |
5 |
%define glibcversion 2.16 |
%define glibcversion 2.16_WIP_DO_NOT_SUBMIT |
6 |
%define __glibcrelease 1 |
%define __glibcrelease 1.1 |
7 |
%define glibcepoch 6 |
%define glibcepoch 6 |
8 |
|
|
9 |
# CVS snapshots of glibc |
# CVS snapshots of glibc |
158 |
%endif |
%endif |
159 |
|
|
160 |
# Red Hat tarball |
# Red Hat tarball |
|
Source2: glibc-redhat.tar.bz2 |
|
161 |
Source3: glibc-manpages.tar.bz2 |
Source3: glibc-manpages.tar.bz2 |
162 |
Source4: glibc-find-requires.sh |
Source4: glibc-find-requires.sh |
163 |
Source5: glibc-check.sh |
Source5: glibc-check.sh |
198 |
%endif |
%endif |
199 |
BuildRequires: patch, gettext, perl |
BuildRequires: patch, gettext, perl |
200 |
BuildRequires: kernel-userspace-headers |
BuildRequires: kernel-userspace-headers |
201 |
|
BuildRequires: hardlink |
202 |
%if %{build_selinux} |
%if %{build_selinux} |
203 |
BuildRequires: libselinux-devel >= 1.17.10 |
BuildRequires: libselinux-devel >= 1.17.10 |
204 |
%endif |
%endif |
531 |
%endif |
%endif |
532 |
|
|
533 |
%prep |
%prep |
534 |
%setup -q -n %{source_dir} -a 3 -a 2 -a 16 |
%setup -q -n %{source_dir} -a 3 -a 16 |
535 |
|
|
536 |
%patch00 -p1 -b .localedef-archive-follow-symlinks |
%patch00 -p1 -b .localedef-archive-follow-symlinks |
537 |
%patch01 -p1 -b .fhs |
%patch01 -p1 -b .fhs |
1158 |
|
|
1159 |
# Hardlink identical locale files together |
# Hardlink identical locale files together |
1160 |
%if %{build_i18ndata} |
%if %{build_i18ndata} |
1161 |
gcc -O2 -o build-%{target_cpu}-linux/hardlink redhat/hardlink.c |
%{_sbindir}/hardlink -vc $RPM_BUILD_ROOT%{_datadir}/locale |
|
build-%{target_cpu}-linux/hardlink -vc $RPM_BUILD_ROOT%{_datadir}/locale |
|
1162 |
%endif |
%endif |
1163 |
|
|
1164 |
rm -rf $RPM_BUILD_ROOT%{_includedir}/netatalk/ |
rm -rf $RPM_BUILD_ROOT%{_includedir}/netatalk/ |