Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

noarch in spec file?

280 views
Skip to first unread message

Uwe Fritsch

unread,
Aug 17, 1999, 3:00:00 AM8/17/99
to
Hi,

is there a possibility to create a "noarch" package from information
within the spec file?

I know that you can build such a package using the command-line switch
"--buildarch noarch", but I would like to specify this in the package
spec file itself.

Thanks,
Uwe.
--
Uwe Fritsch

phone: +49-(0)6103-690-216 mailto:uwe.f...@fujitsu-ede.com
fax: +49-(0)6103-690-122
Fujitsu Mikroelektronik GmbH http://www.fujitsu-ede.com

--
To unsubscribe: mail -s unsubscribe rpm-list...@redhat.com < /dev/null


Carlo M. Arenas Belon

unread,
Aug 17, 1999, 3:00:00 AM8/17/99
to
> is there a possibility to create a "noarch" package from information
> within the spec file?

BuildArch: noarch

HTH

Carlo

Uwe Fritsch

unread,
Aug 17, 1999, 3:00:00 AM8/17/99
to
"Carlo M. Arenas Belon" wrote:
>
> > is there a possibility to create a "noarch" package from information
> > within the spec file?
>
> BuildArch: noarch

This results in:

No buildable architectures

BTW, I am using rpm-2.5.

Uwe.

>
> HTH
>
> Carlo
>
> --
> To unsubscribe: mail -s unsubscribe rpm-list...@redhat.com < /dev/null

--
Uwe Fritsch

--

Troy Engel

unread,
Aug 17, 1999, 3:00:00 AM8/17/99
to
Uwe Fritsch wrote:
>
> is there a possibility to create a "noarch" package from information
> within the spec file?

BuildArchitectures: noarch

-te

--
Troy Engel
GPG KeyID: DF3D5207
GPG Key Server: http://pgp5.ai.mit.edu/pks-commands.html
GPG Fingerprint: BDF5AC2BDFB8058C 4FBDCEE6E16BB199 DF3D5207

Uwe Fritsch

unread,
Aug 18, 1999, 3:00:00 AM8/18/99
to
Hi,

I have tried the following combinations:

Specfile Result of running rpm -ba <specfile>
--------------------------------------------------------------------
BuildArchs: noarch line 42: Unknown tag: BuildArchs: noarch
BuildArch: noarch No buildable architectures
BuildArchitectures: noarch No buildable architectures
BuildArchitecture: noarch line 42: Unknown tag: BuildArchitecture:
noarch

It seems that BuildArch and BuildArchitectures are recognized somehow,
but do not lead to the expected result. Is this a bug?

Thanks,
Uwe.

--
Uwe Fritsch

--

Jeff Johnson

unread,
Aug 18, 1999, 3:00:00 AM8/18/99
to
On Wed, Aug 18, 1999 at 03:02:57PM +0200, Uwe Fritsch wrote:
> Hi,
>
> I have tried the following combinations:
>
> Specfile Result of running rpm -ba <specfile>
> --------------------------------------------------------------------
> BuildArchs: noarch line 42: Unknown tag: BuildArchs: noarch
> BuildArch: noarch No buildable architectures
> BuildArchitectures: noarch No buildable architectures
> BuildArchitecture: noarch line 42: Unknown tag: BuildArchitecture:
> noarch
>

What platform are you building on? Make sure that /usr/lib/rpm/rpmrc has a
buildarch_compat line for your architecture that includes noarch.

73 de Jeff

--
Jeff Johnson ARS N3NPQ
j...@jbj.org (j...@redhat.com)
Chapel Hill, NC

Uwe Fritsch

unread,
Aug 19, 1999, 3:00:00 AM8/19/99
to
Jeff Johnson wrote:
>
> On Wed, Aug 18, 1999 at 03:02:57PM +0200, Uwe Fritsch wrote:
> > Hi,
> >
> > I have tried the following combinations:
> >
> > Specfile Result of running rpm -ba <specfile>
> > --------------------------------------------------------------------
> > BuildArchs: noarch line 42: Unknown tag: BuildArchs: noarch
> > BuildArch: noarch No buildable architectures
> > BuildArchitectures: noarch No buildable architectures
> > BuildArchitecture: noarch line 42: Unknown tag: BuildArchitecture:
> > noarch
> >
>
> What platform are you building on? Make sure that /usr/lib/rpm/rpmrc has a
> buildarch_compat line for your architecture that includes noarch.

"buildarch_compat: usparc: noarch" in ~/.rpmrc solved the problem for
rpm-2.5.
BTW, looking to rpm-3.0.2 usparc no longer seems to exist, I guess
sparc64 was introduced instead of.

Thanks to all who have sent me hints,
Uwe.

>
> 73 de Jeff
>
> --
> Jeff Johnson ARS N3NPQ
> j...@jbj.org (j...@redhat.com)
> Chapel Hill, NC
>
> --
> To unsubscribe: mail -s unsubscribe rpm-list...@redhat.com < /dev/null

--
Uwe Fritsch

--

0 new messages