Recommended update for python-rpm-macros

SUSE Recommended Update: Recommended update for python-rpm-macros
Announcement ID: SUSE-RU-2019:0966-1
Rating: moderate
References: #1128323
Affected Products:
  • SUSE Linux Enterprise Module for Basesystem 15

An update that has one recommended fix can now be installed.


This update for python-rpm-macros fixes the following issues:
The Python RPM macros were updated to version 20190408.32abece, fixing bugs (bsc#1128323)

  • Add missing $ expansion on the pytest call
  • Rewrite pytest and pytest_arch into Lua macros with multiple arguments.
  • We should preserve existing PYTHONPATH.
  • Add --ignore to pytest calls to ignore build directories.
  • Actually make pytest into function to capture arguments as well
  • Add pytest definitions.
  • Use upstream-recommended %{_rpmconfigdir}/macros.d directory for the rpm macros.
  • Fix an issue with epoch printing having too many \
  • add epoch while printing "Provides:"

Patch Instructions:

To install this SUSE Recommended Update use the SUSE recommended installation methods like YaST online_update or "zypper patch".
Alternatively you can run the command listed for your product:

  • SUSE Linux Enterprise Module for Basesystem 15:
    zypper in -t patch SUSE-SLE-Module-Basesystem-15-2019-966=1

Package List:

  • SUSE Linux Enterprise Module for Basesystem 15 (noarch):
    • python-rpm-macros-20190408.32abece-3.5.1