How to adapt Fedora changelog to opensuse changelog?

So Fedora put their changelog to the spec file like so,

* Sat Mar 11 2017 NAME <EMAIL> - commit
- comment

but opensuse put it in .changes file like so

Mon Nov 25 18:27:27 UTC 2019 - NAME <EMAIL>

- comment

Noticed the time does not exist in Fedora, and commit does not exist in opensuse. So if I copy Fedora spec file into opensuse, how do I adapt the change log?


A very good place to ask this, no doubt, is the openSUSE Discord instance. It can also be accessed from Matriix/ at . Reason I’m saying is that Neal Gompa ( a.k.a. Conan Kudo ) is one of the regulars there, and is using OBS heavily.

Oh, ok thank, I have seen conan a few times in kiwi matrix channel.

Use the spec2changelog command, it’s there if using osc and build :wink:

spec2changelog some.spec > some.changelog

Thanks, but I resort to /usr/lib/build/spec2changelog command, not sure why the one you mention get command not found.

Softlink to my user bin dir :wink:

cd ~/bin
ln -s /usr/lib/build/spec2changelog