Re: Need help with packaging

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

 



On Wed, 7 Aug 2013 14:03:11 +0200, Juerg Haefliger wrote:

> All,
> 
> I'm struggling with massaging the spec file of one of my packages to
> do what I need it to. I have this noarch package (cloud-utils, just a
> bunch of shell scripts) that I split up into a main package and a
> subpackage. The reason being that some scripts depend on qemu-img
> which is not available in EPEL i386 and ppc64 but I want one
> particular script to be available in all arches in EPEL, so I put that
> single scirpt into its own subpackage. So what I need is to build both
> the main package and the subpackage for EPEL x86_64 but only build the
> subpackage for EPEL i386 and ppc64. Does that make sense or I'm I
> completely out of my mind? Can I do this with a noarch package? I
> tried ExcludeArch and %ifarch conditionals but I always end up with
> either no package being built on EPEL i386 and ppc64 or both.
> 
> Any help is greatly appreciated.

ExclusiveArch and ExcludeArch are per src.rpm not per sub-package.
Your only option is to split into multiple source rpms.
-- 
devel mailing list
devel@xxxxxxxxxxxxxxxxxxxxxxx
https://admin.fedoraproject.org/mailman/listinfo/devel
Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct





[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Fedora Announce]     [Fedora Kernel]     [Fedora Testing]     [Fedora Formulas]     [Fedora PHP Devel]     [Kernel Development]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Gimp]     [Yosemite News]
  Powered by Linux