View Issue Details Jump to Notes ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0014275CMakeCPackpublic2013-07-07 20:332016-06-06 16:31
ReporterCraig Scott 
Assigned ToEric NOULARD 
PrioritynormalSeverityminorReproducibilityalways
StatusclosedResolutionfixed 
PlatformLinux (64-bit)OSFedoraOS Version18
Product VersionCMake 2.8.11 
Target VersionCMake 2.8.12Fixed in Version 
Summary0014275: Package manager complains about default changelog details in RPM
DescriptionWhen creating a RPM package with cpack, if the user doesn't provide a changelog file, cpack provides a default one with contents something like the following:

* Sun Jul 04 2010 Erk <eric.noulard@gmail.com>
Generated by CPack RPM (no Changelog file were provided)

On some systems (eg Fedora 18), the package manager complains about the form of the first line. The error message is something like this:

*Could not parse header:* 'Erk <eric.noulard@gmail.com>', *expected*: 'Firstname Lastname <email@account.com> - version-release'

The error message is fairly self-explanatory. Can we change the default name format to "firstname lastname" instead of just a single name/pseudonym? It might also be worth testing on multiple linux distributions. I think I've come across this before and had discussions with the package authors (might have been the LSB SDK but I can't find it in their mailing list archives) and IIRC, different linux distributions' package managers might make different assumptions about the form of the changelog message.
TagsNo tags attached.
Attached Files

 Relationships

  Notes
(0033492)
Craig Scott (reporter)
2013-07-07 20:35

The following might be relevant:

http://public.kitware.com/Bug/view.php?id=10741#c21221 [^]
(0033494)
Eric NOULARD (developer)
2013-07-08 04:14

Checking the conformity of CPack generated RPM is far from perfect,
we could try to use some tool in order to enhance that:
http://sourceforge.net/projects/rpmlint/?source=dlp [^]

That said, concerning the generated changelog line I'll try to fix it soon.
(0033495)
Eric NOULARD (developer)
2013-07-08 04:29

Concerning distribution specific w.r.t. Changelog format
I guess that you are right each distribution has its own,
e.g. Fedora one:
http://docs.fedoraproject.org/en-US/Fedora_Draft_Documentation/0.1/html/Packagers_Guide/sect-Packagers_Guide-Creating_a_Basic_Spec_File.html [^]

If ever the CPack generated Changelog cannot satisfy all distros-specific prerequisiste one can always use: CPACK_RPM_CHANGELOG_FILE in order ot provide
an appropriate changelog file.

cpack --help-variable CPACK_RPM_CHANGELOG_FILE
(0033496)
Eric NOULARD (developer)
2013-07-08 04:40

Merge topic 'CPack-fixGeneratedChangelogFormat' into next

976e51d CPackRPM make the changelog line conform to expected format
(0033497)
Eric NOULARD (developer)
2013-07-08 04:41

Forgot to update target version
(0034635)
Robert Maynard (manager)
2013-12-02 08:51

Closing resolved issues that have not been updated in more than 4 months.

 Issue History
Date Modified Username Field Change
2013-07-07 20:33 Craig Scott New Issue
2013-07-07 20:35 Craig Scott Note Added: 0033492
2013-07-08 03:29 Eric NOULARD Assigned To => Eric NOULARD
2013-07-08 03:29 Eric NOULARD Status new => assigned
2013-07-08 04:14 Eric NOULARD Note Added: 0033494
2013-07-08 04:29 Eric NOULARD Note Added: 0033495
2013-07-08 04:40 Eric NOULARD Note Added: 0033496
2013-07-08 04:40 Eric NOULARD Status assigned => resolved
2013-07-08 04:40 Eric NOULARD Resolution open => fixed
2013-07-08 04:41 Eric NOULARD Note Added: 0033497
2013-07-08 04:41 Eric NOULARD Status resolved => feedback
2013-07-08 04:41 Eric NOULARD Resolution fixed => reopened
2013-07-08 04:41 Eric NOULARD Status feedback => resolved
2013-07-08 04:41 Eric NOULARD Target Version => CMake 2.8.12
2013-12-02 08:51 Robert Maynard Note Added: 0034635
2013-12-02 08:51 Robert Maynard Status resolved => closed
2016-06-06 16:31 Brad King Resolution reopened => fixed


Copyright © 2000 - 2018 MantisBT Team