Neal Gompa kirjoitti 4.1.2023 klo 18.02:
On Wed, Jan 4, 2023 at 10:51 AM Rahul Sundaram <methe...@gmail.com> wrote:

On Wed, Jan 4, 2023 at 10:38 AM Neal Gompa <ngomp...@gmail.com> wrote:

On Wed, Jan 4, 2023 at 10:25 AM Chuck Anderson <c...@fea.st> wrote:

Perhaps this can be modified to create a layout that matches dist-git?

Probably not, because Dist-Git is a Fedora-specific thing, so I
wouldn't accept such a change in rpmdevtools upstream.


You can add it with a --distro flag


Well, more specifically, it's a Fedora build system specific thing.
Building Fedora packages in other systems doesn't necessarily work
that way.

If you want something like this, it probably makes sense to be in
fedpkg(1) itself.

That is exactly what fedpkg does. It calls rpmbuild with a config that is compatible with the dist-git layout.

Regarding documenting the configuration that rpmbuild needs, I have proposed earlier [1] that people who want to promote rpmbuild usage write a tutorial for that. It could create the same package that current GNU Hello tutorial creates, just using an alternative toolset.

A lighter way would be to just add a new section to "Installing Package Tools" [2], explaining what needs to be configured so that rpmbuild can be invoked directly.

Personally, I would prefer that contributions to Package Maintainer Docs would either fix parts that are wrong, outdated or unclear, or add material that is completely missing, instead of adding alternatives for topics that are already well covered. But these docs are under shared ownership of all Fedora packagers, so if somebody thinks it is important and is willing to work on it, pull requests are welcome!

[1]: https://pagure.io/fedora-docs/package-maintainer-docs/pull-request/88#comment-177864 [2]: https://docs.fedoraproject.org/en-US/package-maintainers/Installing_Packager_Tools/
_______________________________________________
devel mailing list -- devel@lists.fedoraproject.org
To unsubscribe send an email to devel-le...@lists.fedoraproject.org
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/devel@lists.fedoraproject.org
Do not reply to spam, report it: 
https://pagure.io/fedora-infrastructure/new_issue

Reply via email to