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

jpackage fails to create rpm on Fedora Linux

    XMLWordPrintable

    Details

    • Subcomponent:
    • Resolved In Build:
      b27
    • CPU:
      x86_64
    • OS:
      linux_redhat_6.0
    • Verification:
      Verified

      Description

      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


        Attachments

          Issue Links

            Activity

              People

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

                Dates

                Created:
                Updated:
                Resolved: