The rpmbuild command returns "error: Two files on one line: /etc/rc.d/init.d" in Red Hat Enterprise Linux 5, when I defined %define _initddir "%{_initrddir}" in spec file.
Issue
- I defined the following macro in my spec file.
%define _initddir "%{_initrddir}"
- I could use the macro in %build and %install, but when I used it in %files, I got the following error.
"error: Two files on one line: /etc/rc.d/init.d"
- I want to know the reason why the error is output.
Environment
Red Hat Enterprise Linux 5
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.
Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.
