[opensuse-buildservice] about testing for pre/postinstall scripts that are not idempotent
Hi, is there a "var" for "testing for pre/postinstall" I can use in my spec file. I just want to define %if 1%{?testing for pre/postinstall} do stuff here %endif because I get following error: pre/postinstall/uninstall script of <package> modifies filelist! This is for me a false positive Kind Regards Chris -- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-buildservice+help@opensuse.org
On Wed, May 27, 2009 at 10:56:02AM +0200, Christian wrote:
Hi,
is there a "var" for "testing for pre/postinstall" I can use in my spec file. I just want to define
%if 1%{?testing for pre/postinstall} do stuff here %endif
because I get following error: pre/postinstall/uninstall script of <package> modifies filelist!
This is for me a false positive
I doubt it is a false positive. Do you have the .spec file for us to review? Ciao, Marcus -- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-buildservice+help@opensuse.org
Hi Marcus, Marcus Meissner schrieb:
This is for me a false positive
I doubt it is a false positive.
Do you have the .spec file for us to review? home:computersalat:monitoring centreon
Ciao Chris
Ciao, Marcus
-- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-buildservice+help@opensuse.org
On Wed, May 27, 2009 at 11:08:06AM +0200, Christian wrote:
Hi Marcus,
Marcus Meissner schrieb:
This is for me a false positive
I doubt it is a false positive.
Do you have the .spec file for us to review? home:computersalat:monitoring centreon
/srv/%{name}/www/* And your moving /srv/centreon/www/install to ...install-%{release} in the post script. - Are you moving it away for backup? Why not "cp"? - Is a new rpm always delivering a new www root? - Could you mark changeable files as %config in there? Ciao, Marcus -- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-buildservice+help@opensuse.org
participants (2)
-
Christian
-
Marcus Meissner