[Fedora-packaging] %prep
Jon Ciesla
limburgher at gmail.com
Thu Apr 12 13:49:47 UTC 2012
2012/4/12 Kamal Ahmed <kamal2222ahmed at yahoo.com>:
> 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 at lists.fedoraproject.org
> https://admin.fedoraproject.org/mailman/listinfo/packaging
--
in your fear, seek only peace
in your fear, seek only love
-d. bowie
More information about the packaging
mailing list