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

Debian packaging ignores version and release in custom control file

    XMLWordPrintable

    Details

    • Type: Enhancement
    • Status: Resolved
    • Priority: P3
    • Resolution: Fixed
    • Affects Version/s: internal
    • Fix Version/s: internal
    • Component/s: tools
    • Labels:
    • Subcomponent:
    • CPU:
      generic
    • OS:
      linux

      Description

      Feedback from Sverre Moe <sverre.moe@gmail.com>:

      When using a control file from the resource directory, jpackage does not
      use its version and release.
      Must apply "--app-version" and "--linux-app-release" in order to get the
      proper version and release on file name.

      Running dpkg-deb --show and --info has the correct version and release.
        dpkg-deb --show build/deb/application_1.0-1_amd64.deb
        application 1.1.0-SNAPSHOT20190904113134

      I wonder where it gets the version 1.0 from, since my
      project.version=1.1.0. The jpackage should at least use the project version
      if no other version is specified.

      This is a problem only for the debian package on Linux. When building an
      RPM, jpackage uses both the Version and Release defined within the spec
      resource file.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              asemenyuk Alexey Semenyuk
              Reporter:
              asemenyuk Alexey Semenyuk
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: