4916ef5 Hardcode /usr/sbin/alternatives for Flatpak builds

Authored and Committed by ahughes 3 years ago
    Hardcode /usr/sbin/alternatives for Flatpak builds
    
    /usr/sbin/alternatives is not under the Flatpak build's %{_prefix},
    which is set to /app.
    
    (See <https://pagure.io/packaging-committee/issue/848> "Clarify the
    use of path macros with respect to build dependencies").
    
    Found when trying to do a LibreOffice Flatpak build from RHEL RPM
    specs, which includes java-1.8.0-openjdk among its components.
    
        
  • Build completed
    success
    Built as java-1.8.0-openjdk-1:1.8.0.282.b08-5.fc35
    3 years ago
  • Build completed
    success
    Built as java-1.8.0-openjdk-1:1.8.0.282.b08-5.eln110
    3 years ago
file modified
+18 -7