Bug 503065 - RFE: test case not yielding a Summary: entry; R2spec should carp when Summary is nil
RFE: test case not yielding a Summary: entry; R2spec should carp when Summary...
Product: Fedora
Classification: Fedora
Component: R2spec (Show other bugs)
All Linux
low Severity low
: ---
: ---
Assigned To: Pierre-YvesChibon
Fedora Extras Quality Assurance
Depends On:
  Show dependency treegraph
Reported: 2009-05-28 12:31 EDT by R P Herrold
Modified: 2009-06-03 08:22 EDT (History)
1 user (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2009-06-03 08:22:22 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)

  None (edit)
Description R P Herrold 2009-05-28 12:31:58 EDT
I found an interesting corner case tarball in CRAN  and note it here as a test case:


Description of problem:

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

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

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 08:22:22 EDT
It now prints a summary in the output:

** Generate the spec file
 /!\ Summary empty /!\ 
* Spec generated: 
* 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.