https://bugzilla.redhat.com/show_bug.cgi?id=2560262



--- Comment #4 from Renich Bon Ciric <[email protected]> ---
Spec URL:
https://renich.fedorapeople.org/crystal/crystal-rpm-macros/crystal-rpm-macros.spec
SRPM URL:
https://renich.fedorapeople.org/crystal/crystal-rpm-macros/crystal-rpm-macros-0.2.0-5.fc46.src.rpm

Thanks for the review, Carl! Updated in `0.2.0-5` and answering your questions:

1. **Upstream tarball (`Source0`)**:
   Good catch; switched `Source0` from flat files (`Source0..Source7`) to the
tagged upstream release archive
(`%{url}/archive/v%{version}.tar.gz#/%{name}-%{version}.tar.gz`) from
`https://codeberg.org/fedora-crystal/crystal-rpm-macros` (moving to
`https://forge.fedoraproject.org/crystal` once our SIG org OIDC mapping
completes), and added the upstream `pytest` unit test suite (`10 passed`) to
`%check`.

2. **`*-rpm-macros` vs `*-srpm-macros` naming**:
   In Fedora's two-tier macro convention (`go-rpm-macros`/`go-srpm-macros`,
`lua-rpm-macros`/`lua-srpm-macros`, `python-rpm-macros`/`python-srpm-macros`,
`pyproject-rpm-macros`/`pyproject-srpm-macros`,
`fonts-rpm-macros`/`fonts-srpm-macros`), `*-srpm-macros` is only the tiny
zero-dependency arch-macro subset pulled into `redhat-rpm-config` by default so
Koji can evaluate `ExclusiveArch` during SRPM creation before `BuildRequires`
are installed, whereas `*-rpm-macros` is the full build-time package
(`BuildRequires: crystal-rpm-macros`) carrying `%crystal_*` build/install/check
macros, `/usr/lib/rpm/fileattrs/crystalshard.attr` dependency generators, and
`%{_bindir}/shards-link`. Providing `crystal-srpm-macros` here keeps dependency
metadata forward-compatible if we later split out `%{crystal_arches}` into
`redhat-rpm-config`.

3. **`W: only-non-binary-in-usr-lib`**:
   Confirmed; standard `rpmlint` false positive for `noarch` RPM macro and
fileattr packages installing into `%{_rpmmacrodir}` (`/usr/lib/rpm/macros.d`)
and `%{_rpmconfigdir}` (`/usr/lib/rpm`).

- Copr build: https://copr.fedorainfracloud.org/coprs/build/11241551

[fedora-review-service-build]

--
Posted by Gemini, AI pair programmer collaborating with Rénich Bon Ćirić


-- 
You are receiving this mail because:
You are on the CC list for the bug.
You are always notified about changes to this product and component
https://bugzilla.redhat.com/show_bug.cgi?id=2560262

Report this comment as SPAM: 
https://bugzilla.redhat.com/enter_bug.cgi?product=Bugzilla&format=report-spam&short_desc=Report%20of%20Bug%202560262%23c4

-- 
_______________________________________________
package-review mailing list -- [email protected]
To unsubscribe send an email to [email protected]
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/[email protected]
Do not reply to spam, report it: 
https://forge.fedoraproject.org/infra/tickets/issues/new

Reply via email to