Re: [Rpm-maint] Proposal for rpmbuild patch

2018-06-05 Thread Panu Matilainen
On 05/19/2018 12:25 AM, Francesco wrote: Hi Jeff, 2018-05-18 18:54 GMT+02:00 Jeff Johnson >: You do realize that rpm already computes a digest (usually SHA256, but MD5 can be configured) for all files in a *.rpm package file? That information can be retrieved

Re: [Rpm-maint] Proposal for rpmbuild patch

2018-05-20 Thread Francesco
Hi, FYI: I released version 1.4 of the Python utility that helps interfacing rpmbuild to GNU make at: https://github.com/f18m/rpm-make-rules-dependency-lister ChangeLog: - changed the way the dependency file is generated: query sha256sums directly using rpm program instead of

Re: [Rpm-maint] Proposal for rpmbuild patch

2018-05-18 Thread Francesco
Hi Jeff, 2018-05-18 18:54 GMT+02:00 Jeff Johnson : > > You do realize that rpm already computes a digest (usually SHA256, but MD5 > can be configured) for all files in a *.rpm package file? That information > can be retrieved using --queryformat easily (if make can use digests

Re: [Rpm-maint] Proposal for rpmbuild patch

2018-05-18 Thread Jeff Johnson
> On May 17, 2018, at 1:38 PM, Francesco wrote: > > Hi all, > [I posted a similar proposal under the thread "How to generate GNU make > dependency file for a SPEC file automatically?" but I'm reposting here with a > better subject] > > Proposal: add a new

[Rpm-maint] Proposal for rpmbuild patch

2018-05-17 Thread Francesco
Hi all, [I posted a similar proposal under the thread "How to generate GNU make dependency file for a SPEC file automatically?" but I'm reposting here with a better subject] Proposal: add a new option to rpmbuild, something like --generate-md5sum= that writes the md5sum (or whatever other hash,