mmornati / docker-mock-rpmbuilder

Build RPMs using the Mock Project (for any platform)
GNU General Public License v2.0
62 stars 42 forks source link

Make `SOURCES` optional #20

Closed pop closed 3 years ago

pop commented 3 years ago

A .spec file can specify it's own Sources on a remote server. As such, the $SOURCES is optional with a warning.

https://rpm-packaging-guide.github.io/

The Source0 field provides URL to the upstream software source code. It should link directly to the version of software that is being packaged. In this example, we can use https://example.com/bello/releases/bello-0.1.tar.gz.

mmornati commented 3 years ago

The code seems good. Is the rpmbuild automatically downloading sources from a remote server? It is a long time I'm not building RPM (cloud came in the meanwhile :))