Completely match all instances of library dirctory to remove.

Tue, 31 Jul 2012 09:21:27 +0200

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Tue, 31 Jul 2012 09:21:27 +0200
changeset 422
3a196465533b
parent 421
3285b64e3857
child 423
83972bdc1dac

Completely match all instances of library dirctory to remove.

gdb/gdb.spec file | annotate | diff | comparison | revisions
     1.1 --- a/gdb/gdb.spec	Tue Jul 31 09:20:53 2012 +0200
     1.2 +++ b/gdb/gdb.spec	Tue Jul 31 09:21:27 2012 +0200
     1.3 @@ -36,7 +36,7 @@
     1.4  Group:        Debugging
     1.5  License:      GPL
     1.6  Version:      %{V_tarball}
     1.7 -Release:      20120603
     1.8 +Release:      20120800
     1.9  
    1.10  #   list of sources
    1.11  Source0:      ftp://ftp.gnu.org/gnu/gdb/gdb-%{V_tarball}.tar.gz
    1.12 @@ -86,7 +86,7 @@
    1.13  
    1.14  %install
    1.15      %{l_make} %{l_mflags} install DESTDIR=$RPM_BUILD_ROOT
    1.16 -    rm -rf $RPM_BUILD_ROOT%{l_prefix}/lib
    1.17 +    rm -rf $RPM_BUILD_ROOT%{l_prefix}/lib*
    1.18      rm -rf $RPM_BUILD_ROOT%{l_prefix}/include
    1.19      rm -f $RPM_BUILD_ROOT%{l_prefix}/info/dir
    1.20      rm -f $RPM_BUILD_ROOT%{l_prefix}/info/configure.info*

mercurial