[CentOS] spec file frustration (rant)

Thu Dec 15 05:21:42 UTC 2016
Johnny Hughes <johnny at centos.org>

On 12/14/2016 03:32 PM, Leonard den Ottolander wrote:
> Hello Phil,
> On Wed, 2016-12-14 at 20:57 +0000, Phil Wyett wrote:
>> The path to the repo is wrong.
>> git clone https://git.centos.org/git/centos-git-common.git
> Too late to boost my brain with more coffee for today. Not as sharp as I
> would like to be ;) .
> Still leaves me with the question why a script to download the source
> tarballs is needed when just not adding a .gitignore entry for them to
> the repos would fix the issue. Could someone involved care to explain
> the rationale behind this or point me to a thread where this has been
> discussed/explained?

Not sure what you are asking.

You don't want to put large GZ tarballs in git .. we only put text file
in git.  All binary files are put in a look-aside cache.

So, when you do git clone you get all the text sources .. when you do
get_sources.sh (or into_srpm.sh) you get all the binary sources
(tarballs, etc.).  You need both to be able to build the SRPM.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 198 bytes
Desc: OpenPGP digital signature
URL: <http://lists.centos.org/pipermail/centos/attachments/20161214/b7814d96/attachment-0004.sig>