Re: [Rpm-maint] [PATCH] Use a file list to add build-id files to pkgList and explicitly set attrs.

2017-06-26 Thread Panu Matilainen
On 06/22/2017 04:31 PM, Mark Wielaard wrote: Hi, Panu sadi on irc he didn't like the duplication of code that parsed the spec file lists. So this updated patch extracts the setup and parsing loop in their own function and just calls them twice. I also reformatted the patch a little so the

Re: [Rpm-maint] [PATCH] Use a file list to add build-id files to pkgList and explicitly set attrs.

2017-06-22 Thread Mark Wielaard
Hi, Panu sadi on irc he didn't like the duplication of code that parsed the spec file lists. So this updated patch extracts the setup and parsing loop in their own function and just calls them twice. I also reformatted the patch a little so the whitespace differences are minimal. Cheers, Mark

[Rpm-maint] [PATCH] Use a file list to add build-id files to pkgList and explicitly set attrs.

2017-06-09 Thread Mark Wielaard
When setting attributes with %attr or %defattr we want to be explicit about the mode and not just use - to pick up the mode from the file on disk. Change the generation of build-id files to a file list using ARGV_t. First go through the current package list and generate a files list. Then add