Uploaded image for project: 'OpenJDK'
  1. OpenJDK
  2. OPENJDK-3139

Restore NEWS file in RPMs

XMLWordPrintable

    • Icon: Epic Epic
    • Resolution: Unresolved
    • Icon: Major Major
    • None
    • None
    • None
    • MissingNEWS
    • False
    • Hide

      None

      Show
      None
    • False
    • To Do
    • 22% To Do, 11% In Progress, 67% Done

      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
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated: