
On Tue, 2021-12-14 at 16:36 +0100, Ben Greiner wrote:
Am 14.12.21 um 15:47 schrieb Michal Suchánek:
On Tue, Dec 14, 2021 at 06:42:11AM -0500, Neal Gompa wrote:
On Tue, Dec 14, 2021 at 6:05 AM Larry Finger <Larry.Finger@lwfinger.net> wrote:
VirtualBox uses this macro as the destination for some files, but it does not exist in SLE15-SP2. What would be a good workaround?
It exists as part of the python-rpm-macros package. Make sure that's pulled in as a build dependency. Looks like this used to be pulled in by something but not anymore for multiple packages.
I maintain a python package which started failing on 15.2 and 15.3 due to lack of this macro.
Thanks
Michal
AFAIR it was intentional but reverted for Tumbleweed, apparently the reversal didn't make it into SLE15-SP2: https://build.opensuse.org/request/show/864328 talks about bsc#1180125, but that one is not available for us non-SUSErs.
IMHO you should explicitly require it if you are using definitions from it.
1180125 was a complaint that python3-base pulls in python-rpm-macros. Some people seem seriously concerned about 50kB worth of rpm macro code. The solution was to remove the dependency. I believe this was ill- advised. If python is installed, I expect 'rpm --eval %{python_version}' to work. The fact that the dependency has now been added to the rpm package instead makes no sense to me. What did we gain in the end by moving this dependency from python3-base to rpm? Martin