[Bug 520724] Re: requires_releq_kernel macro broken

Elan Ruusamäe 520724 at bugs.launchpad.net
Mon Nov 22 09:39:37 CET 2010


fix is commited, too bad original reported did not bother to reply in
bug.

** Changed in: pld-linux
       Status: In Progress => Fix Committed

-- 
requires_releq_kernel macro broken
https://bugs.launchpad.net/bugs/520724
You received this bug notification because you are subscribed to PLD
Linux.

Status in PLD Linux Distribution: Fix Committed

Bug description:
It looks like our rpm doesn't like "%macro -n value" in preamble.
Consider this simple spec:

[adamg at builder test]$ cat test.spec
Summary: foo
Name: foo
Group: foo
Version: 1
Release: 1
License: GPL
BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
%requires_releq_kernel -n drm
%prep
%files
%defattr(644,root,root,755)
[adamg at builder test]$ ../packages/builder -nn test.spec
builder: SMP make flags are set to -j8
error: line 8: Unknown tag:  -n drm
Error: package build failed. (no more info)
[adamg at builder test]$ rpm -q rpm-build-macros
rpm-build-macros-1.534-1.noarch
[adamg at builder test]$




More information about the pld-bugs mailing list