On 02/26/2018 12:53 PM, Artur Iwicki wrote: > Is there a way I can automatically do something like "BuildRequires: fpc (whatever version); Requires: fpc = version-used-during-build", or would I have to control this manually? You can define an RPM macro for the version in fpc, e.g., by adding a file /usr/lib/rpm/macros.d/macros.fpc with the line %_fpc_version X.Y.Z and then use Requires: fpc = %_fpc_version in the Lazarus spec. You will still need to update the macro definition on every FPC update. Regards, Till _______________________________________________ devel mailing list -- devel@xxxxxxxxxxxxxxxxxxxxxxx To unsubscribe send an email to devel-leave@xxxxxxxxxxxxxxxxxxxxxxx