[Rpm-maint] [rpm-software-management/rpm] Turn `%patch` without arguments and options into an error (PR #2367)

2023-01-26 Thread Panu Matilainen
Instead of treating `%patch` with no options and errors the same as `%patch 0`, just raise an error. There will be folks who have missed the warning-only phase, but we don't want to wait another ten years to finally rid ourselves of these legacy quirks. Related: #2205 You can view, comment on,

Re: [Rpm-maint] [rpm-software-management/rpm] Random test-program build failures in CI (Issue #2356)

2023-01-26 Thread Panu Matilainen
Closed #2356 as completed. -- Reply to this email directly or view it on GitHub: https://github.com/rpm-software-management/rpm/issues/2356#event-8362762267 You are receiving this because you are subscribed to this thread. Message ID: ___ Rpm-maint ma

Re: [Rpm-maint] [rpm-software-management/rpm] Random test-program build failures in CI (Issue #2356)

2023-01-26 Thread Panu Matilainen
Okay, this seems to be fixed now really, closing. -- Reply to this email directly or view it on GitHub: https://github.com/rpm-software-management/rpm/issues/2356#issuecomment-1404813687 You are receiving this because you are subscribed to this thread. Message ID: ___

Re: [Rpm-maint] [rpm-software-management/rpm] Turn `%patch` without arguments and options into an error (PR #2367)

2023-01-26 Thread Florian Festi
Merged #2367 into master. -- Reply to this email directly or view it on GitHub: https://github.com/rpm-software-management/rpm/pull/2367#event-8363097877 You are receiving this because you are subscribed to this thread. Message ID: ___ Rpm-maint maili

[Rpm-maint] [rpm-software-management/rpm] Stop populating the lead structure (Issue #2368)

2023-01-26 Thread Panu Matilainen
The lead structure is obsolete for over 20 years, and except for the rpm file magic, nothing must be relying on that (incomplete and insufficient) data being there. The v6 format will be a nice opportunity to stop populating that data at all, which means we get to drop all the arch number madnes

Re: [Rpm-maint] [rpm-software-management/rpm] %patch from not the start of the line does not work (#1088)

2023-01-26 Thread Panu Matilainen
Yep, but *that* is far easier said than done. We've been laying the foundations for that for a while now, see #2205 and various linked stuff. -- Reply to this email directly or view it on GitHub: https://github.com/rpm-software-management/rpm/issues/1088#issuecomment-1404879688 You are receiving

Re: [Rpm-maint] [rpm-software-management/rpm] Deprecate the internal OpenPGP parser (Issue #1935)

2023-01-26 Thread Panu Matilainen
So, the internal parser is deprecated and non-default in the cmake build, and so the current target is achieved. Closing, removing will not be easy until we gain some alternative C-language family based alternative. -- Reply to this email directly or view it on GitHub: https://github.com/rpm-so

Re: [Rpm-maint] [rpm-software-management/rpm] Deprecate the internal OpenPGP parser (Issue #1935)

2023-01-26 Thread Panu Matilainen
Closed #1935 as completed. -- Reply to this email directly or view it on GitHub: https://github.com/rpm-software-management/rpm/issues/1935#event-8363225517 You are receiving this because you are subscribed to this thread. Message ID: ___ Rpm-maint ma

Re: [Rpm-maint] [rpm-software-management/rpm] Use the real user/group name in BUILDROOT if we set %attr(-, -, -) explicitly (Issue #1933)

2023-01-26 Thread Panu Matilainen
The -,- syntax for user and group is a leftover from very, very old days before BuildRoot: was even invented. Fast forward a decade where BuildRoot was made mandatory, and that's 15 years ago already. Nobody should be running rpmbuild as root, and we do NOT want to encourage that by any means wh

[Rpm-maint] [rpm-software-management/rpm] Split ___build_pre macro to make mocking rpm build environment easier (PR #2369)

2023-01-26 Thread TomasKorbar
New macro ___build_package_notes_env contains environment variables that package-notes depends on. This allows easier mocking of rpm build environment and isolated execution of check phase of rpm packages possible. Hi, in many tests using upstream test suite is used approach that builds sources

Re: [Rpm-maint] [rpm-software-management/rpm] fix Query arguments with ^ not working (PR #2104)

2023-01-26 Thread Adam Williamson
very minor note: when updating these blocks, the comments haven't been updated. This comment: /* periods and plusses are escaped, splats become '.*' */ could read: /* periods, plusses and carets are escaped, splats become '.*' */ and this one: /* Copy pattern, escaping periods, pr