From 43673d25874fa37ffdc610af4a07bdc283587d34 Mon Sep 17 00:00:00 2001 From: Paul Nasrat Date: Thu, 6 Oct 2005 17:27:36 +0000 Subject: [PATCH] remove libdir la files --- rpm.spec | 2 ++ 1 file changed, 2 insertions(+) diff --git a/rpm.spec b/rpm.spec index 08257cf..c40ed9e 100644 --- a/rpm.spec +++ b/rpm.spec @@ -242,6 +242,7 @@ gzip -9n apidocs/man/man*/* || : # Get rid of unpackaged files { cd $RPM_BUILD_ROOT + rm -f .%{_libdir}/lib*.la rm -f .%{__prefix}/lib/rpm/{Specfile.pm,cpanflute,cpanflute2,rpmdiff,rpmdiff.cgi,sql.prov,sql.req,tcl.req} rm -rf .%{__mandir}/{fr,ko} %if %{with_python_subpackage} @@ -251,6 +252,7 @@ gzip -9n apidocs/man/man*/* || : %endif } + %clean rm -rf $RPM_BUILD_ROOT