This is a feature. The way the spec parser works, rpm will never see the Patch 
line at all, just like `#if 0` prevents a compiler from looking at what's 
inside.

Proper packaging requires that patch and source declarations are unconditional, 
if conditionals are needed those need to be used when applying.

-- 
Reply to this email directly or view it on GitHub:
https://github.com/rpm-software-management/rpm/issues/2282#issuecomment-1323215304
You are receiving this because you are subscribed to this thread.

Message ID: <rpm-software-management/rpm/issues/2282/1323215...@github.com>
_______________________________________________
Rpm-maint mailing list
Rpm-maint@lists.rpm.org
http://lists.rpm.org/mailman/listinfo/rpm-maint

Reply via email to