developer-portal / content

Content for the Fedora Developer Portal
https://developer.fedoraproject.org/
GNU General Public License v2.0
107 stars 249 forks source link

rpmbuild may not download the source code if disable_source_fetch is defined. #477

Closed bschonec closed 9 months ago

bschonec commented 1 year ago

In the deployment/rpm/about.md file the documentation states to run:

rpmbuild -ba hello.spec

If deisable_source_fetch is enabled/true, rpmbuild may not automatically download the source from ftp.gnu.org unless the

--undefine=_disable_source_fetch

parameter is set. I recommend updating the documentation so that the source tarball is downloaded.

rpmbuild -ba --undefine=_disable_source_fetch

jackorp commented 9 months ago

the setup section on the same page explicitly states wget http://ftp.gnu.org/gnu/hello/hello-2.10.tar.gz, which is the way the sources are retrieved here.