%rename lib old_lib *lib: %{!qrtems: %(old_lib)} \ %{qrtems: %{!qrtems_debug: -lrtemsall } \ %{qrtems_debug: -lrtemsall_g} \ %(old_lib)}