[PATCH] Warn when whitespace is missing before macro body

Alexey Tourbin alexey.tourbin at gmail.com
Mon Jan 21 19:07:32 UTC 2013


On Mon, Jan 21, 2013 at 10:43 PM, Alexey Tourbin
<alexey.tourbin at gmail.com> wrote:
> This will now issue a warning when macro definition is possibly
> incorrect or ambigous, such as the one found in FC18 lvm2.spec:
>
> %define util-linux_version 2.22.1
> warning: Macro %util needs whitespace before body

Hi there.
Here is the full list of FC18 packages for which this new warning is triggered.

beefy-miracle-kde-theme.spec
%global backgrounds-kde-version 16.91.0
warning: Macro %backgrounds needs whitespace before body

epris.spec
%global dbus-glib_version 0.70
warning: Macro %dbus needs whitespace before body

gstreamer.spec
%define         _gobject-introspection  0.6.3
warning: Macro %_gobject needs whitespace before body

kdelibs3.spec
%define BuildRequires: xorg-x11-proto-devel libX11-devel
warning: Macro %BuildRequires needs whitespace before body

kernel.spec
%define kernel_modules-extra_package() \
warning: Macro %kernel_modules needs whitespace before body

lvm2.spec
warning: Macro %util needs whitespace before body

spherical-cow-kde-theme.spec
%global backgrounds-kde-version 17.91.0
warning: Macro %backgrounds needs whitespace before body

vym.spec
%global __requires_exclude%{?__requires_exclude:%__requires_exclude|}perl\\(BugzillaClient\\)
warning: Macro %__requires_exclude needs whitespace before body


More information about the Rpm-list mailing list