Mailinglist Archive: opensuse-packaging (106 mails)

< Previous Next >
Re: [opensuse-packaging] What is the source and target reference locations to copy a file in build service ?
On Wed 30 December 2015 16:33:19 doiggl@xxxxxxxxxxxxxxxxxx wrote:
How to reference a source and target location ?

Hi Glenn,
you have to add an additional Source entry for this file to your spec file:

Source1: fsckp.c

Only if it's referenced as Source it's copied to the BUILD directory.

then you can do:
cp %{SOURCE1} %{buildroot}/....

Regards,
Thomas
--
To unsubscribe, e-mail: opensuse-packaging+unsubscribe@xxxxxxxxxxxx
To contact the owner, e-mail: opensuse-packaging+owner@xxxxxxxxxxxx

< Previous Next >
References