• Daniel Black's avatar
    MDEV-27386: cpack rpm libsepol installed detects verison incorrectly · 5d57e04b
    Daniel Black authored
    ... when two packages are installed.
    
    (fc35 with i686 and x86_64 packages of libsepol installed).
    $ rpm -q --qf "%{VERSION}" libsepol
    3.33.3
    
    Restricting the version to the current achitecture generates
    a much more obtainable version dependency.
    
    $ rpm -q --qf "%{VERSION}" libsepol.x86_64
    3.3
    
    This make dependency resolution easier preventing:
    $ sudo dnf localinstall  MariaDB-server-10.8.0-1.fc35.x86_64.rpm ...
    Last metadata expiration check: 2:06:49 ago on Thu 30 Dec 2021 14:02:32.
    Error:
     Problem 1: conflicting requests
      - nothing provides libsepol >= 3.33.3 needed by MariaDB-server-10.8.0-1.fc35.x86_64
    
    The CMAKE_SYSTEM_PROCESSOR is used in the generation of architecture
    filenames so its preduent to just use the same version.
    5d57e04b
CMakeLists.txt 8.34 KB