diff --git a/doc/rpm-build/checkout-build-archives.php b/doc/rpm-build/checkout-build-archives.php index 197c9be0a1..794efc61d4 100755 --- a/doc/rpm-build/checkout-build-archives.php +++ b/doc/rpm-build/checkout-build-archives.php @@ -1186,9 +1186,9 @@ function do_copy() { throw new Exception("Can NOT read $path to verify version!"); } - if ($json['version'] !== $config['version']) + if ($json['version'] !== $config['version'].'.'.$config['packaging']) { - throw new Exception("Version in composer.json does not match: '$json[version]' !== '$config[version] --> aborting!"); + throw new Exception("Version in composer.json does not match: '$json[version]' !== '$config[version].$config[packaging] --> aborting!"); } try {