Re: [Rpm-maint] [rpm-software-management/rpm] error: parse error in expression: %{__isa_bits} == 64 (#1133)
Thank you for the explanation. > 0%{__isa_bits} == 64 should be the proper syntax. BTW, I used originally "%if %{__isa_bits} == 64" as I found it in the official documentation [here](https://rpm.org/user_doc/arch_dependencies.html). Please consider to correct it, if without `0` it is somehow incorrect. -- You are receiving this because you are subscribed to this thread. Reply to this email directly or view it on GitHub: https://github.com/rpm-software-management/rpm/issues/1133#issuecomment-603164609___ Rpm-maint mailing list Rpm-maint@lists.rpm.org http://lists.rpm.org/mailman/listinfo/rpm-maint
Re: [Rpm-maint] [rpm-software-management/rpm] error: parse error in expression: %{__isa_bits} == 64 (#1133)
Both versions: - [%if %{__isa_bits} == 64](https://src.fedoraproject.org/rpms/fixedptc/c/d9cb4b48e03e49b8865b20dacbfb81ef3192896a?branch=a420237f72f3d48a762fa6e967d3c38a443d59b0) - works on rawhide on local mock and [copr](https://copr.fedorainfracloud.org/coprs/dwrobel/fixedptc/build/1315874/) and fails on [koji](https://koji.fedoraproject.org/koji/taskinfo?taskID=42724782). - [%if 0%{__isa_bits} >= 64](https://src.fedoraproject.org/rpms/fixedptc/c/a420237f72f3d48a762fa6e967d3c38a443d59b0?branch=a420237f72f3d48a762fa6e967d3c38a443d59b0) - works on rawhide on local mock and [copr](https://copr.fedorainfracloud.org/coprs/dwrobel/fixedptc/build/1315877/) and fails on [koji](https://koji.fedoraproject.org/koji/taskinfo?taskID=42736337) koji log (excerpt): ``` error: parse error in expression: 0%{__isa_bits} >= 64 error: ^ error: /builddir/build/SPECS/fixedptc.spec:57: bad %if condition: 0%{__isa_bits} >= 64 ``` How this can be explained? -- You are receiving this because you are subscribed to this thread. Reply to this email directly or view it on GitHub: https://github.com/rpm-software-management/rpm/issues/1133#issuecomment-603135521___ Rpm-maint mailing list Rpm-maint@lists.rpm.org http://lists.rpm.org/mailman/listinfo/rpm-maint
[Rpm-maint] [rpm-software-management/rpm] error: parse error in expression: %{__isa_bits} == 64 (#1133)
Compiling [fixedptc](https://src.fedoraproject.org/rpms/fixedptc/blob/master/f/fixedptc.spec#_57) package failed in koji as follows: ``` error: parse error in expression: %{__isa_bits} == 64 error: ^ error: /builddir/build/SPECS/fixedptc.spec:57: bad %if condition: %{__isa_bits} == 64 ``` Full log is available [here](https://koji.fedoraproject.org/koji/taskinfo?taskID=42724782). However, I didn't observe similar problem while building in copr [here](https://download.copr.fedorainfracloud.org/results/dwrobel/fixedptc/fedora-rawhide-x86_64/01311349-fixedptc/). Was there any recent change in the syntax or in the parser? -- You are receiving this because you are subscribed to this thread. Reply to this email directly or view it on GitHub: https://github.com/rpm-software-management/rpm/issues/1133___ Rpm-maint mailing list Rpm-maint@lists.rpm.org http://lists.rpm.org/mailman/listinfo/rpm-maint