If the "fedora" macro is not defined, then 0%{?fedora} < 17 is always true. This leads to broken builds when building the package in different environments. A good practice is to test if %fedora is set and only then proceed with the version comparison. Can you apply following change to spec? (there are 2 occurences of this problem): -%if 0%{?fedora} < 17 +%if 0%{?fedora} && 0%{?fedora} < 17
Fixed both in rawhide and F17. Thanks.