RPM question

Rex Dieter rdieter at math.unl.edu
Sun Dec 4 18:31:16 UTC 2005


Luc MAIGNAN wrote:
> Hi,
> 
> sorry for a so newbie question, but I can't find the answer in the howto
> i've read.
> I want to build a RPM to install a software i've written. In the .spec,
> the %install tag seems to be executed when the rpm is built and not when
> i  install it. Where can I put code in the spec file to execute it at
> installation time ? (rpm -ivh)

%pre
%post
%preun
%postun

For pre/post installation, and pre/post uninstallation, respectively.

-- Rex




More information about the fedora-list mailing list