Source8: glibc_post_upgrade.c
Source9: glibc.rpmlintrc
Source10: baselibs.conf
-# For systemd
+# For systemd
Source1001: glibc.manifest
Requires(pre): filesystem
versions of your software.
%prep
-%setup -n glibc-%{version} -q
+%setup -n glibc-%{version} -q
cp %{SOURCE1001} .
%build
mv %{buildroot}%{_bindir}/getconf %{buildroot}%{_libexecdir}/getconf/getconf
ln -s %{_libexecdir}/getconf/getconf %{buildroot}%{_bindir}/getconf
+# Migrate to one single lib64
+%ifarch aarch64
+mv %{buildroot}/lib/* %{buildroot}/%{_lib}/
+rm -rf %{buildroot}/lib
+# (cd %{buildroot} && ln -sfn %{_lib} lib)
+%endif
+
#######################################################################
###
### ...
/%{_lib}/ld-linux.so.2
%endif
%ifarch aarch64
-/lib/ld-linux-aarch64.so.1
/%{_lib}/ld-linux-aarch64.so.1
%endif
%defattr(-,root,root)
%{_datadir}/locale/locale.alias
%if %{build_locales}
-/usr/lib/locale/*
+%{_libdir}/locale/*
%endif
%{_libdir}/gconv
%files devel
%manifest %{name}.manifest
%defattr(-,root,root)
-%license COPYING COPYING.LIB
+%license COPYING COPYING.LIB
%doc NEWS README BUGS CONFORMANCE
%{_bindir}/rpcgen
%{_includedir}/*