From 3fb37536dcfca9f78e1414295584aa1f10ee26ab Mon Sep 17 00:00:00 2001 From: Paul Nasrat Date: Sat, 21 May 2005 16:31:36 +0000 Subject: [PATCH] doh2 --- rpm.spec | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/rpm.spec b/rpm.spec index f90872c..e65f9e7 100644 --- a/rpm.spec +++ b/rpm.spec @@ -203,16 +203,17 @@ for i in librpm.la librpmbuild.la librpmdb.la librpmio.la ; do sed -i -e 's~-L'"$RPM_BUILD_ROOT"'[^ ]* ~~g' \ -e 's~-L'"$RPM_BUILD_DIR"'[^ ]* ~~g' \ "$RPM_BUILD_ROOT%{__libdir}/$i" +done # Clean up dangling symlinks # XXX Fix in rpm tree for i in /usr/bin/rpme /usr/bin/rpmi /usr/bin/rpmu; do - rm -f "$RPM_BUILD_ROOT"/"$i"; + rm -f "$RPM_BUILD_ROOT"/"$i" done # Clean up dangling symlinks for i in /usr/lib/rpmpopt /usr/lib/rpmrc; do - rm -f "$RPM_BUILD_ROOT"/"$i"; + rm -f "$RPM_BUILD_ROOT"/"$i" done %ifos linux