Bug 637000 - spectool fails when an Icon tag exists
Summary: spectool fails when an Icon tag exists
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: rpmdevtools
Version: 13
Hardware: All
OS: Linux
low
medium
Target Milestone: ---
Assignee: Ville Skyttä
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2010-09-23 22:28 UTC by Joe Krahn
Modified: 2010-10-08 20:44 UTC (History)
1 user (show)

Fixed In Version: rpmdevtools-7.10-1.fc14
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2010-10-05 13:23:52 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Joe Krahn 2010-09-23 22:28:56 UTC
Description of problem:
spectool silently fails on SPEC files that contain an Icon tag. It runs `rpmbuild' with %_sourcedir directed to a temporary directory, and rpmbuild exists when the Icon file is missing, before any Source or Patch filenames are printed.

Version-Release number of selected component (if applicable):
7.8-1

How reproducible:
always

Steps to Reproduce:
1. spectool XXXX.spec
   # where XXX.spec contains   Icon: <filename>

Actual results:
Fails silently

Expected results:
Normal processing, or at least an error message.

Additional info:
The easy fix is to just strip the Icon tag from the generated temporary
spec file, because it does not (yet) support a URL syntax.

Comment 1 Ville Skyttä 2010-09-27 16:42:48 UTC
ACK.  A similar problem exists with BuildArchitectures (the short BuildArch form is not a problem).

Comment 2 Fedora Update System 2010-09-27 18:41:06 UTC
rpmdevtools-7.10-1.fc14 has been submitted as an update for Fedora 14.
https://admin.fedoraproject.org/updates/rpmdevtools-7.10-1.fc14

Comment 3 Fedora Update System 2010-09-27 18:47:11 UTC
rpmdevtools-7.10-1.fc13 has been submitted as an update for Fedora 13.
https://admin.fedoraproject.org/updates/rpmdevtools-7.10-1.fc13

Comment 4 Fedora Update System 2010-09-27 20:06:48 UTC
rpmdevtools-7.10-1.fc14 has been pushed to the Fedora 14 testing repository.  If problems still persist, please make note of it in this bug report.
 If you want to test the update, you can install it with 
 su -c 'yum --enablerepo=updates-testing update rpmdevtools'.  You can provide feedback for this update here: https://admin.fedoraproject.org/updates/rpmdevtools-7.10-1.fc14

Comment 5 Fedora Update System 2010-10-05 13:23:39 UTC
rpmdevtools-7.10-1.fc14 has been pushed to the Fedora 14 stable repository.  If problems still persist, please make note of it in this bug report.

Comment 6 Fedora Update System 2010-10-08 20:44:30 UTC
rpmdevtools-7.10-1.fc13 has been pushed to the Fedora 13 stable repository.  If problems still persist, please make note of it in this bug report.


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