[opensuse-packaging] define in project-config does not work?
Hi! I have the following line in the project config: %define is_kde_kde3 1 Then in the spec file this is checked: %if 0%{?is_kde_kde3} > 0 ... %endif It seems that the package still builds as if the condition was not met. If to replace "%if 0%{?is_kde_kde3} > 0" with "%if 1 > 0 " the block under the condition runs. Any thoughts on how to make it work as intended? -- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-packaging+help@opensuse.org
Le samedi 06 août 2011, à 15:34 +0400, Ilya Chernykh a écrit :
Hi!
I have the following line in the project config:
%define is_kde_kde3 1
Try: %is_kde_kde3 1 Vincent -- Les gens heureux ne sont pas pressés. -- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-packaging+help@opensuse.org
On Saturday 06 August 2011 19:47:15 Vincent Untz wrote:
I have the following line in the project config:
%define is_kde_kde3 1
Try: %is_kde_kde3 1
Vincent
Indeed, this works if to add this to the Macro: section, I already did so, hence the problem is over. -- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-packaging+help@opensuse.org
participants (2)
-
Ilya Chernykh
-
Vincent Untz