On Fri, 2019-10-25 at 10:32 -0400, David Cantrell wrote: > On 10/25/19 10:20 AM, Code Zombie wrote: > > Just trying to get started with packaging. I started with a pretty big > > app, and looking through tutorials, it seems Fedora and Redhat use > > different ways to create rpms. I am a bit confused, seems complicated. > > Which one will work on Fedora? > > > > Some mentioned docs : > > > > Fedora: > > https://docs.fedoraproject.org/en-US/quick-docs/creating-rpm-packages/ > > > > Redhat: > > https://developers.redhat.com/blog/2019/03/18/rpm-packaging-guide-creating-rpm/ > > > > I think it would be nice if the example apps were more realistic, e.g. > > considering dependencies, etc. > > There are two main categories of packaging in the world of Fedora and > Red Hat: > > * How we package things included with the distribution > * How users package things on their systems > > The developers.redhat.com article you linked to is aimed at users doing > the latter. It is entirely valid and is part of the workflow that a lot > of admins and developers follow. But it is not how we package things > for inclusion in Fedora. > > For packages that go in to the distribution, we have the packaging > policies. The Fedora packaging policy and guide are the best place to > start if you are interested in maintaining packages in Fedora or adding > new packages. > > I recommend looking at any of the existing packages in the distribution > for some examples, all of those can be found on src.fedoraproject.org/rpms Note that when you follow the Fedora process, most of the stuff from the redhat.com blog post *happens*...it just happens on a remote system, or is wrapped by another command. Think of the Fedora process as being a way to apply things like centralized building and source control to the basic process described in the redhat.com blog post, because that's more or less what's going on. -- Adam Williamson Fedora QA Community Monkey IRC: adamw | Twitter: AdamW_Fedora | XMPP: adamw AT happyassassin . net http://www.happyassassin.net _______________________________________________ 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