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
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 >