[opensuse-kde] Issue with prjconf in KDE:Distro:Factory
Currently for all packages in K:D:F the following error is reported in the build log during compilation: error: Macro %if has illegal name (%define) error: Macro %endif has empty body I checked the prjconf for K:D:F and it seems there is an issue with the following lines: %if 0%{?suse_version} <= 1210 && !("%_repository" == "SLE_11_SP1") Support: xz %endif If you put these lines above the Macros: %requires_ge() [...] entry, the error is gone since they are not interpreted as macros (checked it in my home project). Asterios -- To unsubscribe, e-mail: opensuse-kde+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-kde+owner@opensuse.org
On Fri, 20 Jul 2012 21:13, Asterios Dramis <asterios.dramis@...> wrote:
Currently for all packages in K:D:F the following error is reported in the build log during compilation:
error: Macro %if has illegal name (%define) error: Macro %endif has empty body
I checked the prjconf for K:D:F and it seems there is an issue with the following lines:
%if 0%{?suse_version} <= 1210 && !("%_repository" == "SLE_11_SP1") Support: xz %endif
If you put these lines above the
Macros: %requires_ge() [...]
entry, the error is gone since they are not interpreted as macros (checked it in my home project).
Asterios
in the line: %if 0%{?suse_version} <= 1210 && !("%_repository" == "SLE_11_SP1") the "%_repository" seems wrong to me, instincs say something like "%{?_repository}" but that's also not (really) right... None the less, the "%_repository" is taken as an define here, and thus wrong. -- Yamaban -- To unsubscribe, e-mail: opensuse-kde+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-kde+owner@opensuse.org
Hi; Quoting Asterios Dramis <asterios.dramis@gmail.com>:
Currently for all packages in K:D:F the following error is reported in the build log during compilation:
error: Macro %if has illegal name (%define) error: Macro %endif has empty body
I checked the prjconf for K:D:F and it seems there is an issue with the following lines:
%if 0%{?suse_version} <= 1210 && !("%_repository" == "SLE_11_SP1") Support: xz %endif
If you put these lines above the
Macros: %requires_ge() [...]
entry, the error is gone since they are not interpreted as macros (checked it in my home project).
Should be fixed now. Thanks for the heads up! Regards. -- Ismail Dönmez - openSUSE Booster SUSE LINUX Products GmbH Maxfeldstr. 5, 90409 Nürnberg, Germany GF: Jeff Hawn, Jennifer Guild, Felix Imendörffer, HRB 16746 (AG Nürnberg) -- To unsubscribe, e-mail: opensuse-kde+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-kde+owner@opensuse.org
participants (3)
-
Asterios Dramis
-
Ismail Doenmez
-
Yamaban