Bug 4607 - rpm-3.0.2 on solaris/irix - file name globbing doesn't work properly
Summary: rpm-3.0.2 on solaris/irix - file name globbing doesn't work properly
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Red Hat Linux
Classification: Retired
Component: rpm
Version: 6.0
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Jeff Johnson
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 1999-08-19 13:16 UTC by benedict
Modified: 2008-05-01 15:37 UTC (History)
0 users

Fixed In Version:
Clone Of:
Environment:
Last Closed: 1999-12-15 18:13:58 UTC
Embargoed:


Attachments (Terms of Use)

Description benedict 1999-08-19 13:16:13 UTC
The problem below still exists in rpm-3.0.2 on solaris/irix

[mail to rpm-list,  Fri, 11 Apr 1997 13:02:49 +0200 (MET
DST),
<199704111102.NAA23694.aau.dk>]

> 	  > Message-Id:
<199702051447.PAA10758.aau.dk>
> 	  > From: Benedict Lofstedt <benedict.dk>
> 	  > To: rpm-list
> 	  > Subject: rpm-2.3.3 globbing error
> 	  > Date: Wed, 5 Feb 1997 15:47:07 +0100 (MET)
> 	  >
> 	  > With rpm-2.3.3 under Solaris 2.5 I have a problem
with a set of files
> 	  > specified with wildcards like this:
> 	  >
> 	  >     /usr/local/gnu/lib/locale/*/LC_MESSAGES/gcal.*
> 	  >     Globbing doesn't work properly.
>
>     A spec file which contains the following salient parts
>
> 	  Buildroot: /tmp/benedict/INSTALL-foo
>
> 	  %install
> 	  cd ${RPM_BUILD_ROOT}
> 	  /bin/rm -rf *
> 	  for dir in foodir bardir; do
> 	    [ -d $dir ] || mkdir -p $dir
> 	    (cd $dir ;touch foo bar)
> 	  done
> 	  touch bar
> 	  find . -type f
>
> 	  %files
>
> 	  /*/*
>
>     gives
>
> 	  + find . -type f
> 	  ./foodir/foo
> 	  ./foodir/bar
> 	  ./bardir/foo
> 	  ./bardir/bar
> 	  ./bar
> 	  + exit 0
> 	  [...snip...]
> 	  No matches: /tmp/benedict/INSTALL-foo/*/*
>
>     If the file ./bar is not created, the problem goes
away.

Comment 1 Jeff Johnson 1999-12-15 18:13:59 UTC
Fixed in rpm-3.0.3 and later.


Note You need to log in before you can comment on or make changes to this bug.