Re: use of %verifyscript

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

 



Jon,

So now i have the following requires:

Requires:       python-devel.i386
Requires:       postgresql84-server.i386
Requires:       postgresql84-python.i386

and the following BuildRequires:

BuildRequires:  gcc = 4.1.2
BuildRequires:  make >= 3.81
BuildRequires:  postgresql84-devel = 8.4.9

and i get rpm buid fine, and get the following message:


Requires: /bin/bash /usr/bin/env libc.so.6 libc.so.6(GLIBC_2.0) libc.so.6(GLIBC_2.1) libc.so.6(GLIBC_2.2) libc.so.6(GLIBC_2.3) libnsl.so.1 libpq.so.5 libpthread.so.0 libpthread.so.0(GLIBC_2.0) libpthread.so.0(GLIBC_2.1) libpthread.so.0(GLIBC_2.2) librt.so.1 postgresql84-python.i386 postgresql84-server.i386 python(abi) = 2.4 python-devel.i386 rtld(GNU_HASH)
So now when i install this rpm via the "rpm -ivh myapplication.rpm"
i will get Warnings, IF the Requires are not installed

and if i do "yum install myapplication", it will majically install  the pre-requisites  ? correct ?

Queation is how would yum KNOW "myappliction"

Thanks,
-Kamal.


From: Jon Ciesla <limburgher@xxxxxxxxx>
To: Kamal Ahmed <kamal2222ahmed@xxxxxxxxx>; Discussion of RPM packaging standards and practices for Fedora <packaging@xxxxxxxxxxxxxxxxxxxxxxx>
Sent: Monday, May 7, 2012 11:14 AM
Subject: Re: use of %verifyscript

On Mon, May 7, 2012 at 10:13 AM, Kamal Ahmed <kamal2222ahmed@xxxxxxxxx> wrote:
> Is there a way to verify if an application is installed , from within a SPEC
> file ?
> Maybe using %verifyscript section ?

For build time, BuildRequires.  For runtime, Requires.

-J

> Thanks,
> -Kamal.
>
> --
> packaging mailing list
> packaging@xxxxxxxxxxxxxxxxxxxxxxx
> https://admin.fedoraproject.org/mailman/listinfo/packaging



--
http://cecinestpasunefromage.wordpress.com/
------------------------------------------------
in your fear, seek only peace
in your fear, seek only love

-d. bowie


--
packaging mailing list
packaging@xxxxxxxxxxxxxxxxxxxxxxx
https://admin.fedoraproject.org/mailman/listinfo/packaging

[Index of Archives]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite Forum]     [KDE Users]

  Powered by Linux