[MDEV-12525] Use CPACK_RPM_FILE_NAME="RPM-DEFAULT" Created: 2017-04-19  Updated: 2017-06-19  Resolved: 2017-06-19

Status: Closed
Project: MariaDB Server
Component/s: Packaging, Platform RedHat
Affects Version/s: 5.5, 10.0, 10.1, 10.2, 10.3
Fix Version/s: 10.1.25, 5.5.57, 10.0.32, 10.2.7

Type: Bug Priority: Major
Reporter: Sergey Vojtovich Assignee: Sergei Golubchik
Resolution: Fixed Votes: 0
Labels: contribution, foundation


 Description   

This has been implemented in for cmake-3.6 to match distro version of what the filename should look like.

Thanks to Domen Vranka for the suggestion from https://gitlab.kitware.com/cmake/cmake/issues/16715

example on FC25:

ls -la *rpm
-rw-rw-r-- 1 dan dan  4577938 Mar 26 15:57 MariaDB-client-5.5.55-1.fc25.x86_64.rpm
-rw-rw-r-- 1 dan dan    27170 Mar 26 15:57 MariaDB-common-5.5.55-1.fc25.x86_64.rpm
-rw-rw-r-- 1 dan dan  1391514 Mar 26 15:57 MariaDB-devel-5.5.55-1.fc25.x86_64.rpm
-rw-rw-r-- 1 dan dan 14906590 Mar 26 15:57 MariaDB-server-5.5.55-1.fc25.x86_64.rpm
-rw-rw-r-- 1 dan dan  1038230 Mar 26 15:57 MariaDB-shared-5.5.55-1.fc25.x86_64.rpm
-rw-rw-r-- 1 dan dan 20347734 Mar 26 15:57 MariaDB-test-5.5.55-1.fc25.x86_64.rpm



 Comments   
Comment by Sergei Golubchik [ 2017-06-19 ]

I've pushed the change. But it'll only work on the builders where distributions ship cmake 3.6.0+

Generated at Thu Feb 08 07:58:23 UTC 2024 using Jira 8.20.16#820016-sha1:9d11dbea5f4be3d4cc21f03a88dd11d8c8687422.