Uploaded image for project: 'RHEL'
  1. RHEL
  2. RHEL-149328

Restore NEWS file in RPMs (java-17-openjdk) [rhel-8.10.z]

Linking RHIVOS CVEs to...Migration: Automation ...Sync from "Extern...XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Undefined Undefined
    • None
    • rhel-8.4.0.z, rhel-8.6.0.z, rhel-8.8.0.z, rhel-8.10.z
    • java-17-openjdk
    • None
    • Important
    • rhel-sst-java
    • None
    • False
    • False
    • Hide

      None

      Show
      None
    • None
    • None
    • None
    • None
    • Unspecified
    • Unspecified
    • Unspecified
    • None

      We ship the portable spec file in the RPM so that the entire process (portable & RPM build) can be recreated from the RPM SRPM. This currently is not possible because the NEWS file is not included.

      $ git branch --show-current
      rhel-8-main
      $ rpmbuild -bs java-17-openjdk.spec
      Wrote: /home/andrew/rpmbuild/SRPMS/java-17-openjdk-17.0.17.0.10-1.el8.src.rpm
      $ cd /tmp
      $ mkdir rpm
      $ cd rpm
      $ rpmbuild -rp --nodeps /home/andrew/rpmbuild/SRPMS/java-17-openjdk-17.0.17.0.10-1.el8.src.rpm
      Installing /home/andrew/rpmbuild/SRPMS/java-17-openjdk-17.0.17.0.10-1.el8.src.rpm
      ...
      $ rpmbuild -bs java-17-openjdk-portable.specfile 
      error: Bad file: /tmp/rpm/NEWS: No such file or directory
      
      
      RPM build errors:
          Bad file: /tmp/rpm/NEWS: No such file or directory
      

              fitzsim Thomas Fitzsimmons
              rhn-engineering-ahughes Andrew Hughes
              Thomas Fitzsimmons Thomas Fitzsimmons
              David Kutalek David Kutalek
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated: