Bug 1984210
Summary: | Review Request: build-constraints-rpm-macros - RPM macros for build constraints | ||
---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Michel Lind <michel> |
Component: | Package Review | Assignee: | Neal Gompa <ngompa13> |
Status: | CLOSED CURRENTRELEASE | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
Severity: | medium | Docs Contact: | |
Priority: | medium | ||
Version: | rawhide | CC: | ngompa13, package-review |
Target Milestone: | --- | Flags: | ngompa13:
fedora-review+
|
Target Release: | --- | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | If docs needed, set a value | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2022-07-03 07:43:36 UTC | Type: | --- |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: | |||
Bug Depends On: | |||
Bug Blocks: | 1982748 |
Description
Michel Lind
2021-07-21 00:43:50 UTC
Taking this review. Review notes: - Packaging follows naming guidelines - Package licensing is indicated correctly - Packaging builds and installs - No serious issues from rpmlint PACKAGE APPROVED. so this is basically a bit simplified from the Suse definitions in https://build.opensuse.org/package/view_file/openSUSE:Factory/memory-constraints/memory-constraints.macros?expand=1, which was in turn based on the Ceph definition in https://src.fedoraproject.org/rpms/ceph/blob/rawhide/f/ceph.spec - removed the cruft for disabling parallelism; this makes sense for Ceph but does not make sense in the Suse macro, since the setting to control it was automatically computed instead of user-specified - any spec can disable parallelism as usual, by overriding `_smp_build_ncpus` - like Ceph, but unlike the Suse definition, use physical memory and not physical+swap. We don't want swap thrashing during a build - override _smp_build_ncpus instead of _smp_mflags (which is just -j%{_smp_build_ncpus} anyway) Thanks Neal! $ fedpkg request-repo build-constraints-rpm-macros 1984210 https://pagure.io/releng/fedora-scm-requests/issue/35830 (fedscm-admin): The Pagure repository was created at https://src.fedoraproject.org/rpms/build-constraints-rpm-macros Package is now in repositories, closing review. |