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

Restore NEWS file in RPMs (java-21-openjdk) [rhel-10]

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Undefined Undefined
    • rhel-10.0.beta
    • rhel-8.9.0.z, rhel-9.3.0.z
    • java-21-openjdk
    • None
    • java-21-openjdk-21.0.4.0.7-1.el10
    • None
    • None
    • ZStream
    • rhel-sst-java
    • None
    • False
    • Hide

      None

      Show
      None
    • None
    • None
    • Approved Blocker
    • All
    • 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.

      $ rpmbuild -bs  java-21-openjdk.spec
      Wrote: /home/andrew/rpmbuild/SRPMS/java-21-openjdk-21.0.3.0.9-1.el8.src.rpm
      $ cd /tmp
      $ mkdir rpm
      $ cd rpm
      $ rpmbuild -rp --nodeps /home/andrew/rpmbuild/SRPMS/java-21-openjdk-21.0.3.0.9-1.el8.src.rpm
      $ rpmbuild -bs java-21-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
      

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

                Created:
                Updated: