[Fedora-packaging] use of %verifyscript

Michael Schwendt mschwendt at gmail.com
Mon May 7 16:58:41 UTC 2012

On Mon, 7 May 2012 08:54:09 -0700 (PDT), KA (Kamal) wrote:

> Jon,
> So now i have the following requires:
> Requires:       python-devel.i386
> Requires:       postgresql84-server.i386
> Requires:       postgresql84-python.i386

Typically, one does not add architecture specifiers, such as ".i386", to
Requires in a spec file, but relies on package tools to choose packages
made for a compatible architecture. On platforms, where the %_isa macro is

  $ rpm --eval %_isa

you can use it to create arch-specific Requires:

  Requires: python-devel%{?_isa}

Only do it if you feel confident enough, of course.

> and if i do "yum install myapplication", it will majically install  the pre-requisites  ? correct ?
> Queation is how would yum KNOW "myappliction"

Publish your packages in a local or remote _repository_ of packages.
Use "createrepo" tool, and point Yum at that repository.

Fedora release 17 (Beefy Miracle) - Linux 3.3.4-4.fc17.x86_64
loadavg: 0.00 0.03 0.05

More information about the packaging mailing list