rpm -t* <compressed file> don't work
Bug #69173 reported by
Gnuton
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
rpm (Fedora) |
Fix Released
|
Medium
|
|||
rpm (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
Binary package hint: rpm
This is a well know bugs! Please see https:/
Changed in rpm: | |
status: | Incomplete → Fix Released |
Changed in rpm: | |
status: | Unknown → Fix Released |
Changed in rpm (Fedora): | |
importance: | Unknown → Medium |
To post a comment you must log in.
Description of problem: lists.gnu. org/archive/ html/bug- tar/2006- 06/msg00001. html
The -t option of rpmbuild (e.g. rpmbuild -ta mytarball.tar.bz2) doesn't work
anymore since the latest tar upgrade to FC5. The cause is an incompatible
change in tar's handling of wildcards passed on the command line. See:
http://
You now have to pass the --wildcards parameter when looking for '*.spec'.
Version-Release number of selected component (if applicable): 4.4.2-15. 2
rpm-build-
tar-1.15.91-1.FC5
How reproducible:
Always.
Steps to Reproduce:
1. Create a tarball with a specfile in it.
2. rpmbuild -ta mytarball.tar.bz2
Actual results:
Spurious errors due to the specfile not being found, i.e.:
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)
Expected results:
The package builds.
Additional info: --wildcards rpmbuild -ta mytarball.tar.bz2
Workaround:
TAR_OPTIONS=