On 10.04.2014 10:50, k...@foder.dk wrote:
Hi

Do you know how I can add a changelog file to the RPM package from the creator 
(like we did in the Harmattan SDK), and how it should be formatted ?

Hi Kim,

short answer: no.

Longer answer:

There's no direct support for changelogs in Qt Creator for Sailfish projects. You can manually add changelogs to RPMs by appending a %changelog section to the end of your package's spec file using the normal changelog format:

If you use a yaml file to create the spec file, the conversion will remove the %changelog section you have added to the spec unless you put it between some of the comment sections in spec known to specify (the yaml converter utility).

For example, add this to the end of your spec file:

# << files
%changelog
* Thu Apr 10 2014 John Doe <foo...@example.com> 1.0.0
- some more comments

* Wed Apr 09 2014 John Doe <foo...@example.com> 0.9
- some comments

# >> files

Since there's no support for this, you will need to make sure the version number matches your package version.

Best regards,
 Juha

_______________________________________________
SailfishOS.org Devel mailing list

Reply via email to