Add x86_64-only static libraries to static-devel package

This commit is contained in:
Andrey Bondrov 2016-09-01 17:56:14 +10:00
parent 3404e089cb
commit 26d67b8fe1

View file

@ -396,7 +396,7 @@ Linux system will not function.
%endif %endif
#----------------------------------------------------------------------- #-----------------------------------------------------------------------
%package devel %package devel
Summary: Header and object files for development using standard C libraries Summary: Header and object files for development using standard C libraries
Group: Development/C Group: Development/C
Requires: %{name} = %{EVRD} Requires: %{name} = %{EVRD}
@ -411,7 +411,7 @@ Provides: eglibc-crypt_blowfish-devel = %{crypt_bf_ver}
%rename glibc-doc-pdf %rename glibc-doc-pdf
%endif %endif
%description devel %description devel
The glibc-devel package contains the header and object files necessary The glibc-devel package contains the header and object files necessary
for developing programs which use the standard C libraries (which are for developing programs which use the standard C libraries (which are
used by nearly all programs). If you are developing programs which used by nearly all programs). If you are developing programs which
@ -419,7 +419,7 @@ will use the standard C libraries, your system needs to have these
standard header and object files available in order to create the standard header and object files available in order to create the
executables. executables.
%files devel %files devel
%{_mandir}/man3/* %{_mandir}/man3/*
%{_infodir}/libc.info* %{_infodir}/libc.info*
%doc %{_docdir}/glibc/* %doc %{_docdir}/glibc/*
@ -448,24 +448,28 @@ executables.
%endif %endif
#----------------------------------------------------------------------- #-----------------------------------------------------------------------
%package static-devel %package static-devel
Summary: Static libraries for GNU C library Summary: Static libraries for GNU C library
Group: Development/C Group: Development/C
Requires: %{name}-devel = %{EVRD} Requires: %{name}-devel = %{EVRD}
%description static-devel %description static-devel
The glibc-static-devel package contains the static libraries necessary The glibc-static-devel package contains the static libraries necessary
for developing programs which use the standard C libraries. Install for developing programs which use the standard C libraries. Install
glibc-static-devel if you need to statically link your program or glibc-static-devel if you need to statically link your program or
library. library.
%files static-devel %files static-devel
%{_libdir}/libBrokenLocale.a %{_libdir}/libBrokenLocale.a
%{_libdir}/libanl.a %{_libdir}/libanl.a
%{_libdir}/libc.a %{_libdir}/libc.a
%{_libdir}/libcrypt.a %{_libdir}/libcrypt.a
%{_libdir}/libdl.a %{_libdir}/libdl.a
%{_libdir}/libm.a %{_libdir}/libm.a
%ifarch x86_64
%{_libdir}/libmvec.a
%{_libdir}/libmvec_nonshared.a
%endif
%{_libdir}/libnsl.a %{_libdir}/libnsl.a
%{_libdir}/libpthread.a %{_libdir}/libpthread.a
%{_libdir}/libresolv.a %{_libdir}/libresolv.a