b3884b6 Add support for LTS versioned sub-packages

Authored and Committed by djdelorie 2 years ago
1 file changed. 42 lines added. 10 lines removed.
    Add support for LTS versioned sub-packages
    
    This change allows you to use one common spec file for two purposes:
    
    1. If the name is set to "make" you get the same make-X.Y packages
    as before.
    
    2. If the name is set to "make-latest" you get a make-latest
    meta-package and a makeXY subpackage on which it depends.  The
    subpackage installs in /opt (or elsewhere) to avoid conflict with an
    installed make-X.Y.  In this case, the user should edit:
    
      %global make make43   <-- to match the version being installed
      %global _prefix /opt/rh/%{make}  <-- to where you want it
    
        
file modified
+42 -10