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 # This will avoid building some parts of glibc
20 %define asan_arch x86_64 armv7l aarch64
21 %bcond_with fast_build
23 Summary: Standard Shared Libraries (from the GNU C Library)
24 License: LGPL-2.1+ and LGPL-2.1+-with-GCC-exception and GPL-2.0+
27 BuildRequires: makeinfo
29 BuildRequires: gcc-c++
30 BuildRequires: gettext-tools
31 BuildRequires: libstdc++-devel
33 BuildRequires: python3-base
36 #BuildRequires: python
37 BuildRequires: glibc-devel-static
40 #BuildRequires: pkgconfig(systemd)
41 %define _filter_GLIBC_PRIVATE 1
42 %if %_target_cpu == "i686"
43 # For i686 let's only build what's different from i586, so
44 # no need to build documentation
45 %define build_profile 1
46 %define build_locales 0
49 %if %{with fast_build}
50 %define build_profile 0
51 %define build_locales 0
55 %define build_profile 1
56 %define build_locales 0
61 %define disable_assert 0
62 %define enable_stackguard_randomization 1
63 %define multiarcharches %{ix86} x86_64
66 %define enablekernel 2.6.16
68 %define enablekernel 2.6.16
70 Conflicts: kernel < %{enablekernel}
71 %ifarch armv7l armv7hl
72 # The old runtime linker link gets not provided by rpm find.provides, but it exists
73 Provides: ld-linux.so.3
74 Provides: ld-linux.so.3(GLIBC_2.4)
78 %define glibc_major_version %{version}
79 %define git_id 0a8262a1b2
81 Url: http://www.gnu.org/software/libc/libc.html
82 Source: glibc-%{version}.tar.xz
83 Source5: nsswitch.conf
84 Source7: bindresvport.blacklist
85 Source8: glibc_post_upgrade.c
86 Source9: glibc.rpmlintrc
87 Source10: baselibs.conf
89 Source1001: glibc.manifest
91 Requires(pre): filesystem
92 Provides: rtld(GNU_HASH)
95 The GNU C Library provides the most important standard libraries used
96 by nearly all programs: the standard C library, the standard math
97 library, and the POSIX thread library. A system is not functional
98 without these libraries.
101 Summary: Info Files for the GNU C Library
107 This package contains the documentation for the GNU C library stored as
108 info files. Due to a lack of resources, this documentation is not
109 complete and is partially out of date.
112 Summary: HTML Documentation for the GNU C Library
118 This package contains the HTML documentation for the GNU C library. Due
119 to a lack of resources, this documentation is not complete and is
120 partially out of date.
123 Summary: Database Sources for 'locale'
124 License: GPL-2.0+ and MIT
125 Group: Base/Libraries
128 %description i18ndata
129 This package contains the data needed to build the locale data files to
130 use the internationalization features of the GNU libc. It is normally
131 not necessary to install this packages, the data files are already
135 Summary: Locale Data for Localized Programs
136 License: GPL-2.0+ and MIT and LGPL-2.1+
137 Requires(post): /usr/bin/cat
138 Requires: glibc = %{version}
140 Locale data for the internationalisation features of the GNU C library.
143 Summary: Libc Profiling and Debugging Versions
144 License: LGPL-2.1+ and LGPL-2.1+-with-GCC-exception and GPL-2.0+
145 Group: Base/Utilities
146 Requires: glibc = %{version}
149 This package contains special versions of the GNU C library which are
150 necessary for profiling and debugging.
153 Summary: Include Files and Libraries Mandatory for Development
154 License: BSD-3-Clause and LGPL-2.1+ and LGPL-2.1+-with-GCC-exception and GPL-2.0+
155 Requires: glibc = %{version}
156 Requires: linux-kernel-headers
159 These libraries are needed to develop programs which use the standard C
162 %package devel-static
163 Summary: C library static libraries for -static linking
164 License: BSD-3-Clause and LGPL-2.1+ and LGPL-2.1+-with-GCC-exception and GPL-2.0+
165 Requires: %{name}-devel = %{version}
166 # Provide Fedora name for package to make packaging easier
167 Provides: %{name}-static = %version
169 %description devel-static
170 The glibc-devel-static package contains the C library static libraries
171 for -static linking. You don't need these, unless you link statically,
172 which is highly discouraged.
175 Summary: Development utilities from GNU C library
177 Requires: glibc = %{version}
179 %description devel-utils
180 The glibc-devel-utils package contains various binaries which can be helpful during program
183 If you are unsure if you need this, don't install this package.
186 Summary: Extra binaries from GNU C Library
188 Requires: glibc = %{version}
191 The glibc-extra package contains some extra binaries for glibc that
192 are not essential but recommend to use.
194 makedb: A program to create a database for nss
197 Summary: Obsolete Shared Libraries from the GNU C Library
199 Requires: glibc = %{version}
201 %description obsolete
202 This package provides some old libraries from the GNU C Library which
203 are no longer supported. Additional it provides a compatibility library
204 for old binaries linked against glibc 2.0.
206 Install this package if you need one of this libraries to get old
207 binaries working, but since this libraries are not supported and there
208 is no gurantee that they work for you, you should try to get newer
209 versions of your software.
212 Summary: Testsuite results
214 Group: Development/Languages
215 %description testresults
216 Results from running the glibc testsuites.
221 Summary: glibc with ASan instrumentation
222 License: LGPL-2.1+ and LGPL-2.1+-with-GCC-exception and GPL-2.0+
223 Requires: glibc = %{version}
226 This package provides glibc with ASan instrumentation
229 ln -s --force /%{_lib}/libc-2.24-asan.so /%{_lib}/libc.so.6
232 ln -s --force /%{_lib}/libc-2.24.so /%{_lib}/libc.so.6
238 %setup -n glibc-%{version} -q
242 %{?asan:%gcc_unforce_options}
243 if [ -x /bin/uname.bin ]; then
251 # We do not want configure to figure out the system its building one
252 # to support a common ground and thus set build and host to the
255 %define target %{_target_cpu}-tizen-linux-gnueabi
257 %define target %{_target_cpu}-tizen-linux
259 # Don't use as-needed, it breaks glibc assumptions
260 # Before enabling it, run the testsuite and verify that it
262 export LD_AS_NEEDED=0
263 # Adjust glibc version.h
264 echo "#define CONFHOST \"%{target}\"" >> version.h
265 echo "#define GITID \"%{git_id}\"" >> version.h
267 # Default CFLAGS and Compiler
269 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//" )
270 BuildFlags="$BuildFlags -O2 -g -U_FORTIFY_SOURCE"
271 BuildFlags="$(echo $BuildFlags | sed -e 's#-ffortify=[0-9]*##')"
272 BuildFlags="$(echo $BuildFlags | sed -e 's#-fstack-protector-strong##')"
273 BuildFlags="$(echo $BuildFlags | sed -e 's#-fstack-protector##')"
274 BuildFlags="$(echo $BuildFlags | sed -e 's/-Wa,-mimplicit-it=thumb//g' | sed -e 's/-mthumb//g')"
275 # Turn off all -Wformat enable flags as there are glibc tests that explicitly
276 # append -Wno-format and with enabled Wformat options that produced warnings
277 # that turns into errors. Remove -Wformat=1|2 or -Wformat-..-arg
278 BuildFlags="$(echo $BuildFlags | sed -re 's/-Wformat((=[1-2])|((-\w+)+))?(\s|$)//g')"
281 # Support DA build with armv8 cpu in 32bit mode: prevent Werror on sqrt function
282 (echo ${BuildFlags} | grep '\-march=armv8') && BuildFlags="${BuildFlags} -Wno-error=unused-variable"
289 BuildFlags="$BuildFlags -g"
292 # Glibc must have both functions' implementations
293 BuildFlags="$BuildFlags -U_LARGEFILE_SOURCE -U_LARGEFILE64_SOURCE -U_FILE_OFFSET_BITS"
295 %if %{disable_assert}
296 BuildFlags="$BuildFlags -DNDEBUG=1"
305 # fails to build otherwise - need to recheck and fix
306 %define enable_stackguard_randomization 0
309 configure_and_build_glibc() {
310 local dirname="$1"; shift
311 local cflags="$1"; shift
312 local addons="$1"; shift
315 conf_cflags="$cflags -funwind-tables -fPIC"
316 %{?asan: conf_cflags="$conf_cflags -DASAN_INIT_FIRST "}
318 profile="--disable-profile"
320 if [ "$dirname" = "base" ] ; then
321 profile="--enable-profile"
324 CFLAGS="$conf_cflags" BUILD_CFLAGS="$conf_cflags" \
325 CC="$BuildCC" CXX="$BuildCCplus" ../configure \
326 --prefix=%{_prefix} \
327 --libexecdir=%{_libexecdir} --infodir=%{_infodir} \
328 --enable-add-ons=$addons \
331 %if %{enable_stackguard_randomization}
332 --enable-stackguard-randomization \
334 --build=%{target} --host=%{target} \
335 %ifnarch %{multiarcharches}
336 --disable-multi-arch \
338 %ifarch %{ix86} x86_64
341 --enable-kernel=%{enablekernel} \
342 --enable-bind-now --enable-obsolete-rpc \
344 --disable-experimental-malloc \
345 libc_cv_cc_pie_default=yes
346 # explicitly set CFLAGS to use the full CFLAGS (not the reduced one for configure)
347 make %{?_smp_mflags} #CFLAGS="$cflags" BUILD_CFLAGS="$cflags"
351 configure_flags="--prefix=/usr --without-cvs --without-selinux --enable-stackguard-randomization --enable-obsolete-rpc --disable-mathvec"
353 configure_flags="$configure_flags --disable-sanity-checks"
356 HERE=%{_builddir}/%{name}-%{version}
359 ASAN_BUILD=$HERE/asan-build
363 #chmod +x $HERE/asan-glibc-gcc-wrapper.py
364 #build static wrapper, because we don't want asan to intercept allocators
365 g++ -o gcc-wrapper gcc-wrapper.cc -O3 -funroll-loops -fno-unwind-tables -fno-asynchronous-unwind-tables -fno-exceptions -static
370 # CC=$HERE/asan-glibc-gcc-wrapper.py $GLIBC/configure $configure_flags
371 CC=$HERE/gcc-wrapper $GLIBC/configure $configure_flags
373 # Quick build - builds only libraries, but does not create symlinks.
374 make -r -j $J -C $GLIBC objdir=`pwd` subdir_lib
375 #make -r -j $J -C $GLIBC objdir=`pwd` install_root=$ASAN_INST install-lib
382 configure_and_build_glibc base "$BuildFlags" "$add_ons"
390 # Build html documentation
397 # Build glibc_post_upgrade binary
399 $BuildCC -static %{optflags} -Os $RPM_SOURCE_DIR/glibc_post_upgrade.c -o glibc_post_upgrade \
400 -Lcc-base -Bcc-base/csu \
401 '-DREMOVE_TLS_DIRS' '-DREMOVE_PPC_OPTIMIZE_POWER5' \
402 '-DLIBDIR="/%{_lib}"' '-DGCONV_MODULES_DIR="%{_libdir}/gconv"'
407 # #check sections could be redefined/disabled, so keep this inside #build
410 export LD_AS_NEEDED=0
411 (make %{?_smp_mflags} -C cc-base check || true) 2>&1 | tee check.log
415 #######################################################################
419 #######################################################################
422 # The testsuite will fail if asneeded is used
423 export LD_AS_NEEDED=0
424 # This has to pass on all platforms!
427 make %{?_smp_mflags} -C cc-base check-abi
429 #######################################################################
433 #######################################################################
436 # We don't want to strip the .symtab from our libraries in find-debuginfo.sh,
437 # certainly not from libpthread.so.* because it is used by libthread_db to find
438 # some non-exported symbols in order to detect if threading support
439 # should be enabled. These symbols are _not_ exported, and we can't easily
440 # export them retroactively without changing the ABI. So we have to
441 # continue to "export" them via .symtab, instead of .dynsym :-(
442 # But we also want to keep .symtab and .strtab of other libraries since some
443 # debugging tools currently require these sections directly inside the main
444 # files - specifically valgrind and PurifyPlus.
445 export STRIP_KEEP_SYMTAB=*.so*
447 # Make sure we will create the gconv-modules.cache
448 mkdir -p %{buildroot}%{_libdir}/gconv
449 touch %{buildroot}%{_libdir}/gconv/gconv-modules.cache
452 make %{?_smp_mflags} install_root=%{buildroot} install -C cc-base
454 install_optimized_variant() {
455 local dirname="$1"; shift
456 local subdir="$1"; shift
457 local subdir_up="$1"; shift
460 destdir=$RPM_BUILD_ROOT/%{_lib}/$subdir
462 # Don't run a complete make install, we know which libraries
464 for lib in libc math/libm nptl/libpthread rt/librt nptl_db/libthread_db
467 libbaseso=$(basename $RPM_BUILD_ROOT/%{_lib}/${libbase}-*.so)
468 # Only install if different from base lib
469 if cmp -s ${lib}.so ../cc-base/${lib}.so; then
470 ln -sf $subdir_up/$libbaseso $destdir/$libbaseso
472 cp -a ${lib}.so $destdir/$libbaseso
475 ln -sf $libbaseso $destdir/$(basename $RPM_BUILD_ROOT/%{_lib}/${libbase}.so.*)
483 # XXX Do not install locales in parallel!
485 # localedef creates hardlinks to other locales if possible
486 # this will not work if we generate them in parallel.
487 # thus we need to run fdupes on /usr/lib/locale/
488 # Still, on my system this is a speed advantage:
489 # non-parallel build for install-locales: 9:34mins
490 # parallel build with fdupes: 7:08mins
491 make %{?_smp_mflags} install_root=%{buildroot} localedata/install-locales
492 %fdupes %{buildroot}/usr/lib/locale
495 # Create file list for glibc-locale package
498 # Prepare obsolete/, used only on some architectures:
499 export RPM_BUILD_ROOT
501 mkdir -p %{buildroot}/%{_lib}/obsolete
504 # NPTL <bits/stdio-lock.h> is not usable outside of glibc, so include
505 # the generic one (RH#162634)
506 # cp -av bits/stdio-lock.h %{buildroot}%{_includedir}/bits/stdio-lock.h
511 install -m 0700 glibc_post_upgrade %{buildroot}%{_sbindir}
513 install -m 644 %{SOURCE7} %{buildroot}/etc
514 install -m 644 %{SOURCE5} %{buildroot}/etc
515 install -m 644 posix/gai.conf %{buildroot}/etc
517 mkdir -p %{buildroot}/etc/default
518 install -m 644 nis/nss %{buildroot}/etc/default/
520 mkdir -p %{buildroot}%{_includedir}/resolv
521 install -m 0644 resolv/mapv4v6addr.h %{buildroot}%{_includedir}/resolv/
522 install -m 0644 resolv/mapv4v6hostent.h %{buildroot}%{_includedir}/resolv/
525 mkdir -p %{buildroot}%{_datadir}/doc/glibc
526 cp -p cc-base/manual/libc/*.html %{buildroot}%{_datadir}/doc/glibc
533 cat > %{buildroot}/etc/ld.so.conf <<EOF
534 %if "%{_lib}" == "lib64"
538 include /etc/ld.so.conf.d/*.conf
539 # /lib64, /lib, /usr/lib64 and /usr/lib gets added
540 # automatically by ldconfig after parsing this file.
541 # So, they do not need to be listed.
543 # Add ldconfig cache directory for directory ownership
544 mkdir -p %{buildroot}/var/cache/ldconfig
545 # Empty the ld.so.cache:
546 rm -f %{buildroot}/etc/ld.so.cache
547 touch %{buildroot}/etc/ld.so.cache
549 # Don't look at ldd! We don't wish a /bin/sh requires
550 chmod 644 %{buildroot}%{_bindir}/ldd
552 # Remove timezone data, now coming in standalone package:
553 for i in sbin/sln usr/bin/tzselect usr/sbin/zic usr/sbin/zdump etc/localtime; do
554 rm -f %{buildroot}/$i
556 rm -rf %{buildroot}%{_datadir}/zoneinfo
559 # Provide compatibility link
560 ln -s ld-%{glibc_major_version}.so %{buildroot}/lib/ld-linux.so.3
563 # Move getconf to %{_libexecdir}/getconf/ to avoid cross device link
564 mv %{buildroot}%{_bindir}/getconf %{buildroot}%{_libexecdir}/getconf/getconf
565 ln -s %{_libexecdir}/getconf/getconf %{buildroot}%{_bindir}/getconf
567 #######################################################################
571 #######################################################################
575 HERE=%{_builddir}/%{name}-%{version}
577 ASAN_BUILD=$HERE/asan-build
578 cp $ASAN_BUILD/libc.so %{buildroot}/%{_lib}/libc-2.24-asan.so
584 cp --parents $(find cc-base -name "*tests.sum") testresults/
585 cp check.log testresults/
586 chmod 644 $(find testresults/ -type f)
589 %post -p %{_sbindir}/glibc_post_upgrade
591 %postun -p /sbin/ldconfig
594 for l in /usr/share/locale/locale.alias %{_libdir}/gconv/gconv-modules; do
595 [ -d "$l.d" ] || continue
596 echo "###X# The following is autogenerated from extra files in the .d directory:" >>"$l"
599 /usr/sbin/iconvconfig
602 %install_info --info-dir=%{_infodir} %{_infodir}/libc.info.gz
605 %install_info_delete --info-dir=%{_infodir} %{_infodir}/libc.info.gz
608 %manifest %{name}.manifest
610 %defattr(-,root,root)
611 %license LICENSES COPYING COPYING.LIB
612 %config(noreplace) /etc/bindresvport.blacklist
613 %config /etc/ld.so.conf
614 %attr(0644,root,root) %verify(not md5 size mtime) %ghost %config(missingok,noreplace) /etc/ld.so.cache
615 %config(noreplace) /etc/rpc
616 %verify(not md5 size mtime) %config(noreplace) /etc/nsswitch.conf
617 %verify(not md5 size mtime) %config(noreplace) /etc/gai.conf
618 %config(noreplace) /etc/default/nss
619 /%{_lib}/ld-%{glibc_major_version}.so
621 # Each architecture has a different name for the dynamic linker:
624 /%{_lib}/ld-linux-armhf.so.3
625 # Keep compatibility link
626 /%{_lib}/ld-linux.so.3
628 /%{_lib}/ld-linux.so.3
632 /%{_lib}/ld-linux-x86-64.so.2
635 /%{_lib}/ld-linux.so.2
638 /lib/ld-linux-aarch64.so.1
639 /%{_lib}/ld-linux-aarch64.so.1
642 /%{_lib}/libanl-%{glibc_major_version}.so
644 /%{_lib}/libc-%{glibc_major_version}.so
646 /%{_lib}/libcrypt-%{glibc_major_version}.so
647 /%{_lib}/libcrypt.so.1
648 /%{_lib}/libdl-%{glibc_major_version}.so
650 /%{_lib}/libm-%{glibc_major_version}.so
652 /%{_lib}/libnsl-%{glibc_major_version}.so
654 /%{_lib}/libnss_compat-%{glibc_major_version}.so
655 /%{_lib}/libnss_compat.so.2
656 /%{_lib}/libnss_db-%{glibc_major_version}.so
657 /%{_lib}/libnss_db.so.2
658 /%{_lib}/libnss_dns-%{glibc_major_version}.so
659 /%{_lib}/libnss_dns.so.2
660 /%{_lib}/libnss_files-%{glibc_major_version}.so
661 /%{_lib}/libnss_files.so.2
662 /%{_lib}/libnss_optfiles-%{glibc_major_version}.so
663 /%{_lib}/libnss_optfiles.so.2
664 /%{_lib}/libnss_hesiod-%{glibc_major_version}.so
665 /%{_lib}/libnss_hesiod.so.2
666 /%{_lib}/libpthread-%{glibc_major_version}.so
667 /%{_lib}/libpthread.so.0
668 /%{_lib}/libthread_db-1.0.so
669 /%{_lib}/libthread_db.so.1
670 /%{_lib}/libresolv-%{glibc_major_version}.so
671 /%{_lib}/libresolv.so.2
672 /%{_lib}/librt-%{glibc_major_version}.so
674 /%{_lib}/libutil-%{glibc_major_version}.so
675 /%{_lib}/libutil.so.1
676 %define optimized_libs() \
677 %dir %attr(0755,root,root) /%{_lib}/%1\
678 /%{_lib}/%1/libc-%{glibc_major_version}.so\
679 /%{_lib}/%1/libc.so.6*\
680 /%{_lib}/%1/libm-%{glibc_major_version}.so\
681 /%{_lib}/%1/libm.so.6*\
682 /%{_lib}/%1/libpthread-%{glibc_major_version}.so\
683 /%{_lib}/%1/libpthread.so.0\
684 /%{_lib}/%1/librt-%{glibc_major_version}.so\
685 /%{_lib}/%1/librt.so.1\
686 /%{_lib}/%1/libthread_db-1.0.so\
687 /%{_lib}/%1/libthread_db.so.1
689 %dir %attr(0700,root,root) /var/cache/ldconfig
695 %attr(755,root,root) %{_bindir}/ldd
696 %ifarch %ix86 sparc sparcv9
701 %dir %attr(0755,root,root) %{_libexecdir}/getconf
702 %{_libexecdir}/getconf/*
703 %{_sbindir}/glibc_post_upgrade
704 %{_sbindir}/iconvconfig
705 /%{_lib}/libBrokenLocale-%{glibc_major_version}.so
706 /%{_lib}/libBrokenLocale.so.1
711 %manifest %{name}.manifest
713 %defattr (755,root,root,755)
714 %dir /%{_lib}/obsolete/
715 #%dir /%{_lib}/obsolete/noversion
716 #/%{_lib}/obsolete/noversion/libNoVersion-%{glibc_major_version}.so
717 #/%{_lib}/obsolete/noversion/libNoVersion.so.1
720 %files locale -f libc.lang
721 %manifest %{name}.manifest
722 %license COPYING COPYING.LIB
723 %defattr(-,root,root)
724 %{_datadir}/locale/locale.alias
733 %manifest %{name}.manifest
734 /%{_lib}/libc-2.24-asan.so
739 %manifest %{name}.manifest
740 %defattr(-,root,root)
741 %license COPYING COPYING.LIB
747 # These static libraries are needed even for shared builds
748 %{_libdir}/libc_nonshared.a
750 %ifarch ppc ppc64 s390 s390x sparc sparcv8 sparcv9 sparcv9v
751 # This is not built on sparc64.
752 %{_libdir}/libnldbl_nonshared.a
754 %{_libdir}/libmcheck.a
755 %{_libdir}/librpcsvc.a
758 %manifest %{name}.manifest
759 %defattr(-,root,root)
760 %{_libdir}/libBrokenLocale.a
763 %{_libdir}/libcrypt.a
766 %{_libdir}/libpthread.a
767 %{_libdir}/libresolv.a
772 %manifest %{name}.manifest
773 %defattr(-,root,root)
774 %doc %{_infodir}/libc.info.gz
775 %doc %{_infodir}/libc.info-?.gz
776 %doc %{_infodir}/libc.info-??.gz
780 %manifest %{name}.manifest
781 %defattr(-,root,root)
782 %doc %{_prefix}/share/doc/glibc
786 %manifest %{name}.manifest
787 %defattr(-,root,root)
788 %{_prefix}/share/i18n
792 %manifest %{name}.manifest
793 %license COPYING COPYING.LIB
794 %defattr(-,root,root)
796 %{_libdir}/libBrokenLocale_p.a
797 %{_libdir}/libanl_p.a
799 %{_libdir}/libcrypt_p.a
800 %{_libdir}/libpthread_p.a
801 %{_libdir}/libresolv_p.a
803 %{_libdir}/librpcsvc_p.a
804 %{_libdir}/libutil_p.a
809 %manifest %{name}.manifest
810 %defattr(-,root,root)
811 /%{_lib}/libmemusage.so
812 /%{_lib}/libpcprofile.so
813 /%{_libdir}/libBrokenLocale.so
814 /%{_lib}/libSegFault.so
815 /%{_lib}/libthread_db-1.0.so
816 /%{_lib}/libthread_db.so.1
817 /%{_libdir}/libthread_db.so
818 %dir /%{_libdir}/audit
819 /%{_libdir}/audit/sotruss-lib.so
820 # These need gd-devel for building
821 # %%{_bindir}/memusage
822 # %%{_bindir}/memusagestat
824 %{_bindir}/pcprofiledump
832 %manifest %{name}.manifest
834 %defattr(-,root,root)
840 %defattr(-,root,root)
841 %doc testresults/check.log