What does / usr / lib / rpm / check-buildroot do?

I am creating an RPM package for a C ++ application. Compilation and installation are successful. Then the following command completes the error /usr/lib/rpm/check-buildrootwith the following error:

Found '/user/dfsdf/rpmbuild/BUILDROOT/vendor-xerces-c-3.1.3-3.1.3-1.x86_64' in installed files; aborting

I did not find any documentation about this command. What does check-buildroot do?

+4
source share
1 answer

Here is a pointer to a copy of the script. Since it is considered the "inside" part rpmbuild(in /usr/lib/rpm, not /usr/bin), there is no help page for it.

However, it is known to people who fix problems creating rpms.

script : rpm BUILDROOT. , . , , /usr/bin, /usr/lib .., .

:

+6

Source: https://habr.com/ru/post/1629602/


All Articles