[Bug 520724] Re: requires_releq_kernel macro broken
Artur Frysiak
520724 at bugs.launchpad.net
Wed Dec 28 14:22:32 CET 2011
** Changed in: pld-linux
Status: Fix Committed => Fix Released
--
You received this bug notification because you are subscribed to PLD
Linux.
https://bugs.launchpad.net/bugs/520724
Title:
requires_releq_kernel macro broken
Status in PLD Linux Distribution:
Fix Released
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]$
To manage notifications about this bug go to:
https://bugs.launchpad.net/pld-linux/+bug/520724/+subscriptions
More information about the pld-bugs
mailing list