Re: Getting error "Could not parse *.spec" on copr build

2017-08-31 Thread Michal Novotny
This is a bug on our side.

More concretely, the error is caused by:

BuildRoot: %(mktemp -ud %{_tmppath}/%{namevr}-XX)

directive in the spec file. We "disallow" calling external commands
currently from
the .spec preamble.

This will be fixed in the next release. As a temporary solution I would
suggest putting
the mktemp call into %build section or avoid it completely.

Sorry for the problems
clime

On Thu, Aug 31, 2017 at 8:26 PM, Robbi Nespu 
wrote:

> Hi there,
> I am new with packager, please teach me if I doing wrong. I fork some
> project to learn about packaging.
>
> I forked a copr project (riot) and try to build new version of riot but
> failed, source are stored on github https://github.com/RobbiNespu/riot-rpm
>
> Latest build and  log : https://copr.fedorainfracloud.
> org/coprs/robbinespu/Riot/build/596875/
>
> I keep getting the same error for each build, can anyone tell my why and
> what should I do
> ___
> copr-devel mailing list -- copr-devel@lists.fedorahosted.org
> To unsubscribe send an email to copr-devel-le...@lists.fedorahosted.org
>
___
copr-devel mailing list -- copr-devel@lists.fedorahosted.org
To unsubscribe send an email to copr-devel-le...@lists.fedorahosted.org


Getting error "Could not parse *.spec" on copr build

2017-08-31 Thread Robbi Nespu
Hi there,
I am new with packager, please teach me if I doing wrong. I fork some project 
to learn about packaging.

I forked a copr project (riot) and try to build new version of riot but failed, 
source are stored on github https://github.com/RobbiNespu/riot-rpm

Latest build and  log : 
https://copr.fedorainfracloud.org/coprs/robbinespu/Riot/build/596875/ 

I keep getting the same error for each build, can anyone tell my why and what 
should I do
___
copr-devel mailing list -- copr-devel@lists.fedorahosted.org
To unsubscribe send an email to copr-devel-le...@lists.fedorahosted.org