[Rpm-maint] [rpm-software-management/rpm] elfdeps: Introduce --add-arch (#1660)

2021-04-27 Thread susematz
this adds a facility that helps with cross compilation and automatic ELF dependencies by extending the existing mechanism to specially mark generated ELF deps with "(lib64)" suffixes to alternatively or additionally include an architecture name. This is enabled with the --add-arch option. Additio

Re: [Rpm-maint] [rpm-software-management/rpm] Issue #1473: move option -q to rpmQueryPoptTable (#1656)

2021-04-27 Thread Christopher Yeleighton
Closed #1656. -- You are receiving this because you are subscribed to this thread. Reply to this email directly or view it on GitHub: https://github.com/rpm-software-management/rpm/pull/1656#event-4651140883___ Rpm-maint mailing list Rpm-maint@lists.rpm

Re: [Rpm-maint] [rpm-software-management/rpm] Macro file comment loading "regression" (#1659)

2021-04-27 Thread Demi Marie Obenour
Personally, I would prefer to emit an error here. -- You are receiving this because you are subscribed to this thread. Reply to this email directly or view it on GitHub: https://github.com/rpm-software-management/rpm/issues/1659#issuecomment-827639587__

Re: [Rpm-maint] [rpm-software-management/rpm] Add --nocompression option to rpm2archive (#1657)

2021-04-27 Thread Colin Walters
@cgwalters approved this pull request. Gave this a quick test and it works for me.Thanks! -- You are receiving this because you are subscribed to this thread. Reply to this email directly or view it on GitHub: https://github.com/rpm-software-management/rpm/pull/1657#pullrequestreview-64589

Re: [Rpm-maint] [rpm-software-management/rpm] Macro file comment loading "regression" (#1659)

2021-04-27 Thread Panu Matilainen
> If you don't mind rdcl() reaching an even higher level of ugliness, an easy > fix is to add > [...] Doesn't seem that bad to me, considering the company it's in. Perhaps a comment of the case would be in order. Care to submit a PR? I rather like the new behavior otherwise. -- You are receiv

Re: [Rpm-maint] [rpm-software-management/rpm] Add --nocompression option to rpm2archive (#1657)

2021-04-27 Thread ニール・ゴンパ
@Conan-Kudo approved this pull request. -- You are receiving this because you are subscribed to this thread. Reply to this email directly or view it on GitHub: https://github.com/rpm-software-management/rpm/pull/1657#pullrequestreview-645767797___ R

Re: [Rpm-maint] [rpm-software-management/rpm] Cross build macro confusion (#1650)

2021-04-27 Thread ニール・ゴンパ
cc: @berolinux -- You are receiving this because you are subscribed to this thread. Reply to this email directly or view it on GitHub: https://github.com/rpm-software-management/rpm/issues/1650#issuecomment-827550620___ Rpm-maint mailing list Rpm-maint

Re: [Rpm-maint] [rpm-software-management/rpm] Cross build macro confusion (#1650)

2021-04-27 Thread ニール・ゴンパ
There's been work downstream in OpenMandriva to make cross-compilation work in RPM, I can take a look and bringing those upstream when I get some spare cycles... -- You are receiving this because you are subscribed to this thread. Reply to this email directly or view it on GitHub: https://githu

Re: [Rpm-maint] [rpm-software-management/rpm] Macro file comment loading "regression" (#1659)

2021-04-27 Thread Panu Matilainen
> That also happens without the patch. Oh, sorry. I thought I had a minimal reproducer but it was in a bit of a haste (https://bugzilla.redhat.com/show_bug.cgi?id=1953910 is the original case) so I missed the some further subtleties. It indeed relates to the empty newlines, the real reproducer

Re: [Rpm-maint] [rpm-software-management/rpm] Macro file comment loading "regression" (#1659)

2021-04-27 Thread Michael Schroeder
If you don't mind rdcl() reaching an even higher level of ugliness, an easy fix is to add ``` if (p == buf) { while (*p && isblank(*p)) p++; if (*p != '%') { *q = '\0'; /* trim trailing \r, \n */ break;

Re: [Rpm-maint] [rpm-software-management/rpm] Fuzz headerimport (#1490)

2021-04-27 Thread Panu Matilainen
Closed #1490. -- You are receiving this because you are subscribed to this thread. Reply to this email directly or view it on GitHub: https://github.com/rpm-software-management/rpm/pull/1490#event-4650139781___ Rpm-maint mailing list Rpm-maint@lists.rpm

Re: [Rpm-maint] [rpm-software-management/rpm] Fuzz headerimport (#1490)

2021-04-27 Thread Panu Matilainen
Okay this is an interesting tool for hammering on the internals at specific times, but one needs to take such results with a grain of salt and it's not something I'm willing to carry on in the codebase. Thanks for the patch though, I grabbed a copy for possible later use. -- You are receiving

Re: [Rpm-maint] [rpm-software-management/rpm] Add --nocompression option to rpm2archive (#1657)

2021-04-27 Thread Panu Matilainen
@pmatilai approved this pull request. Didn't try but looks okay to me. FWIW, rpm2cpio could use porting to popt too. It's using librpm too so if popt is broken then it wont work anyway. I think the main reason it doesn't currently use popt is that it actually predates popt by almost a year.

Re: [Rpm-maint] [rpm-software-management/rpm] Macro file comment loading "regression" (#1659)

2021-04-27 Thread Michael Schroeder
That also happens without the patch. I think you need ``` %xmacro1 foo # %{ %xmacro2 bar ``` I.e. an empty line that used to terminate the body. -- You are receiving this because you are subscribed to this thread. Reply to this email directly or view it on GitHub: https://github.com/rpm-softwar

Re: [Rpm-maint] [rpm-software-management/rpm] find-lang.sh: Support long languages names for QT (#1658)

2021-04-27 Thread Panu Matilainen
If there ever was the perfect case for the :see_no_evil: emoji that'd be find-lang.sh (and patches to it). Thank's for risking your eyes :sweat_smile: -- You are receiving this because you are subscribed to this thread. Reply to this email directly or view it on GitHub: https://github.com/rp

Re: [Rpm-maint] [rpm-software-management/rpm] rpm-build: The find-lang.sh did't consider Alpha-3 code language (#1642)

2021-04-27 Thread Panu Matilainen
Closed #1642 via #1658. -- You are receiving this because you are subscribed to this thread. Reply to this email directly or view it on GitHub: https://github.com/rpm-software-management/rpm/issues/1642#event-4650015969___ Rpm-maint mailing list Rpm-mai

Re: [Rpm-maint] [rpm-software-management/rpm] find-lang.sh: Support long languages names for QT (#1658)

2021-04-27 Thread Panu Matilainen
Merged #1658 into master. -- You are receiving this because you are subscribed to this thread. Reply to this email directly or view it on GitHub: https://github.com/rpm-software-management/rpm/pull/1658#event-4650015954___ Rpm-maint mailing list Rpm-mai

[Rpm-maint] [rpm-software-management/rpm] Macro file comment loading "regression" (#1659)

2021-04-27 Thread Panu Matilainen
PR #1606 (commit 75275a87cff04da65d3557f2c40ea2b526528c4c) changed macro file loading in a subtle way. Prior to that, the both macros in the following would be loaded. Now, anything coming after the comment gets silently discarded: ``` %xmacro1 foo # %{ %xmacro2 bar ``` > [pmatilai🎩︎lumikko rpm

[Rpm-maint] [rpm-software-management/rpm] find-lang.sh: Support long languages names for QT (#1658)

2021-04-27 Thread Florian Festi
Most language abbreviations are just two characters but some are longer. Allow an arbiraty number of character instead of exactly two in the names of .qm files (QT translations). This brings the handling of .qm files in line with all other file types. Resolves: #1642 You can view, comment on, or m

Re: [Rpm-maint] [rpm-software-management/rpm] rpm2archive: Support uncompressed output (#1530)

2021-04-27 Thread Florian Festi
After considering to expose more of libarchive's functionality like many compression methods and archive formats I opted to only add an option for uncompressed output - as requested. Is the PR what you had in mind? -- You are receiving this because you are subscribed to this thread. Reply to th