Google
  Web www.spinics.net

Re: %prep

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


2012/4/12 Kamal Ahmed <kamal2222ahmed@xxxxxxxxx>:
> Is it ok to have the following in the %prep section
>
> %prep
> sudo yum -y groupinstall "Development Tools"
> echo "Installing Development Tools"
> sudo yum -y install python-devel.i386
> sudo yum -y install postgresql84-server.i386 postgresql84-devel.i386
> postgresql84-python.i386
>

No, you should never call sudo, yum, or rpm in a spec.  If you need
packages installed at build time, use BuildRequires.

-J

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



-- 
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



[Home]     [Fedora Legacy]     [Fedora Desktop]     [Red Hat 9 Bible]     [Fedora Bible]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]

Powered by Linux

Google
  Web www.spinics.net