[Bug 1483339] Review Request: kiwi - A flexible operating system image builder

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



https://bugzilla.redhat.com/show_bug.cgi?id=1483339



--- Comment #18 from Neal Gompa <ngompa13@xxxxxxxxx> ---
(In reply to Fabio Valentini from comment #17)
> 
> If you look at the koji task log, you'll see that there was an error where
> python2-kiwi built differently on ppc64 and x86_64, which I think will be an
> error for real package builds. It looks like the noarch package virtually
> provides archful python-kiwi, which is plain wrong. It looks like the 
> %python_provide macro fails here ...
> 

I've discovered this is caused when %python_provide is used before "BuildArch:
noarch" is declared. the spec parser doesn't yet know the subpackage is not
archful, so it does the wrong thing here... If the "BuildArch: noarch" is
_before_ the %python_provide macro, it works as it should.

I've fixed it accordingly.

> There are three additional, minor things I would suggest to change:
> 
> 13) You could drop the leading "A" from the summary tag. It's just noise.
> 

Done.

> 14) Since the -cli subpackage provides %{name}, you could just drop the cli
> subpackage entirely and put everything from it into the "main" kiwi package.
> But that's up to you.
> 

I do this because I want the content of the cli package to be noarch, and
limitations in rpm prevent me from doing it with the source package name while
having some archful subpackages.

Most of KIWI is noarch, so I did that to have it work out that way.

> 15) Since the package builds binaries from .c files with a Makefile, you
> will have to add "BR: gcc" and maybe even "BR: make" eventually.
> 
> 

Right. Done.

> Once fedora-review finally finishes I can conclude the review, since most
> issues have been addressed AFAICT.

Awesome.

For "final" verification:

Spec URL:
https://copr-be.cloud.fedoraproject.org/results/ngompa/KIWI/fedora-rawhide-x86_64/00728842-kiwi/kiwi.spec

SRPM URL:
https://copr-be.cloud.fedoraproject.org/results/ngompa/KIWI/fedora-rawhide-x86_64/00728842-kiwi/kiwi-9.13.7-0.fc29.3.src.rpm

Koji scratch build:
https://koji.fedoraproject.org/koji/taskinfo?taskID=25750129

-- 
You are receiving this mail because:
You are on the CC list for the bug.
You are always notified about changes to this product and component
_______________________________________________
package-review mailing list -- package-review@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to package-review-leave@xxxxxxxxxxxxxxxxxxxxxxx




[Index of Archives]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite Conditions]     [KDE Users]

  Powered by Linux