Re: [yocto] Reg. rpm changelog

2018-07-23 Thread Alexander Kanavin
Note that we programmatically create the rpm spec files, and there is
currently no support for writing changelogs into them.

Generally, hand-crafted changelogs are just a maintenance burden, if you ask me.

Alex

2018-07-23 20:49 GMT+02:00 Burton, Ross :
> On 23 July 2018 at 18:30, Vikram Chhibber  wrote:
>> Thanks Mark. Is it possible to somehow use already created changelog while
>> building rpm?
>
> You mean that you'll maintain an independent changelog but want it to
> be in the RPM?
>
> Ross
> --
> ___
> yocto mailing list
> yocto@yoctoproject.org
> https://lists.yoctoproject.org/listinfo/yocto
-- 
___
yocto mailing list
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto


Re: [yocto] Reg. rpm changelog

2018-07-23 Thread Vikram Chhibber
Thanks Mark. Is it possible to somehow use already created changelog while
building rpm?

Thanks

On Tue, Jul 17, 2018 at 11:51 AM Mark Hatle 
wrote:

> On 7/17/18 1:39 PM, Vikram Chhibber wrote:
> > Hi All,
> >
> > I use the rpm created from my recipe and I need to know if there is a
> way to add
> > changelog to this rpm. I should be able to use "rpm -q --changelog"
> option to
> > display this changelog.
> >
> > Please let me know if this is possible.
>
> No.  Others have talked about it, but changelog information is stored in
> the
> respective layers (.bb, .bbappend, .bbclass, etc) that make up the recipes
> and
> would have to be distilled..
>
> It should be possible, but nobody has done this that I know of.
>
> (Rough way to do it.. find all of the files that went into a recipe.. then
> run a
> git scm command looking for changes to those files, capturing them in an
> RPM
> changelog like format.)
>
> --Mark
>
> > Thanks
> >
> >
>
>
-- 
___
yocto mailing list
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto


Re: [yocto] Reg. rpm changelog

2018-07-17 Thread Mark Hatle
On 7/17/18 1:39 PM, Vikram Chhibber wrote:
> Hi All,
> 
> I use the rpm created from my recipe and I need to know if there is a way to 
> add
> changelog to this rpm. I should be able to use "rpm -q --changelog" option to
> display this changelog.
> 
> Please let me know if this is possible.

No.  Others have talked about it, but changelog information is stored in the
respective layers (.bb, .bbappend, .bbclass, etc) that make up the recipes and
would have to be distilled..

It should be possible, but nobody has done this that I know of.

(Rough way to do it.. find all of the files that went into a recipe.. then run a
git scm command looking for changes to those files, capturing them in an RPM
changelog like format.)

--Mark

> Thanks
> 
> 

-- 
___
yocto mailing list
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto