Re: [Rpm-maint] [rpm-software-management/rpm] rpmbuild: make it possible to not include SPEC tag (rpm-4.17 compat behavior) (Issue #2727)

2023-10-18 Thread Panu Matilainen
The problem with adding an option do disable it is precisely that it would then be possible to disable it. As in, a feature you cannot rely on is a rather broken feature. Compressing the parsed spec would be quite reasonable, but we lack a general mechanism to compress/uncompress header tag

Re: [Rpm-maint] [rpm-software-management/rpm] Bug feedback,When rpm-plugin-selinux and rpm -- root are used at the same time, the selinux status of the new directory cannot be correctly recognized (I

2023-10-18 Thread Michal Domonkos
Plugins aren't executed from within the chroot, and they can't be because some of their (or RPM's own) dependencies (selinux in this case) may not be installed there. What we could do perhaps is to use the selinux policy of the target root but whether that's doable remains to be seen (I'm

Re: [Rpm-maint] [rpm-software-management/rpm] 363: rpm -e and verify conflicting files removed 1 FAILED (rpme.at:305) (Issue #2376)

2023-10-18 Thread Michal Domonkos
I can't reproduce this myself but it does look suspicious. However, assuming that you did *not* make any changes to the RPM sources before running the tests, this suggests that the order in which the file iterator internally serves file entries is undefined, and just happens to order them in

Re: [Rpm-maint] [rpm-software-management/rpm] Host specific %_install_langs affects --root installation (Issue #2623)

2023-10-18 Thread Michal Domonkos
Note that whatever the solution, DNF would need to be updated accordingly (probably the `--installroot` logic). -- Reply to this email directly or view it on GitHub: https://github.com/rpm-software-management/rpm/issues/2623#issuecomment-1768243702 You are receiving this because you are

Re: [Rpm-maint] [rpm-software-management/rpm] Host specific %_install_langs affects --root installation (Issue #2623)

2023-10-18 Thread Michal Domonkos
Thanks. I wonder if the `--macros` option (or its API equivalent in `include/rpm/rpmmacro.h`) could be used then? The little downside is that the caller would have to list all the default paths themselves (just with the target root prefix). Maybe we could improve that somehow and facilitate

Re: [Rpm-maint] [rpm-software-management/rpm] [RFE] Add option to %files to ignore listed files (suggest: -i) (Issue #2555)

2023-10-18 Thread Michal Domonkos
This sounds like a problem of package *distribution*, not package building. As I understand it, your actual goal here is to avoid *shipping* a subpackage in the repositories. The current "workaround" as you described it therefore is the proper solution to this. The contents of the buildroot is