The package name has changed but the new package contains the same files as the
old, so we need to Obsolete: the old ones so that yum will remove them.
(Because the old scheme generated package names on the fly according to the
running kernel, the list in this patch may well be missing a few packages.)
Caveat: this fixes 'yum update' but cannot fix direct RPM installation.
You'll have to uninstall the old package manually if you do that.
Orabug:
18061595
Reviewed-by: Kris Van Hees <kris.van.hees@oracle.com>
Signed-off-by: Nick Alcock <nick.alcock@oracle.com>
%package -n dtrace-modules-provider-headers
Summary: Header files for implementation of DTrace providers.
Requires: dtrace-modules-headers
+%{lua:
+ local obsoleted = {"16.1.1", "16.2.1", "16.2.2", "16.2.3", "16.3.1",
+ "16.3.2", "16.3.3", "16"}
+
+ for ignore, vers in ipairs(obsoleted) do
+ print("Obsoletes: dtrace-modules-3.8.13-" .. vers ..
+ ".el6uek-provider-headers\n")
+ end
+}
%description -n dtrace-modules-provider-headers
This package contains header files defining the API used to implement DTrace
providers.