Package: rpm
Version: 4.4.1-12
Severity: normal

GNU tar Version 1.16-1 needs Option "--wildcards" to enable pattern
matching.

"rpmbuild -ta" uses something like "tar xOf package.tar.gz \*.spec" to
extract the SPEC from the tarball. Tar complains instead of printing the
SPEC file, so rpmbuild fails.

$ LANG=C tar -xOzf package.tar.gz \*.spec
tar: Pattern matching characters used in file names. Please,
tar: use --wildcards to enable pattern matching, or --no-wildcards to
tar: suppress this warning.
tar: *.spec: Not found in archive
tar: Error exit delayed from previous errors

$ rpmbuild -ta package.tar.gz
error: Name field must be present in package: (main package)
error: Version field must be present in package: (main package)
error: Release field must be present in package: (main package)
error: Summary field must be present in package: (main package)
error: Group field must be present in package: (main package)
error: License field must be present in package: (main package)

$ ls -l /usr/src/rpm/SPECS/
total 0
-rw------- 1 woffs woffs 0 Nov 29 12:55 tar: Pattern matching characters
used in file names. Please,

Maybe this is a tar bug.

Regards,
Frank.

-- System Information:
Debian Release: 4.0
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.17-2-686
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8)

Versions of packages rpm depends on:
ii  libbeecr 4.1.2-6                         open source C library of cryptogra
ii  libbz2-1 1.0.3-6                         high-quality block-sorting file co
ii  libc6    2.3.6.ds1-8                     GNU C Library: Shared libraries
ii  libcomer 1.39+1.40-WIP-2006.11.14+dfsg-1 common error description library
ii  libkrb53 1.4.4-4                         MIT Kerberos runtime libraries
ii  libpopt0 1.10-3                          lib for parsing cmdline parameters
ii  librpm4  4.4.1-12                        RPM shared library
ii  libselin 1.32-3                          SELinux shared libraries
ii  libssl0. 0.9.8c-3                        SSL shared libraries
ii  perl     5.8.8-6.1                       Larry Wall's Practical Extraction 
ii  zlib1g   1:1.2.3-13                      compression library - runtime

rpm recommends no packages.

-- no debconf information


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to