2 # spec file for package glibc
4 # Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany.
6 # All modifications and additions to the file contributed by third parties
7 # remain the property of their copyright owners, unless otherwise agreed
8 # upon. The license for this file, and modifications and additions to the
9 # file, is the same license as for the pristine package itself (unless the
10 # license for the pristine package is not an Open Source License, in which
11 # case the license is the MIT License). An "Open Source License" is a
12 # license that conforms to the Open Source Definition (Version 1.9)
13 # published by the Open Source Initiative.
16 %define glibc_run_tests 1
19 %if 0%{?dump_configure}
20 %define glibc_dump_configure 1
23 # This will avoid building some parts of glibc
24 %define asan_arch x86_64 armv7l aarch64
25 %bcond_with fast_build
27 Summary: Standard Shared Libraries (from the GNU C Library)
28 License: LGPL-2.1+ and LGPL-2.1+-with-GCC-exception and GPL-2.0+
31 BuildRequires: makeinfo
33 BuildRequires: gcc-c++
34 BuildRequires: gettext-tools
35 BuildRequires: libstdc++-devel
37 BuildRequires: python3-base
40 #BuildRequires: python
41 BuildRequires: glibc-devel-static
44 %if 0%{?glibc_dump_configure}
45 BuildRequires: configure-dumper
47 #BuildRequires: pkgconfig(systemd)
48 %define _filter_GLIBC_PRIVATE 1
49 %if %_target_cpu == "i686"
50 # For i686 let's only build what's different from i586, so
51 # no need to build documentation
52 %define build_profile 1
53 %define build_locales 0
56 %if %{with fast_build}
57 %define build_profile 0
58 %define build_locales 0
62 %define build_profile 1
63 %define build_locales 0
68 %define disable_assert 0
69 %define enable_stackguard_randomization 1
70 %define multiarcharches %{ix86} x86_64
73 %define enablekernel 2.6.16
75 %define enablekernel 2.6.16
77 Conflicts: kernel < %{enablekernel}
78 %ifarch armv7l armv7hl
79 # The old runtime linker link gets not provided by rpm find.provides, but it exists
80 Provides: ld-linux.so.3
81 Provides: ld-linux.so.3(GLIBC_2.4)
85 %define glibc_major_version %{version}
86 %define git_id 0a8262a1b2
88 Url: http://www.gnu.org/software/libc/libc.html
89 Source: glibc-%{version}.tar.xz
90 Source5: nsswitch.conf
91 Source7: bindresvport.blacklist
92 Source8: glibc_post_upgrade.c
93 Source9: glibc.rpmlintrc
94 Source10: baselibs.conf
96 Source1001: glibc.manifest
98 Requires(pre): filesystem
99 Provides: rtld(GNU_HASH)
102 The GNU C Library provides the most important standard libraries used
103 by nearly all programs: the standard C library, the standard math
104 library, and the POSIX thread library. A system is not functional
105 without these libraries.
108 Summary: Info Files for the GNU C Library
114 This package contains the documentation for the GNU C library stored as
115 info files. Due to a lack of resources, this documentation is not
116 complete and is partially out of date.
119 Summary: HTML Documentation for the GNU C Library
125 This package contains the HTML documentation for the GNU C library. Due
126 to a lack of resources, this documentation is not complete and is
127 partially out of date.
130 Summary: Database Sources for 'locale'
131 License: GPL-2.0+ and MIT
132 Group: Base/Libraries
135 %description i18ndata
136 This package contains the data needed to build the locale data files to
137 use the internationalization features of the GNU libc. It is normally
138 not necessary to install this packages, the data files are already
142 Summary: Locale Data for Localized Programs
143 License: GPL-2.0+ and MIT and LGPL-2.1+
144 Requires(post): /usr/bin/cat
145 Requires: glibc = %{version}
147 Locale data for the internationalisation features of the GNU C library.
150 Summary: Libc Profiling and Debugging Versions
151 License: LGPL-2.1+ and LGPL-2.1+-with-GCC-exception and GPL-2.0+
152 Group: Base/Utilities
153 Requires: glibc = %{version}
156 This package contains special versions of the GNU C library which are
157 necessary for profiling and debugging.
160 Summary: Include Files and Libraries Mandatory for Development
161 License: BSD-3-Clause and LGPL-2.1+ and LGPL-2.1+-with-GCC-exception and GPL-2.0+
162 Requires: glibc = %{version}
163 Requires: linux-kernel-headers
166 These libraries are needed to develop programs which use the standard C
169 %package devel-static
170 Summary: C library static libraries for -static linking
171 License: BSD-3-Clause and LGPL-2.1+ and LGPL-2.1+-with-GCC-exception and GPL-2.0+
172 Requires: %{name}-devel = %{version}
173 # Provide Fedora name for package to make packaging easier
174 Provides: %{name}-static = %version
176 %description devel-static
177 The glibc-devel-static package contains the C library static libraries
178 for -static linking. You don't need these, unless you link statically,
179 which is highly discouraged.
182 Summary: Development utilities from GNU C library
184 Requires: glibc = %{version}
186 %description devel-utils
187 The glibc-devel-utils package contains various binaries which can be helpful during program
190 If you are unsure if you need this, don't install this package.
193 Summary: Extra binaries from GNU C Library
195 Requires: glibc = %{version}
198 The glibc-extra package contains some extra binaries for glibc that
199 are not essential but recommend to use.
201 makedb: A program to create a database for nss
204 Summary: Obsolete Shared Libraries from the GNU C Library
206 Requires: glibc = %{version}
208 %description obsolete
209 This package provides some old libraries from the GNU C Library which
210 are no longer supported. Additional it provides a compatibility library
211 for old binaries linked against glibc 2.0.
213 Install this package if you need one of this libraries to get old
214 binaries working, but since this libraries are not supported and there
215 is no gurantee that they work for you, you should try to get newer
216 versions of your software.
219 Summary: Testsuite results
221 Group: Development/Languages
222 %description testresults
223 Results from running the glibc testsuites.
228 Summary: glibc with ASan instrumentation
229 License: LGPL-2.1+ and LGPL-2.1+-with-GCC-exception and GPL-2.0+
230 Requires: glibc = %{version}
233 This package provides glibc with ASan instrumentation
236 ln -s --force /%{_lib}/libc-2.24-asan.so /%{_lib}/libc.so.6
239 ln -s --force /%{_lib}/libc-2.24.so /%{_lib}/libc.so.6
244 %{?glibc_dump_configure:
245 %package configure-dump
246 Summary: GNU Glibc configure dump
248 Group: Development/Languages
249 %description configure-dump
250 This package contains dump of configure variables of Glibc
254 %setup -n glibc-%{version} -q
258 %{?asan:%gcc_unforce_options}
259 if [ -x /bin/uname.bin ]; then
267 # We do not want configure to figure out the system its building one
268 # to support a common ground and thus set build and host to the
271 %define target %{_target_cpu}-tizen-linux-gnueabi
273 %define target %{_target_cpu}-tizen-linux
275 # Don't use as-needed, it breaks glibc assumptions
276 # Before enabling it, run the testsuite and verify that it
278 export LD_AS_NEEDED=0
279 # Adjust glibc version.h
280 echo "#define CONFHOST \"%{target}\"" >> version.h
281 echo "#define GITID \"%{git_id}\"" >> version.h
283 # Default CFLAGS and Compiler
285 BuildFlags=$(echo %{optflags} | sed -e "s/-Wp,-D_FORTIFY_SOURCE=2//g" | sed -e "s/-ffast-math//" | sed -e "s/atom/i686/g" | sed -e "s/-fexceptions//" | sed -e "s/-fno-omit-frame-pointer//" )
286 BuildFlags="$BuildFlags -O2 -g -U_FORTIFY_SOURCE"
287 BuildFlags="$(echo $BuildFlags | sed -e 's#-ffortify=[0-9]*##')"
288 BuildFlags="$(echo $BuildFlags | sed -e 's#-fstack-protector-strong##')"
289 BuildFlags="$(echo $BuildFlags | sed -e 's#-fstack-protector##')"
290 BuildFlags="$(echo $BuildFlags | sed -e 's/-Wa,-mimplicit-it=thumb//g' | sed -e 's/-mthumb//g')"
291 # Turn off all -Wformat enable flags as there are glibc tests that explicitly
292 # append -Wno-format and with enabled Wformat options that produced warnings
293 # that turns into errors. Remove -Wformat=1|2 or -Wformat-..-arg
294 BuildFlags="$(echo $BuildFlags | sed -re 's/-Wformat((=[1-2])|((-\w+)+))?(\s|$)//g')"
297 # Support DA build with armv8 cpu in 32bit mode: prevent Werror on sqrt function
298 (echo ${BuildFlags} | grep '\-march=armv8') && BuildFlags="${BuildFlags} -Wno-error=unused-variable"
305 BuildFlags="$BuildFlags -g"
308 # Glibc must have both functions' implementations
309 BuildFlags="$BuildFlags -U_LARGEFILE_SOURCE -U_LARGEFILE64_SOURCE -U_FILE_OFFSET_BITS"
311 %if %{disable_assert}
312 BuildFlags="$BuildFlags -DNDEBUG=1"
321 # fails to build otherwise - need to recheck and fix
322 %define enable_stackguard_randomization 0
325 configure_and_build_glibc() {
326 local dirname="$1"; shift
327 local cflags="$1"; shift
328 local addons="$1"; shift
331 conf_cflags="$cflags -funwind-tables -fPIC"
332 %{?asan: conf_cflags="$conf_cflags -DASAN_INIT_FIRST"}
333 %{?glibc_dump_configure:patch_configure.pl ..}
334 profile="--disable-profile"
336 if [ "$dirname" = "base" ] ; then
337 profile="--enable-profile"
340 CFLAGS="$conf_cflags" BUILD_CFLAGS="$conf_cflags" \
341 CC="$BuildCC" CXX="$BuildCCplus" ../configure \
342 --prefix=%{_prefix} \
343 --libexecdir=%{_libexecdir} --infodir=%{_infodir} \
344 --enable-add-ons=$addons \
347 %if %{enable_stackguard_randomization}
348 --enable-stackguard-randomization \
350 --build=%{target} --host=%{target} \
351 %ifnarch %{multiarcharches}
352 --disable-multi-arch \
354 %ifarch %{ix86} x86_64
357 --enable-kernel=%{enablekernel} \
358 --enable-bind-now --enable-obsolete-rpc \
360 --disable-experimental-malloc \
361 libc_cv_cc_pie_default=yes
362 # explicitly set CFLAGS to use the full CFLAGS (not the reduced one for configure)
363 make %{?_smp_mflags} #CFLAGS="$cflags" BUILD_CFLAGS="$cflags"
364 %{?glibc_dump_configure:
365 dump_configure.pl .. . \
367 --project-version %{version} \
368 --out_db glibc-%{version}-%{release}-%_project-%_repository.db
373 configure_flags="--prefix=/usr --without-cvs --without-selinux --enable-stackguard-randomization --enable-obsolete-rpc --disable-mathvec"
375 configure_flags="$configure_flags --disable-sanity-checks"
378 HERE=%{_builddir}/%{name}-%{version}
381 ASAN_BUILD=$HERE/asan-build
386 # Glibc must have both functions' implementations
387 CPPFLAGS="-U_LARGEFILE_SOURCE -U_LARGEFILE64_SOURCE -U_FILE_OFFSET_BITS"
390 #chmod +x $HERE/asan-glibc-gcc-wrapper.py
391 #build static wrapper, because we don't want asan to intercept allocators
392 g++ -o gcc-wrapper gcc-wrapper.cc -O3 -funroll-loops -fno-unwind-tables -fno-asynchronous-unwind-tables -fno-exceptions -static
397 # CC=$HERE/asan-glibc-gcc-wrapper.py $GLIBC/configure $configure_flags
399 CC=$HERE/gcc-wrapper $GLIBC/configure $configure_flags
401 # Quick build - builds only libraries, but does not create symlinks.
402 make -r -j $J -C $GLIBC objdir=`pwd` subdir_lib
403 #make -r -j $J -C $GLIBC objdir=`pwd` install_root=$ASAN_INST install-lib
410 configure_and_build_glibc base "$BuildFlags" "$add_ons"
418 # Build html documentation
425 # Build glibc_post_upgrade binary
427 $BuildCC -static %{optflags} -Os $RPM_SOURCE_DIR/glibc_post_upgrade.c -o glibc_post_upgrade \
428 -Lcc-base -Bcc-base/csu \
429 '-DREMOVE_TLS_DIRS' '-DREMOVE_PPC_OPTIMIZE_POWER5' \
430 '-DLIBDIR="/%{_lib}"' '-DGCONV_MODULES_DIR="%{_libdir}/gconv"'
435 # #check sections could be redefined/disabled, so keep this inside #build
438 export LD_AS_NEEDED=0
439 (make %{?_smp_mflags} -C cc-base check || true) 2>&1 | tee check.log
443 #######################################################################
447 #######################################################################
450 # The testsuite will fail if asneeded is used
451 export LD_AS_NEEDED=0
452 # This has to pass on all platforms!
455 make %{?_smp_mflags} -C cc-base check-abi
457 #######################################################################
461 #######################################################################
464 # We don't want to strip the .symtab from our libraries in find-debuginfo.sh,
465 # certainly not from libpthread.so.* because it is used by libthread_db to find
466 # some non-exported symbols in order to detect if threading support
467 # should be enabled. These symbols are _not_ exported, and we can't easily
468 # export them retroactively without changing the ABI. So we have to
469 # continue to "export" them via .symtab, instead of .dynsym :-(
470 # But we also want to keep .symtab and .strtab of other libraries since some
471 # debugging tools currently require these sections directly inside the main
472 # files - specifically valgrind and PurifyPlus.
473 export STRIP_KEEP_SYMTAB=*.so*
475 # Make sure we will create the gconv-modules.cache
476 mkdir -p %{buildroot}%{_libdir}/gconv
477 touch %{buildroot}%{_libdir}/gconv/gconv-modules.cache
480 make %{?_smp_mflags} install_root=%{buildroot} install -C cc-base
482 %{?glibc_dump_configure:
483 install -D -m 0644 cc-base/glibc-%{version}-%{release}-%_project-%_repository.db %{buildroot}%{_datadir}/glibc-%{version}-%{release}-%_project-%_repository.db
486 install_optimized_variant() {
487 local dirname="$1"; shift
488 local subdir="$1"; shift
489 local subdir_up="$1"; shift
492 destdir=$RPM_BUILD_ROOT/%{_lib}/$subdir
494 # Don't run a complete make install, we know which libraries
496 for lib in libc math/libm nptl/libpthread rt/librt nptl_db/libthread_db
499 libbaseso=$(basename $RPM_BUILD_ROOT/%{_lib}/${libbase}-*.so)
500 # Only install if different from base lib
501 if cmp -s ${lib}.so ../cc-base/${lib}.so; then
502 ln -sf $subdir_up/$libbaseso $destdir/$libbaseso
504 cp -a ${lib}.so $destdir/$libbaseso
507 ln -sf $libbaseso $destdir/$(basename $RPM_BUILD_ROOT/%{_lib}/${libbase}.so.*)
515 # XXX Do not install locales in parallel!
517 # localedef creates hardlinks to other locales if possible
518 # this will not work if we generate them in parallel.
519 # thus we need to run fdupes on /usr/lib/locale/
520 # Still, on my system this is a speed advantage:
521 # non-parallel build for install-locales: 9:34mins
522 # parallel build with fdupes: 7:08mins
523 make %{?_smp_mflags} install_root=%{buildroot} localedata/install-locales
524 %fdupes %{buildroot}/usr/lib/locale
527 # Create file list for glibc-locale package
530 # Prepare obsolete/, used only on some architectures:
531 export RPM_BUILD_ROOT
533 mkdir -p %{buildroot}/%{_lib}/obsolete
536 # NPTL <bits/stdio-lock.h> is not usable outside of glibc, so include
537 # the generic one (RH#162634)
538 # cp -av bits/stdio-lock.h %{buildroot}%{_includedir}/bits/stdio-lock.h
543 install -m 0700 glibc_post_upgrade %{buildroot}%{_sbindir}
545 install -m 644 %{SOURCE7} %{buildroot}/etc
546 install -m 644 %{SOURCE5} %{buildroot}/etc
547 install -m 644 posix/gai.conf %{buildroot}/etc
549 mkdir -p %{buildroot}/etc/default
550 install -m 644 nis/nss %{buildroot}/etc/default/
552 mkdir -p %{buildroot}%{_includedir}/resolv
553 install -m 0644 resolv/mapv4v6addr.h %{buildroot}%{_includedir}/resolv/
554 install -m 0644 resolv/mapv4v6hostent.h %{buildroot}%{_includedir}/resolv/
557 mkdir -p %{buildroot}%{_datadir}/doc/glibc
558 cp -p cc-base/manual/libc/*.html %{buildroot}%{_datadir}/doc/glibc
565 cat > %{buildroot}/etc/ld.so.conf <<EOF
566 %if "%{_lib}" == "lib64"
570 include /etc/ld.so.conf.d/*.conf
571 # /lib64, /lib, /usr/lib64 and /usr/lib gets added
572 # automatically by ldconfig after parsing this file.
573 # So, they do not need to be listed.
575 # Add ldconfig cache directory for directory ownership
576 mkdir -p %{buildroot}/var/cache/ldconfig
577 # Empty the ld.so.cache:
578 rm -f %{buildroot}/etc/ld.so.cache
579 touch %{buildroot}/etc/ld.so.cache
581 # Don't look at ldd! We don't wish a /bin/sh requires
582 chmod 644 %{buildroot}%{_bindir}/ldd
584 # Remove timezone data, now coming in standalone package:
585 for i in sbin/sln usr/bin/tzselect usr/sbin/zic usr/sbin/zdump etc/localtime; do
586 rm -f %{buildroot}/$i
588 rm -rf %{buildroot}%{_datadir}/zoneinfo
591 # Provide compatibility link
592 ln -s ld-%{glibc_major_version}.so %{buildroot}/lib/ld-linux.so.3
595 # Move getconf to %{_libexecdir}/getconf/ to avoid cross device link
596 mv %{buildroot}%{_bindir}/getconf %{buildroot}%{_libexecdir}/getconf/getconf
597 ln -s %{_libexecdir}/getconf/getconf %{buildroot}%{_bindir}/getconf
599 #######################################################################
603 #######################################################################
607 HERE=%{_builddir}/%{name}-%{version}
609 ASAN_BUILD=$HERE/asan-build
610 cp $ASAN_BUILD/libc.so %{buildroot}/%{_lib}/libc-2.24-asan.so
616 cp --parents $(find cc-base -name "*tests.sum") testresults/
617 cp check.log testresults/
618 chmod 644 $(find testresults/ -type f)
621 %post -p %{_sbindir}/glibc_post_upgrade
623 %postun -p /sbin/ldconfig
626 for l in /usr/share/locale/locale.alias %{_libdir}/gconv/gconv-modules; do
627 [ -d "$l.d" ] || continue
628 echo "###X# The following is autogenerated from extra files in the .d directory:" >>"$l"
631 /usr/sbin/iconvconfig
634 %install_info --info-dir=%{_infodir} %{_infodir}/libc.info.gz
637 %install_info_delete --info-dir=%{_infodir} %{_infodir}/libc.info.gz
640 %manifest %{name}.manifest
642 %defattr(-,root,root)
643 %license LICENSES COPYING COPYING.LIB
644 %config(noreplace) /etc/bindresvport.blacklist
645 %config /etc/ld.so.conf
646 %attr(0644,root,root) %verify(not md5 size mtime) %ghost %config(missingok,noreplace) /etc/ld.so.cache
647 %config(noreplace) /etc/rpc
648 %verify(not md5 size mtime) %config(noreplace) /etc/nsswitch.conf
649 %verify(not md5 size mtime) %config(noreplace) /etc/gai.conf
650 %config(noreplace) /etc/default/nss
651 /%{_lib}/ld-%{glibc_major_version}.so
653 # Each architecture has a different name for the dynamic linker:
656 /%{_lib}/ld-linux-armhf.so.3
657 # Keep compatibility link
658 /%{_lib}/ld-linux.so.3
660 /%{_lib}/ld-linux.so.3
664 /%{_lib}/ld-linux-x86-64.so.2
667 /%{_lib}/ld-linux.so.2
670 /lib/ld-linux-aarch64.so.1
671 /%{_lib}/ld-linux-aarch64.so.1
674 /%{_lib}/libanl-%{glibc_major_version}.so
676 /%{_lib}/libc-%{glibc_major_version}.so
678 /%{_lib}/libcrypt-%{glibc_major_version}.so
679 /%{_lib}/libcrypt.so.1
680 /%{_lib}/libdl-%{glibc_major_version}.so
682 /%{_lib}/libm-%{glibc_major_version}.so
684 /%{_lib}/libnsl-%{glibc_major_version}.so
686 /%{_lib}/libnss_compat-%{glibc_major_version}.so
687 /%{_lib}/libnss_compat.so.2
688 /%{_lib}/libnss_db-%{glibc_major_version}.so
689 /%{_lib}/libnss_db.so.2
690 /%{_lib}/libnss_dns-%{glibc_major_version}.so
691 /%{_lib}/libnss_dns.so.2
692 /%{_lib}/libnss_files-%{glibc_major_version}.so
693 /%{_lib}/libnss_files.so.2
694 /%{_lib}/libnss_optfiles-%{glibc_major_version}.so
695 /%{_lib}/libnss_optfiles.so.2
696 /%{_lib}/libnss_hesiod-%{glibc_major_version}.so
697 /%{_lib}/libnss_hesiod.so.2
698 /%{_lib}/libpthread-%{glibc_major_version}.so
699 /%{_lib}/libpthread.so.0
700 /%{_lib}/libthread_db-1.0.so
701 /%{_lib}/libthread_db.so.1
702 /%{_lib}/libresolv-%{glibc_major_version}.so
703 /%{_lib}/libresolv.so.2
704 /%{_lib}/librt-%{glibc_major_version}.so
706 /%{_lib}/libutil-%{glibc_major_version}.so
707 /%{_lib}/libutil.so.1
708 %define optimized_libs() \
709 %dir %attr(0755,root,root) /%{_lib}/%1\
710 /%{_lib}/%1/libc-%{glibc_major_version}.so\
711 /%{_lib}/%1/libc.so.6*\
712 /%{_lib}/%1/libm-%{glibc_major_version}.so\
713 /%{_lib}/%1/libm.so.6*\
714 /%{_lib}/%1/libpthread-%{glibc_major_version}.so\
715 /%{_lib}/%1/libpthread.so.0\
716 /%{_lib}/%1/librt-%{glibc_major_version}.so\
717 /%{_lib}/%1/librt.so.1\
718 /%{_lib}/%1/libthread_db-1.0.so\
719 /%{_lib}/%1/libthread_db.so.1
721 %dir %attr(0700,root,root) /var/cache/ldconfig
727 %attr(755,root,root) %{_bindir}/ldd
728 %ifarch %ix86 sparc sparcv9
733 %dir %attr(0755,root,root) %{_libexecdir}/getconf
734 %{_libexecdir}/getconf/*
735 %{_sbindir}/glibc_post_upgrade
736 %{_sbindir}/iconvconfig
737 /%{_lib}/libBrokenLocale-%{glibc_major_version}.so
738 /%{_lib}/libBrokenLocale.so.1
743 %manifest %{name}.manifest
745 %defattr (755,root,root,755)
746 %dir /%{_lib}/obsolete/
747 #%dir /%{_lib}/obsolete/noversion
748 #/%{_lib}/obsolete/noversion/libNoVersion-%{glibc_major_version}.so
749 #/%{_lib}/obsolete/noversion/libNoVersion.so.1
752 %files locale -f libc.lang
753 %manifest %{name}.manifest
754 %license COPYING COPYING.LIB
755 %defattr(-,root,root)
756 %{_datadir}/locale/locale.alias
765 %manifest %{name}.manifest
766 /%{_lib}/libc-2.24-asan.so
771 %manifest %{name}.manifest
772 %defattr(-,root,root)
773 %license COPYING COPYING.LIB
779 # These static libraries are needed even for shared builds
780 %{_libdir}/libc_nonshared.a
782 %ifarch ppc ppc64 s390 s390x sparc sparcv8 sparcv9 sparcv9v
783 # This is not built on sparc64.
784 %{_libdir}/libnldbl_nonshared.a
786 %{_libdir}/libmcheck.a
787 %{_libdir}/librpcsvc.a
790 %manifest %{name}.manifest
791 %defattr(-,root,root)
792 %{_libdir}/libBrokenLocale.a
795 %{_libdir}/libcrypt.a
798 %{_libdir}/libpthread.a
799 %{_libdir}/libresolv.a
804 %manifest %{name}.manifest
805 %defattr(-,root,root)
806 %doc %{_infodir}/libc.info.gz
807 %doc %{_infodir}/libc.info-?.gz
808 %doc %{_infodir}/libc.info-??.gz
812 %manifest %{name}.manifest
813 %defattr(-,root,root)
814 %doc %{_prefix}/share/doc/glibc
818 %manifest %{name}.manifest
819 %defattr(-,root,root)
820 %{_prefix}/share/i18n
824 %manifest %{name}.manifest
825 %license COPYING COPYING.LIB
826 %defattr(-,root,root)
828 %{_libdir}/libBrokenLocale_p.a
829 %{_libdir}/libanl_p.a
831 %{_libdir}/libcrypt_p.a
832 %{_libdir}/libpthread_p.a
833 %{_libdir}/libresolv_p.a
835 %{_libdir}/librpcsvc_p.a
836 %{_libdir}/libutil_p.a
841 %manifest %{name}.manifest
842 %defattr(-,root,root)
843 /%{_lib}/libmemusage.so
844 /%{_lib}/libpcprofile.so
845 /%{_libdir}/libBrokenLocale.so
846 /%{_lib}/libSegFault.so
847 /%{_lib}/libthread_db-1.0.so
848 /%{_lib}/libthread_db.so.1
849 /%{_libdir}/libthread_db.so
850 %dir /%{_libdir}/audit
851 /%{_libdir}/audit/sotruss-lib.so
852 # These need gd-devel for building
853 # %%{_bindir}/memusage
854 # %%{_bindir}/memusagestat
856 %{_bindir}/pcprofiledump
864 %manifest %{name}.manifest
866 %defattr(-,root,root)
872 %defattr(-,root,root)
873 %doc testresults/check.log
877 %{?glibc_dump_configure:
878 %files configure-dump
879 %manifest glibc.manifest
880 %{_datadir}/glibc-%{version}-%{release}-%_project-%_repository.db