[Rpm-maint] [PATCH] debugedit: Fix off-by-one adding DW_FORM_string replacement slashes.

2017-03-21 Thread Mark Wielaard
From: Mark Wielaard We would put one too many slashes in between the new dest_dir and file name part of the replacement of a DW_FORM_string in the .debug_info. If there was file part then we would overwrite the first character of the name. If there was no file part at all then this would overwrit

Re: [Rpm-maint] [PATCH] build/files.c: Only check build-ids for executable files in the main package.

2017-03-21 Thread Panu Matilainen
On 03/20/2017 12:52 PM, Mark Wielaard wrote: From: Mark Wielaard generateBuildIDs should mimic what find-debuginfo.sh does. Only check build-ids for executable files in non-debuginfo packages. This moves the isDbg check up so the is executeble check can be done when the file is part of the main

[Rpm-maint] [PATCH v2] Unbreak short-circuited binary builds (RhBug:1434235)

2017-03-21 Thread Panu Matilainen
Commit bbfe1f86b2e4b5c0bd499d9f3dd9de9c9c20fff2 broke short-circuited binary builds (which can be handy for testing when working on large packages), eg: rpmbuild -bi foo.spec; rpmbuild -bb --short-circuit foo.spec The problem is that in a short-circuited build all the links already exist and

Re: [Rpm-maint] [rpm-software-management/rpm] Accept --nocaps also for the package installation (#178)

2017-03-21 Thread Panu Matilainen
No objections on adding --nocaps, traditionally rpm has disablers for just about everything and this should've really been there from the start. What I am wondering about is whether the capability business actually belongs into a plugin along with SELinux and the like, which would change the lan