Bug 503065 - RFE: test case not yielding a Summary: entry; R2spec should carp when Summary is nil
Summary: RFE: test case not yielding a Summary: entry; R2spec should carp when Summary...
Keywords:
Status: CLOSED NEXTRELEASE
Alias: None
Product: Fedora
Classification: Fedora
Component: R2spec
Version: rawhide
Hardware: All
OS: Linux
low
low
Target Milestone: ---
Assignee: Pierre-YvesChibon
QA Contact: Fedora Extras Quality Assurance
URL: http://cran.r-project.org/web/package...
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2009-05-28 16:31 UTC by R P Herrold
Modified: 2009-06-03 12:22 UTC (History)
1 user (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2009-06-03 12:22:22 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description R P Herrold 2009-05-28 16:31:58 UTC
I found an interesting corner case tarball in CRAN  and note it here as a test case:

http://cran.r-project.org/src/contrib/graph_1.22.2.tar.gz

Description of problem:

This case seems not to yield a 'Summary:' field with the current logic

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

current
How reproducible:

R2spec default packaging:

$ R2spec --cran -u http://cran.r-project.org/src/contrib/graph_1.22.2.tar.gz

Steps to Reproduce:

as above
  
Actual results:

[herrold@centos-5 R2spec]$ rpmbuild -ba  R-graph.spec
error: line 6: Empty tag: Summary:
[herrold@centos-5 R2spec]$ 

Expected results:

R2spec might emit a warning, when Summart is nil

Additional info:

Just an observation, and nothing earth shattering

Comment 1 Pierre-YvesChibon 2009-06-03 12:22:22 UTC
It now prints a summary in the output:

************************************************** 
** Generate the spec file
 /!\ Summary empty /!\ 
* Spec generated: 
  /home/pingou/Scripts/R2spec/master/devel/r2spec/R-graph.spec
* Done
**************************************************

It also puts the following line in the spec:

Name:             R-%{packname}
Version:          1.22.2
Release:          1%{?dist}
Summary:          <      summary should be not be longer than this       >


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