Recommended update for python-rpm-macros

Announcement ID: SUSE-RU-2019:0965-1
Rating: moderate
References:
Affected Products:
  • SUSE Linux Enterprise Desktop 12 SP3
  • SUSE Linux Enterprise Desktop 12 SP4
  • SUSE Linux Enterprise High Performance Computing 12 SP3
  • SUSE Linux Enterprise High Performance Computing 12 SP4
  • SUSE Linux Enterprise Server 12 SP3
  • SUSE Linux Enterprise Server 12 SP4
  • SUSE Linux Enterprise Server for SAP Applications 12 SP3
  • SUSE Linux Enterprise Server for SAP Applications 12 SP4
  • SUSE Linux Enterprise Software Development Kit 12 SP3
  • SUSE Linux Enterprise Software Development Kit 12 SP4

An update that has one fix can now be installed.

Description:

This update for python-rpm-macros fixes the following issues:

The Python RPM macros were update to version 20190408.32abece to fix lots of bugs. (bsc#1128323)

  • 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 \
  • Remove packaging/ dir
  • add epoch while printing "Provides:"
  • better fix for macro usage in rpm 4.14
  • Fix macro usage for rpm 4.14
  • use %_specfile macro to locate the spec file, this should help with factory-auto bot problems as well as issue#3

Patch Instructions:

To install this SUSE 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 Software Development Kit 12 SP3
    zypper in -t patch SUSE-SLE-SDK-12-SP3-2019-965=1
  • SUSE Linux Enterprise Software Development Kit 12 SP4
    zypper in -t patch SUSE-SLE-SDK-12-SP4-2019-965=1

Package List:

  • SUSE Linux Enterprise Software Development Kit 12 SP3 (noarch)
    • python-rpm-macros-20190408.32abece-3.8.1
  • SUSE Linux Enterprise Software Development Kit 12 SP4 (noarch)
    • python-rpm-macros-20190408.32abece-3.8.1

References: