how to rectify rpmbuild error "Two files on one line"?
Posted on 2013-05-22
When i execute the following command:
[exec] rpmbuild -bb --buildroot /var/tmp/ipa/oam/package /var/tmp/ipa/oam/package/oam.spec
[exec] Processing files: oam-4.1.0-1
[exec] error: Two files on one line: /usr/lib/ipa/oam-web/html/endorsed.jnlp.template
[exec] error: File must begin with "/":
where should I look into?
The line: /usr/lib/ipa/oam-web/html/endorsed.jnlp.template is part of omcr.spec.
It is listed under %files section.