]> git.ipfire.org Git - thirdparty/glibc.git/commitdiff
Filter out GLIBC_PRIVATE symbols again
authorAndreas Schwab <schwab@redhat.com>
Fri, 12 Aug 2011 12:18:02 +0000 (14:18 +0200)
committerAndreas Schwab <schwab@redhat.com>
Mon, 15 Aug 2011 12:22:42 +0000 (14:22 +0200)
fedora/glibc.spec.in

index 57a5aab6e9e3703c4b64ebfedb300eb48c161f52..a7d2edaa44ee2c074c24c36fc6f003002d0cb677 100644 (file)
@@ -86,8 +86,7 @@ BuildRequires: gcc >= 4.1.0-0.17
 BuildRequires: elfutils >= 0.72
 BuildRequires: rpm >= 4.2-0.56
 %endif
-%define __find_provides %{_builddir}/%{glibcsrcdir}/find_provides.sh
-%define _filter_GLIBC_PRIVATE 1
+%global __filter_GLIBC_PRIVATE 1
 
 %description
 The glibc package contains standard libraries which are used by
@@ -265,12 +264,6 @@ rm -f sysdeps/powerpc/powerpc32/power4/hp-timing.[ch]
 %endif
 
 find . -type f -size 0 -o -name "*.orig" -exec rm -f {} \;
-cat > find_provides.sh <<EOF
-#!/bin/sh
-/usr/lib/rpm/find-provides | grep -v GLIBC_PRIVATE
-exit 0
-EOF
-chmod +x find_provides.sh
 touch `find . -name configure`
 touch locale/programs/*-kw.h