http://bugzilla.opensuse.org/show_bug.cgi?id=1187320 Bug ID: 1187320 Summary: RPM macro 'sle_version' missing in 15.3 Classification: openSUSE Product: openSUSE Distribution Version: Leap 15.3 Hardware: Other OS: Other Status: NEW Severity: Normal Priority: P5 - None Component: Development Assignee: screening-team-bugs@suse.de Reporter: alex.honeywell@superna.net QA Contact: qa-bugs@suse.de Found By: --- Blocker: --- Accoring to https://en.opensuse.org/openSUSE:Packaging_for_Leap#RPM_Distro_Version_Macro... this macro should be defined as `150300` however it is not present in `/usr/lib/rpm/suse/macros` provided by `rpm-config-SUSE-1-3.61`:`suse_macros.in` for Leap 15.3 ``` ... %supplements_kernel_module() \ %{expand:%(if ! rpm -q kernel-syms > /dev/null; then echo "%fail Please add the kernel-syms package to BuildRequires"; fi)} %suse_version @suse_version@ %sles_version @sles_version@ %ul_version @ul_version@ %is_opensuse @is_opensuse@ %do_profiling ...``` contrast to `/usr/lib/rpm/suse_macros` provided by `rpm-4.14.1-lp152.17.5`:`rpm-suse_macros` ``` ... %supplements_kernel_module() \ %{expand:%(if ! rpm -q kernel-syms > /dev/null; then echo "%fail Please add the kernel-syms package to BuildRequires"; fi)} %suse_version @suse_version@ %sles_version @sles_version@ %ul_version @ul_version@ %is_opensuse @is_opensuse@ %sle_version @sle_version@ %leap_version @leap_version@ %do_profiling 1 ... ``` Result: ``` lp152:~ # rpm --eval '0%{?sle_version}' 0150200 --- lp153:~ # rpm --eval '0%{?sle_version}' 0 ``` -- You are receiving this mail because: You are on the CC list for the bug.