Mailinglist Archive: opensuse-packaging (102 mails)

< Previous Next >
Re: [opensuse-packaging] Quilt setup fails with factory spec files
  • From: Ruediger Oertel <ro@xxxxxxx>
  • Date: Mon, 17 Sep 2007 23:22:54 +0200 (CEST)
  • Message-id: <Pine.LNX.4.64.0709172321410.16044@xxxxxxxxxxxxx>
On Mon, 17 Sep 2007, Marcus Rueckert wrote:

> 
> hi,
> 
> just curious: what distro are you running on?

the problem is the missing lang_package macro:

# Template for lang sub-package.
%lang_package(n:) \
%package %{-n:-n %{-n*}-}lang \
Summary: Languages for package %{name} \
Group: System/Localization \
Provides: %{-n:%{-n*}}%{!-n:%{name}}-lang-all = %{version} \
Requires: %{name} = %{version} \
%description %{-n:-n %{-n*}-}lang \
Provides translations to the package %{name}

you can probably just put it to the end of the file /usr/lib/rpm/suse_macros

-- 
with kind regards (mit freundlichem Grinsen),
   Ruediger Oertel (ro@xxxxxxxxxx,ro@xxxxxxx,bugfinder@xxxxxxxxxxx)
----------------------------------------------------------------------
Linux Fatou 2.6.22.5-16-default #1 SMP 2007/09/11 14:25:31 UTC x86_64
Key fingerprint = 17DC 6553 86A7 384B 53C5  CA5C 3CE4 F2E7 23F2 B417
SUSE LINUX Products GmbH,  GF: Markus Rex,   HRB 16746 (AG Nürnberg)
< Previous Next >
References