Sample Header Ad - 728x90

Which RPM Spec Macro provides OS Minor in Release, eg el8_4?

1 vote
1 answer
1155 views
How do I get the OS Minor in the Release field of the RPMs? I understand that the spec file entry %{?dist} expands to the OS Major
Name:     mypkg
    Version:  2.3
    Release:  1.2%{?dist}
    Arch:     noarch
and so the package is
mypkg-2.3-1.2.el8.noarch
Which marco could I use so it also provides the OS Minor, eg
mypkg-2.3-1.2.el8_4.noarch
thanks
Asked by Amitava (11 rep)
Sep 14, 2021, 05:29 PM
Last activity: Sep 15, 2021, 12:37 PM