Name: test-macro-newlinehog Version: 1.0 Release: alt1 Summary: Test for an RPM macro bug Group: Development/Other License: Do not sell anyone ;) %description This package tests for a bug that causes parameterized RPM macro to eat up a newline at the place of its substitution. If the bug persists, the package will not build. %define newlinehog() echo %* %build %newlinehog no exit 0 exit 1 # And here is another interesting bug -- things disappear #MESSAGE='The next command got pasted: ' #%newlinehog "$MESSAGE" #exit 0 #exit 1 # And, perhaps, a third #%newlinehog 'The next command got pasted: ' #exit 0 #exit 1 %changelog * Tue Jan 08 2002 Mikhail Zabaluev 1.0-alt1 - Created