Re: [Rpm-maint] [rpm-software-management/rpm] Stop expanding strings in the expression parser (#845)

2019-09-18 Thread Panu Matilainen
pmatilai approved this pull request. Agreed. Thanks for the patch. -- You are receiving this because you are subscribed to this thread. Reply to this email directly or view it on GitHub:

[Rpm-maint] [rpm-software-management/rpm] Stop expanding strings in the expression parser (#845)

2019-09-18 Thread Michael Schroeder
The %if lines in the specfile are expanded before the expressions get evaluated, so the re-expansion of strings is surprising. Its also not done for integers, which makes it inconsistent. The original expression parser seems to have been written without taking the upfront expansion into account,