Mailinglist Archive: opensuse-bugs (4069 mails)

< Previous Next >
[Bug 679810] openSUSE:Tools/osc-source_validator: Bug

Ruediger Oertel <ro@xxxxxxxx> changed:

What |Removed |Added
InfoProvider| |viliam.pucik@xxxxxxxxx
Severity|Normal |Minor

--- Comment #2 from Ruediger Oertel <ro@xxxxxxxx> 2011-08-01 23:10:01 UTC ---
I really doubt it's possible to do this cleanly, currently we are simply
changing all %if's to "%if 1" except for "%if.*%{name}" and "%ifarch"

the test for the files present is a sed script that feeds into rpm to process
the first part of the specfile, and too much macro processing is not done there
(plus with each corner case we add support for breaks another dozen of

is this "%if.*release" a very common case ?

I'm running a more elaborated specfile parser with quite some %if expansion
in the specfile formatter, but this would probably not end up being much better

Configure bugmail:
------- You are receiving this mail because: -------
You are on the CC list for the bug.

< Previous Next >
This Thread
  • No further messages