2016-09-13 11:26 GMT+02:00 Nicolas Chauvet <kwizart(a)gmail.com>:
2016-09-13 10:47 GMT+02:00 Sérgio Basto <sergio(a)serjux.com>:
> On Ter, 2016-09-13 at 10:29 +0200, Nicolas Chauvet wrote:
>> 2016-09-13 10:11 GMT+02:00 Sérgio Basto <sergio(a)serjux.com>:
>> >
>> > Hi,
>> >
>> > I start building rpmfusion-packager-0.5.1 , with rpmfusion-koji
>> > command
>> > packaged , meantime new rfpkg fails to build srpm
>> nitpick, but why rpmfusion-koji, i'm using koji-rpmfusion everywhere,
>> but some started documenting rpmfusion-koji
>> It's minor issue, I don't mind anyway.
>
> because we have /etc/koji/rpmfusion-config , arm-config
> and /usr/bin/arm-koji so need to be rpmfusion-koji , to not change
> the script (arch=`basename $0 | cut -d '-' -f 1`)
>
Okay, but rpmfusion is not an arch. When we will need a arm/ppc
secondary, we will use arm-koji-rpmfusion and ppc-koji-rpmfusion.
Also look at the koji web URL, you start typing koji, then fedora or
rpmfusion. So here rpmfusion is a suffix not a prefix.
Please change the script, since the other is confusing, we just need
to use koji -c /etc/koji/rpmfusion-config (But I have a pending
question about this on #koji ...)
Ok I've found how to use koji -p:
koji -p rpmfusion list-tags
head /etc/koji.conf.d/rpmfusion.conf
[rpmfusion]
;configuration for koji cli tool
;url of XMLRPC server
server =
http://koji.rpmfusion.org/kojihub
etc...
I think it way more elegant than having koji commands into a wrapper.
That would solve the problem or having to choose between
koji-rpmfusion or rpmfusion-koji.