[PATCH] build: fix specfile logic for disabling netcf