Re: Mock SCM git repo Name Vs package name

2017-05-31 Thread Jeandet Alexis
Le mercredi 31 mai 2017 à 14:19 +0200, Michal Novotny a écrit :
> The problem is with this line: https://github.com/jeandet/vera/blob/m
> aster/vera.spec#L26, where you specify -n vera-master for %autosetup.
> That's how directory is called in https://github.com/jeandet/vera/arc
> hive/master.tar.gz. But in dist-git the directory in the tarball is
> called vera++-1.3 (name of the package + version). If the command was
> %autosetup -q, it would work. Are you able to change the name of the
> directory in the archive at https://github.com/jeandet/vera/archive/m
> aster.tar.gz?
Ok I see, I don't think this is possible with github, and you can't
call a repo with a '+' in the name :(.
> clime
> 
> On Wed, May 31, 2017 at 11:59 AM, Michal Novotny 
> wrote:
> > Hello, I am just deploying a new version of copr-dist-git that
> > should fix that particular problem so you can try that. There seems
> > to be a problem later on in building phase but we need to solve it
> > afterwards. clime
> > 
> > On Wed, May 31, 2017 at 12:54 AM, Jeandet Alexis  > mber.fsf.org> wrote:
> > > Hi,
> > > 
> > > I try to build a package from gtihub, it seems that git repo name
> > > must be the same that package name in spec file?
> > > Looking this build:
> > > https://copr.fedorainfracloud.org/coprs/ajeandet/SciQLop/build/55
> > > 9025/
> > > Looking the log here:
> > > http://copr-dist-git.fedorainfracloud.org/per-task-logs/559025-f2
> > > 5.log
> > > I tried on my desktop, I had to replace the following options:
> > >   package=vera by package=vera++
> > >   and 
> > >   git_get=git clone --depth 1 https://github.com/jeandet/vera.git
> > >  vera by git_get=git clone --depth 1 https://github.com/jeandet/v
> > > era.git vera++
> > > 
> > > Did I miss something? On github, it seems that I can't call my
> > > repo vera++, how can I override previous options?
> > > 
> > > Best regards,
> > > Alexis.
> > > ___
> > > 
> > > copr-devel mailing list -- copr-devel@lists.fedorahosted.org
> > > 
> > > To unsubscribe send an email to copr-devel-leave@lists.fedorahost
> > > ed.org
> > > 
> > > 
> 
> ___
> copr-devel mailing list -- copr-devel@lists.fedorahosted.org
> To unsubscribe send an email to copr-devel-leave@lists.fedorahosted.o
> rg___
copr-devel mailing list -- copr-devel@lists.fedorahosted.org
To unsubscribe send an email to copr-devel-le...@lists.fedorahosted.org


Re: Mock SCM git repo Name Vs package name

2017-05-31 Thread Jeandet Alexis
Le mercredi 31 mai 2017 à 11:59 +0200, Michal Novotny a écrit :
> Hello, I am just deploying a new version of copr-dist-git that should
> fix that particular problem so you can try that. There seems to be a
> problem later on in building phase but we need to solve it
> afterwards. clime
Hi Michal,
I'll try that tonight.
thanks,Alexis.
> On Wed, May 31, 2017 at 12:54 AM, Jeandet Alexis  er.fsf.org> wrote:
> > Hi,
> > 
> > I try to build a package from gtihub, it seems that git repo name
> > must be the same that package name in spec file?
> > Looking this build:
> > https://copr.fedorainfracloud.org/coprs/ajeandet/SciQLop/build/5590
> > 25/
> > Looking the log here:
> > http://copr-dist-git.fedorainfracloud.org/per-task-logs/559025-f25.
> > log
> > I tried on my desktop, I had to replace the following options:
> > package=vera by package=vera++
> > and 
> > git_get=git clone --depth 1 https://github.com/jeandet/vera.git
> >  vera by git_get=git clone --depth 1 https://github.com/jeandet/ver
> > a.git vera++
> > 
> > Did I miss something? On github, it seems that I can't call my repo
> > vera++, how can I override previous options?
> > 
> > Best regards,
> > Alexis.
> > ___
> > 
> > copr-devel mailing list -- copr-devel@lists.fedorahosted.org
> > 
> > To unsubscribe send an email to copr-devel-leave@lists.fedorahosted
> > .org
> > 
> > 
> 
> ___
> copr-devel mailing list -- copr-devel@lists.fedorahosted.org
> To unsubscribe send an email to copr-devel-leave@lists.fedorahosted.o
> rg___
copr-devel mailing list -- copr-devel@lists.fedorahosted.org
To unsubscribe send an email to copr-devel-le...@lists.fedorahosted.org


Re: Mock SCM git repo Name Vs package name

2017-05-31 Thread Michal Novotny
The problem is with this line:
https://github.com/jeandet/vera/blob/master/vera.spec#L26, where you
specify -n vera-master for %autosetup. That's how directory is called in
https://github.com/jeandet/vera/archive/master.tar.gz. But in dist-git the
directory in the tarball is called vera++-1.3 (name of the package +
version). If the command was %autosetup -q, it would work. Are you able to
change the name of the directory in the archive at
https://github.com/jeandet/vera/archive/master.tar.gz?

clime

On Wed, May 31, 2017 at 11:59 AM, Michal Novotny  wrote:

> Hello, I am just deploying a new version of copr-dist-git that should fix
> that particular problem so you can try that. There seems to be a problem
> later on in building phase but we need to solve it afterwards. clime
>
> On Wed, May 31, 2017 at 12:54 AM, Jeandet Alexis <
> alexis.jean...@member.fsf.org> wrote:
>
>> Hi,
>>
>> I try to build a package from gtihub, it seems that git repo name must be
>> the same that package name in spec file?
>> Looking this build:
>> https://copr.fedorainfracloud.org/coprs/ajeandet/SciQLop/build/559025/
>> Looking the log here:
>> http://copr-dist-git.fedorainfracloud.org/per-task-logs/559025-f25.log
>> I tried on my desktop, I had to replace the following options:
>> package=vera by package=vera++
>> and
>> git_get=git clone --depth 1 https://github.com/jeandet/vera.git vera by
>> git_get=git clone --depth 1 https://github.com/jeandet/vera.git vera++
>>
>> Did I miss something? On github, it seems that I can't call my repo
>> vera++, how can I override previous options?
>>
>> Best regards,
>> Alexis.
>>
>> ___
>> 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


Re: Mock SCM git repo Name Vs package name

2017-05-31 Thread Michal Novotny
Hello, I am just deploying a new version of copr-dist-git that should fix
that particular problem so you can try that. There seems to be a problem
later on in building phase but we need to solve it afterwards. clime

On Wed, May 31, 2017 at 12:54 AM, Jeandet Alexis <
alexis.jean...@member.fsf.org> wrote:

> Hi,
>
> I try to build a package from gtihub, it seems that git repo name must be
> the same that package name in spec file?
> Looking this build:
> https://copr.fedorainfracloud.org/coprs/ajeandet/SciQLop/build/559025/
> Looking the log here:
> http://copr-dist-git.fedorainfracloud.org/per-task-logs/559025-f25.log
> I tried on my desktop, I had to replace the following options:
> package=vera by package=vera++
> and
> git_get=git clone --depth 1 https://github.com/jeandet/vera.git vera by
> git_get=git clone --depth 1 https://github.com/jeandet/vera.git vera++
>
> Did I miss something? On github, it seems that I can't call my repo
> vera++, how can I override previous options?
>
> Best regards,
> Alexis.
>
> ___
> 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