> -----Original Message-----
> From: Jason Tibbitts <j...@tib.bs>
> Sent: Wednesday, March 1, 2023 6:51 PM
> To: Kenneth Goldman <kgold...@us.ibm.com>
> Cc: Development discussions related to Fedora <devel@lists.fedoraproject.org>
> Subject: [EXTERNAL] Re: Package Tutorial bug - missing BuildRequires gcc
> 
> >>>>> Kenneth Goldman <kgold...@us.ibm.com> writes:
> 
> > but … if the tutorial has a sample .spec file, I think it would help
> > the new user if it was 100% complete.
> 
> I believe that the section "A Complete hello.spec File" at
> https://urldefense.proofpoint.com/v2/url?u=https-
> 3A__docs.fedoraproject.org_en-2DUS_package-2Dmaintainers_Packaging-
> 5FTutorial-5FGNU-5FHello_-23-5Fa-5Fcomplete-5Fhello-5Fspec-
> 5Ffile&d=DwIFaQ&c=jf_iaSHvJObTbx-
> siA1ZOg&r=DZCVG43VcL8GTneMZb8k8lEwb-O1GZktFfre1-
> mlmiA&m=eBYtndmk1vCkvHX6y2J15Jeb4NPWWyIr8LJxlHhQRhTpEaQ_m0uKlbT
> oGi5opX06&s=AcpJmiCpdwml9x3JU0z6dyLZo19mnWH66P6qtnJMlAs&e=
> is, as indicated, complete.  It does contain the necessary build dependency on
> gcc, as well as the others.  If I'm missing something, please feel free to 
> enlighten
> me.

I see.  This 'hello world' is structured to intentionally have errors.  This 
teaches
the reader how to debug.

I have no issue this approach except that it's unusual.  I suggest some text
at the top of the web page explaining this.

This will help the new student, who might be trained to 'stop reading
on the first error'.

Attachment: smime.p7s
Description: S/MIME cryptographic signature

_______________________________________________
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