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
%files
section with the files I want, but no%prep
,%build
,%install
or any other section besides package description.BuildRoot
is 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, tools, and much more.