[Bug 2142363] Review Request: zig-srpm-macros - RPM macros for building Zig packages

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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



--- Comment #5 from Jan Drögehoff <sentrycraft123@xxxxxxxxx> ---

> MIT requires that the copyright notice is always distributed along with the
> sources. This might not be always enforced, but it is the right thing to do.
> lua-rpm-macros and pyproject-rpm-macros are good recent examples.

Yeah, thats reasonable, didn't think about that.


> IMO, it would be more convenient to keep the %zig_build family of macros
> along with the compiler package and lock the versions (e.g. do `Requires:
> (zig-rpm-macros = %{version} if zig-rpm-macros)` in the main `zig` package).
> As 0.11.0 has shown, these macros may require backward-incompatible changes.
> Nonetheless, a standalone zig-rpm-macros package is totally safe with a
> correct versioning and dependencies. So that's just a matter of your
> preference.

agreed.
The only thing that is really needed for srpm generator is the exclusive arches
and to make it easier for maintainers a build-only runtime dependency can be
added
Requires: (zig-rpm-macros = %{version}-%{release} if rpm-build)

> BTW, %_zig_version is the only macro definition that actually requires data
> from zig.spec, and I'm not sure if it is even useful.

Its probably best to remove it until a use case is found.


-- 
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=2142363

Report this comment as SPAM: https://bugzilla.redhat.com/enter_bug.cgi?product=Bugzilla&format=report-spam&short_desc=Report%20of%20Bug%202142363%23c5
_______________________________________________
package-review mailing list -- package-review@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to package-review-leave@xxxxxxxxxxxxxxxxxxxxxxx
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/package-review@xxxxxxxxxxxxxxxxxxxxxxx
Do not reply to spam, report it: https://pagure.io/fedora-infrastructure/new_issue




[Index of Archives]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite Conditions]     [KDE Users]

  Powered by Linux