Re: Has fedpkg + dist-git replaced rpmbuild for building new/local packages?

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

 



On Mon, Oct 07, 2019 12:16:28 +0200, Vít Ondruch wrote:
> If you would like to have rpmbuild mentioned in the docs, then mock should be
> mentioned as well. 

mock is mentioned in the "Create an hello world rpm" doc:
https://docs.fedoraproject.org/en-US/quick-docs/create-hello-world-rpm/

But, "make a package" on the "Join the package collection maintainers":
https://fedoraproject.org/wiki/Join_the_package_collection_maintainers#Make_a_Package

links to the top level "Creating rpm packages" document which does
things in terms of fedpkg:
https://docs.fedoraproject.org/en-US/quick-docs/creating-rpm-packages/index.html

I don't think this is particularly a good idea.

> Or both can be omitted for simplicity. But definitely, we
> should not suggest plain rpmbuild IMO.

It depends on who the target audience of the document is. For package
maintainers looking to add another package, explaining things at the
fedpkg level makes sense. But then do/should they need a "how to create
an RPM package" in the first place? For newbies looking to learn
packaging, the information should begin with rpmbuild.

As in, there is an order in which the information needs to be presented
for it to make sense to an audience that lacks knowledge of the basics.
This is how we're doing the RPM related Fedora Magazine posts, for
example.  I've not yet had time to write the next article in the series,
though. Any takers?

- learn what RPM is
- learn how an RPM is created
- learn the packaging pipe-line Fedora has developed around RPM.

https://fedoramagazine.org/rpm-packages-explained/
https://fedoramagazine.org/how-rpm-packages-are-made-the-spec-file/
https://fedoramagazine.org/how-rpm-packages-are-made-the-source-rpm/

-- 
Thanks,
Regards,
Ankur Sinha "FranciscoD" (He / Him / His) | https://fedoraproject.org/wiki/User:Ankursinha
Time zone: Europe/London

Attachment: signature.asc
Description: PGP signature

_______________________________________________
devel mailing list -- devel@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to devel-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/devel@xxxxxxxxxxxxxxxxxxxxxxx

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Fedora Announce]     [Fedora Users]     [Fedora Kernel]     [Fedora Testing]     [Fedora Formulas]     [Fedora PHP Devel]     [Kernel Development]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Gimp]     [Yosemite News]

  Powered by Linux