[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]
Re: arch of package
- From: Panu Matilainen <pmatilai welho com>
- To: rpm-list redhat com
- Subject: Re: arch of package
- Date: Fri, 26 Sep 2003 12:01:03 +0300
Quoting "Michael A. Peters" <mpeters@mac.com>:
> Suppose I have a package that is meant to be able to be cleanly
> installed with multiple versions side by side.
>
> In order to get around the rpm conflict of man pages, the man pages is
> split into a different package.
>
> I want the package itself to be either .athlon.rpm or .i686.rpm or
> .ppc.rpm
>
> The man pages I want to be .noarch.rpm
>
> I have tried setting the Buildarch flag for the man pages sub package -
> but that seems to effect ALL of the packages.
>
> I bought the rpm book advertised on RH's website - really good book,
> I've been some stuff wrong - and that book set me straight, but I can't
> find how to have multiple arch's from a single spec file.
Not straightforward to do within a single spec file. You need to make man pages
only build when noarch target is set and then build the package with
"rpmbuild -bb --target i386,noarch foo.spec" to get both noarch and i386 to
build on a seemingly single run.
Probably easier to split out the noarch stuff to a separate package...
--
- Panu -
[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]