[Rpm-maint] [rpm-software-management/rpm] Requires in package won't upgrade required package (Issue #2721)

2023-10-16 Thread Matej Zerovnik
I hope this is the right tracker to post this. I'm building a package that has a hard requirement on a specific package, but when installing the RPM, it doesn't get updated. SPEC snippet: ``` %define dcgm_version _DCGM_ ... Name:dcgm_exporter Version: %{version} Release: %{patch}%{?dist} ...

Re: [Rpm-maint] [rpm-software-management/rpm] Queried tag fields not exhibited. Specified package name reported in output (Issue #2411)

2023-10-16 Thread Florian Festi
The issue here is that these tags are arrays and need to be surrounded by square brackets. The CLI params already do that for you. They also include the flags and version while the using the tags directly only gives you the name part of the tripplets. You can just use `%{conflictnevrs}` and frie

Re: [Rpm-maint] [rpm-software-management/rpm] Queried tag fields not exhibited. Specified package name reported in output (Issue #2411)

2023-10-16 Thread Florian Festi
Closed #2411 as completed. -- Reply to this email directly or view it on GitHub: https://github.com/rpm-software-management/rpm/issues/2411#event-10661746538 You are receiving this because you are subscribed to this thread. Message ID: ___ Rpm-maint m

[Rpm-maint] [rpm-software-management/rpm] Add support for macro aliases (PR #2722)

2023-10-16 Thread Panu Matilainen
Implement support for multi-level macro aliases, useful for the kind of thing aliases are: shortcuts, added level of indirection here and there for eg choosing between alternatives without copying and so on. The new %alias macro primitive can be used to define an alias and get the alias definit

Re: [Rpm-maint] [rpm-software-management/rpm] Add support for macro aliases (PR #2722)

2023-10-16 Thread Panu Matilainen
My immediate use-case for this will be in #2620 but I remember missing such functionality for at least one other purpose. And who knows what fun the packaging community comes up with... -- Reply to this email directly or view it on GitHub: https://github.com/rpm-software-management/rpm/pull/272

Re: [Rpm-maint] [rpm-software-management/rpm] Add support for macro aliases (PR #2722)

2023-10-16 Thread Panu Matilainen
@pmatilai pushed 1 commit. ae954c8bf83258396a8357e9ad6ff4463e546cfd Add support for macro aliases -- View it on GitHub: https://github.com/rpm-software-management/rpm/pull/2722/files/9d08fee4f9425432c2abb2855680a6126d0e7b97..ae954c8bf83258396a8357e9ad6ff4463e546cfd You are receiving this becaus

[Rpm-maint] [rpm-software-management/rpm] Move OpenSSL code to newer API (PR #2723)

2023-10-16 Thread Florian Festi
Avoid the now deprecated RSA and DSA data types and use the generic EVP_PKEY Resolves: #2294 You can view, comment on, or merge this pull request online at: https://github.com/rpm-software-management/rpm/pull/2723 -- Commit Summary -- * Move OpenSSL code to newer API -- File Changes --

Re: [Rpm-maint] [rpm-software-management/rpm] Requires in package won't upgrade required package (Issue #2721)

2023-10-16 Thread Panu Matilainen
@pmatilai converted this issue into discussion #2724. -- Reply to this email directly or view it on GitHub: https://github.com/rpm-software-management/rpm/issues/2721#event-10665161563 You are receiving this because you are subscribed to this thread. Message ID:

Re: [Rpm-maint] [rpm-software-management/rpm] Move OpenSSL code to newer API (PR #2723)

2023-10-16 Thread Panu Matilainen
You'll need to rebase this first. -- Reply to this email directly or view it on GitHub: https://github.com/rpm-software-management/rpm/pull/2723#issuecomment-1764567534 You are receiving this because you are subscribed to this thread. Message ID: ___ R

Re: [Rpm-maint] [rpm-software-management/rpm] Move OpenSSL code to newer API (PR #2723)

2023-10-16 Thread Panu Matilainen
@pmatilai commented on this pull request. > if (!constructDSASigningKey(key)) goto done; if (!constructDSASignature(sig)) goto done; -if (DSA_do_verify(hash, hashlen, sig->dsa_sig, key->dsa_key) == 1) +pkey_ctx = EVP_PKEY_CTX_new(key->evp_pkey, NULL); +