%define debug_package %{nil} %global pkgrelease 42.1 Summary: The GNU libc 32-bit libraries. Name: glibc32 Version: 2.28 Release: %{pkgrelease}%{?dist} License: LGPL Source: glibc32-%{version}-%{pkgrelease}.tar.bz2 ExclusiveArch: x86_64 %description The glibc package contains standard libraries which are used by multiple programs on the system. In order to save disk space and memory, as well as to make upgrading easier, common system code is kept in one place and shared between programs. This particular package contains the most important sets of shared libraries: the standard C library and the standard math library. Without these two libraries, a Linux system will not function. %prep %setup %build %install cp -a %{_target_cpu}/* $RPM_BUILD_ROOT/ %post -p /sbin/ldconfig %postun -p /sbin/ldconfig %files /lib/* /usr/lib/* /usr/include/* %changelog * Sun May 12 2019 brian@bstinson.com - 2.28-42.1 - Added some things from /lib * Sun May 12 2019 brian@bstinson.com - 2.28-42 - Adapted from Fedora's glibc32 package: https://src.fedoraproject.org/rpms/glibc32/tree/74c2744f44def24f5911291159547e77352641a2