File _patchinfo of Package patchinfo.6038

<patchinfo incident="6038">
  <issue id="1003714" tracker="bnc">no rpm macro for 42.2 version</issue>
  <issue id="1027925" tracker="bnc">Incomplete German translation in Plasma 5</issue>
  <issue id="1069934" tracker="bnc">pkg_vcmp rpm macro should be provided in SLE in order to make it usable</issue>
  <category>recommended</category>
  <rating>low</rating>
  <packager>leonardocf</packager>
  <summary>Recommended update for rpm</summary>
  <description>
This update for rpm provides the following fixes:

- Fix find-lang.sh to handle special case of .qm file paths correctly. (bsc#1027925)
- Add %sle_version macro to suse_macros. (bsc#1003714)
- Added a %rpm_vercmp macro which accepts two versions as parameters and returns -1, 0, 1
  if the first version is less than, equal or greater than the second version respectively.
- Added a %pkg_version macro that accepts a package or capability name as argument and
  returns the version number of the installed package. If no package provides the argument,
  it returns the string "~~~".
- Added a %pkg_vcmp macro that accepts 3 parameters. The first parameter is a package name
  or provided capability name, the second argument is an operator ( &lt; &lt;= = &gt;= &gt; != )
  and the third parameter is a version string to be compared to the installed version of
  the first argument.
- Added a %pkg_version_cmp macro which accepts a package or capability name as first argument
  and a version number as second argument and returns -1, 0, 1 or "~~~". The number values
  have the same meaning as in %rpm_vercmp and the "~~~" string is returned if the package
  or capability can't be found. (bsc#1069934)
</description>
</patchinfo>
openSUSE Build Service is sponsored by