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

%patch macro is not escaped in nss.spec

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Normal Normal
    • rhel-10.0.beta
    • rhel-10.0.beta
    • nss
    • nss-3.101.0-7.el10
    • Yes
    • None
    • 1
    • sst_security_crypto
    • ssg_security
    • 29
    • 30
    • 1
    • False
    • Hide

      None

      Show
      None
    • No
    • Crypto24Q3
    • Unspecified Release Note Type - Unknown
    • None

      What were you trying to do that didn't work?

      This is a regression of RHEL-1260.

      %patch macro in changelog is supposed to be escaped as %%patch according to https://access.redhat.com/documentation/en-us/red_hat_enterprise_linux/8/html/packaging_and_distributing_software/advanced-topics:

      > Macros are evaluated even if they are commented out or the name of the macro is given into the %changelog section of the SPEC file. To comment out a macro, use %%. For example: %%global.

      Please provide the package NVR for which the bug is seen:

      nss-3.101.0-6.el10

      How reproducible is this bug?:

      Steps to reproduce

       

      # grep '%patch' <(sed '1,/^%changelog/d'  /root/rpmbuild/SPECS/nss.spec)

       

      Expected results

      - Update %%patch syntax

      Actual results

      - Update %patch syntax

            rrelyea@redhat.com Robert Relyea
            omoris Ondrej Moris
            Robert Relyea Robert Relyea
            Ondrej Moris Ondrej Moris
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated: