On Wed, 2008-07-23 at 14:20 +0100, Mark McLoughlin wrote: > If you try and use e.g. kernel_obsoletes, you'll soon find > that it's actually kernel__obsoletes you currently need :-) > > Index: devel/kernel.spec > =================================================================== > --- devel.orig/kernel.spec 2008-07-23 14:04:17.000000000 +0100 > +++ devel.orig/kernel.spec 2008-07-23 14:04:17.000000000 +0100 > @@ -440,9 +440,9 @@ Provides: kernel-uname-r = %{KVERREL}%{? > Requires(pre): %{kernel_prereq}\ > Conflicts: %{kernel_dot_org_conflicts}\ > Conflicts: %{package_conflicts}\ > -%{?1:%{expand:%%{?kernel_%{1}_conflicts:Conflicts: %%{kernel_%{1}_conflicts}}}}\ > -%{?1:%{expand:%%{?kernel_%{1}_obsoletes:Obsoletes: %%{kernel_%{1}_obsoletes}}}}\ > -%{?1:%{expand:%%{?kernel_%{1}_provides:Provides: %%{kernel_%{1}_provides}}}}\ > +%{?1:%{expand:%%{?kernel%{?1:_%{1}}_conflicts:Conflicts: %%{kernel%{?1:_%{1}}_conflicts}}}}\ > +%{?1:%{expand:%%{?kernel%{?1:_%{1}}_obsoletes:Obsoletes: %%{kernel%{?1:_%{1}}_obsoletes}}}}\ > +%{?1:%{expand:%%{?kernel%{?1:_%{1}}_provides:Provides: %%{kernel%{?1:_%{1}}_provides}}}}\ Bah, make that: +%{expand:%%{?kernel%{?1:_%{1}}_conflicts:Conflicts: %%{kernel%{?1:_%{1}}_conflicts}}}\ +%{expand:%%{?kernel%{?1:_%{1}}_obsoletes:Obsoletes: %%{kernel%{?1:_%{1}}_obsoletes}}}\ +%{expand:%%{?kernel%{?1:_%{1}}_provides:Provides: %%{kernel%{?1:_%{1}}_provides}}}\ Cheers, Mark. _______________________________________________ Fedora-kernel-list mailing list Fedora-kernel-list@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/fedora-kernel-list