Re: [Rpm-maint] [rpm-software-management/rpm] RFE: Declarative build system support (#1087)

2024-03-25 Thread Cristian Le
Found out about this new feature. How does one go about constructing such `BuildSystem`, do they just define a `%buildsystem__conf` macros? I am considering the case of [MPI packaging](https://pagure.io/packaging-committee/issue/1345) and it would be a neat approach to `for` looping all mpi

[Rpm-maint] [rpm-software-management/rpm] FeatureRequest: rpm-spec: Specify minimum hardware requirements (Discussion #2909)

2024-02-14 Thread Cristian Le
Opening a discussion related to [this copr issue](https://github.com/fedora-copr/copr/issues/3141#issuecomment-1943789962). **Background:** I've had a build on me take 5h with multiple timeouts when run with 2 CPU cores due to MPI + OpenMP oversubscription. While typically it only costs 1h on

Re: [Rpm-maint] [rpm-software-management/rpm] Spec file versioning macros (Issue #2443)

2023-04-06 Thread Cristian Le
But when we use the formatting macro, we have the original git tag info, so we can reuse it later. For the reverse, if we can extract the macro info, e.g. from `%{version}` we could have `%{version_base}` and `%{version_prerel}` and we can construct the git tag accordingly e.g.

[Rpm-maint] [rpm-software-management/rpm] Spec file versioning macros (Issue #2443)

2023-03-22 Thread Cristian Le
This is a reference from fedora packaging committee [issue](https://pagure.io/packaging-committee/issue/1264): > I would like to propose a few helper macros for dealing with version control: > - Format git tag -> rpm version: e.g. 1.2.3-rc1/1.2.3rc -> 1.2.3~rc1. This > could be detected from