RPMbuild behaviour on Red Hat Enterprise Linux 6
Issue
- I'm trying to use a simple spec file that I used in RHEL5 which only grabs some files and packages them into an RPM.
- When I try to build on RHEL6 it forces me to create all the whole build tree structure.
- The spec file I'm using has a
%filessection with the files I want, but no%prep,%build,%installor any other section besides package description.BuildRootis set to/tmp. - I get this:
RPM build errors:
File not found by glob: /root/rpmbuild/BUILDROOT/package/files/full/path/*
File not found: /root/rpmbuild/BUILDROOT/...
Environment
- Red Hat Enterprise Linux (RHEL) 6
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.
