Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8257434

jpackage fails to create rpm on Fedora Linux

XMLWordPrintable

    • b27
    • x86_64
    • linux_redhat_6.0
    • Verified

      ADDITIONAL SYSTEM INFORMATION :
      Fedora 33
      rpmbuild version 4.16.0

      A DESCRIPTION OF THE PROBLEM :
      When jpackage calls rpmbuild to generate rpm package it fails with the following error:
      error: bare words are no longer supported, please use "...": "x/opt" != x
      error: ^
      error: /tmp/jdk.incubator.jpackage15887147244578094457/SPECS/main.spec:8: bad %if condition: "x/opt" != x


      ---------- BEGIN SOURCE ----------
      https://gitlab.com/AngelForest/jpackage-test
      ---------- END SOURCE ----------

      FREQUENCY : always


            asemenyuk Alexey Semenyuk
            webbuggrp Webbug Group
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

              Created:
              Updated:
              Resolved: