how to refer to subpackage

Farkas Levente lfarkas at lfarkas.org
Mon Jun 20 09:28:01 UTC 2011


hi,
does anybody know hot to refer a subpackage's summary in spec file?
eg: in package x i can refer to %{summary} to the Summary field in

%package -n mingw32-%{mingw_pkg_name}
Summary:       %{summary}

%description -n mingw32-%{mingw_pkg_name}
%{description}


refer to the main package's summary, but how can i write this:

%package -n mingw32-%{mingw_pkg_name}-static
Summary:       Static version %{summary}
Requires:      mingw32-%{mingw_pkg_name} = %{version}-%{release}

%description -n mingw32-%{mingw_pkg_name}-static
%{summary mingw32-%{mingw_pkg_name}-static}

or something like this.
thanks.

-- 
  Levente                               "Si vis pacem para bellum!"


More information about the mingw mailing list