Re: [Rpm-maint] [rpm-software-management/rpm] Please document expressions for depencencies (Issue #3359)

2024-10-06 Thread Maxwell G
Have you looked at https://rpm-software-management.github.io/rpm/manual/boolean_dependencies.html? -- Reply to this email directly or view it on GitHub: https://github.com/rpm-software-management/rpm/issues/3359#issuecomment-2395828873 You are receiving this because you are subscribed to this th

Re: [Rpm-maint] [rpm-software-management/rpm] Implement a declarative autobuild system (prototype) (PR #2620)

2023-10-27 Thread Maxwell G
It would be nice if we could also use this system to generate a `%generate_buildrequires` section in addition to generating static BuildRequires. -- Reply to this email directly or view it on GitHub: https://github.com/rpm-software-management/rpm/pull/2620#issuecomment-1783160849 You are receiv

Re: [Rpm-maint] [rpm-software-management/rpm] Automate tarball deployment with GitHub Actions (Issue #2702)

2023-10-09 Thread Maxwell G
It's definitely possible to have a Github Action to create releases and upload artifacts to them, but authenticating with the rpm.org webservers and signing the tarballs (if RPM still does that) may prove more difficult. -- Reply to this email directly or view it on GitHub: https://github.com/r

[Rpm-maint] [rpm-software-management/rpm] Add a Provides generator for rpm lua modules (PR #2659)

2023-09-12 Thread Maxwell G
Some packages in Fedora provide shared RPM lua code that's used by other packages. It would be nice to have automatic Provides for this code like we have for rpm macros themselves. Usecase: Recently, forge.lua that's used by go-srpm-macros and fonts-srpm-macros moved out of redhat-rpm-config.

[Rpm-maint] [rpm-software-management/rpm] `%error` does not abort specfile processing when called through lua (Issue #2653)

2023-09-10 Thread Maxwell G
Take the following macro definitions: ``` spec %error_1 %{error:Sorry, this is an error} %error_2 %{lua: rpm.expand("%{error:Sorry, this is an error}") } %error_3 %{lua: macros.error({"Sorry, this is an error"}) } ``` ``` console $ rpm -E %error_1 error: Sorry, this is an error $ echo $?

Re: [Rpm-maint] [rpm-software-management/rpm] rpmbuild: default to LANG=C.utf8 ? (Issue #2587)

2023-07-27 Thread Maxwell G
The current rpm version doesn't build on MacOS to begin with according to https://github.com/rpm-software-management/rpm/issues/, so I don't think that should be a consideration here. -- Reply to this email directly or view it on GitHub: https://github.com/rpm-software-management/rpm/issues

Re: [Rpm-maint] [rpm-software-management/rpm] Add some Python binding examples (PR #2549)

2023-06-24 Thread Maxwell G
The rpmunpack script apparently does not work with hardlinks. For example, the pyc files below are hardlinks thanks to brp-python-hardlink. ``` diff diff --git a/python/examples/rpmunpack.py b/python/examples/rpmunpack.py index 11ea02717..462026fe8 100755 --- a/python/examples/rpmunpack.py +++ b

Re: [Rpm-maint] [rpm-software-management/rpm] %autosetup -a1 -a2 failed to extract all tarball (Issue #2495)

2023-04-26 Thread Maxwell G
It would be nice if rpm's argument parser could have a way to parse/accept repeated flags -- Reply to this email directly or view it on GitHub: https://github.com/rpm-software-management/rpm/issues/2495#issuecomment-1523567839 You are receiving this because you are subscribed to this thread. Me

Re: [Rpm-maint] [rpm-software-management/rpm] The debuginfo machinery breaks if %install follows directly after %prep or preamble (Issue #1870)

2022-09-27 Thread Maxwell G
> And @gotmax23 - that Golang (and others) do not _have_ debuginfo is yet > another, separate matter. Like said, for now the right thing to do is to > explicitly disable the debuginfo package in the spec for such cases Go binaries *do* have debuginfo. Go (and Rust) libraries are just source code

Re: [Rpm-maint] [rpm-software-management/rpm] The debuginfo machinery breaks if %install follows directly after %prep (Issue #1870)

2022-09-26 Thread Maxwell G
What does `%end` do? -- Reply to this email directly or view it on GitHub: https://github.com/rpm-software-management/rpm/issues/1870#issuecomment-1258534865 You are receiving this because you are subscribed to this thread. Message ID: ___ Rpm-maint ma

Re: [Rpm-maint] [rpm-software-management/rpm] %generate_buildrequires should not trigger the debuginfo machinery (Issue #1870)

2022-09-26 Thread Maxwell G
Golang library packages often don't ship any go binaries and thus no arched (sub)packages, but they're built on all arches to ensure that the tests pass everywhere and that the noarch `-devel` subpackage does not contain different contents when built on different architectures. Rust libraries wo