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

RHEL-9 Kpatch update spec file to current dist-git requirements

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

    • kpatch-0.9.10-10.el9
    • None
    • 1
    • rhel-kernel-livepatching
    • 0
    • False
    • False
    • Hide

      None

      Show
      None
    • No
    • CK Parent Issues In Progress
    • Unspecified Release Note Type - Unknown
    • Unspecified
    • Unspecified
    • Unspecified
    • None

      Currently a spec file parsing error prohibits in building the kpatch package from dist-git.

      $ rhpkg build --scratch --target rhel-9.8.0-candidate
      error: %patchN is obsolete, use %patch N (or %patch -P N): %patch0 -p1error: query of specfile /home/rado/dist-git/kpatch/kpatch.spec failed, can't parseCould not get n-v-r-e from /home/rado/dist-git/kpatch/kpatch.spec
      Note: You can skip NVR construction & NVR check with --skip-nvr-check. See help for more info.
      Could not execute build: Cannot continue without properly constructed NVR.
      

      While centpkg is able to ignore the errors, rhpkg is more strict and will fail to build the package.

              rvrbovsk@redhat.com Radomir Vrbovsky
              rvrbovsk@redhat.com Radomir Vrbovsky
              kpatch-maint kpatch-maint
              Pablo Hugen Pablo Hugen
              Votes:
              0 Vote for this issue
              Watchers:
              7 Start watching this issue

                Created:
                Updated: