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

rpm uninstall



Hi,

When i uninstall rpm , it uninstalls rpm package and also deletes the directory (%prefix value) where rpm was installed. Is there any option i can configure, so that only rpm is uninstalled but directory created during install remains .

Spec file contains:

%files
%defattr(755, root, root)
%dir %{_prefix}
%{_prefix}/common.jar

I tried removing removing "%dir" from spec file.But, still the _prefix directory is deleted on uninstallation.Any inputs , how i can acheive this?

Thanks
Manga Padmaja.



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