RPM build is changing part of it's source files
Hi,
I have created rpm and noticed that it changes one of its binary files. The size and checksum of the source and the target files were different. I took out every line from the Spec file and realized that the using of the BuildRoot option cause it. Why? what is the problem? . . . BuildRoot: /tmp/VXI . . %prep cp -f /usr/src/redhat/SOURCES/VXI.bin /tmp/VXI %pre %install %files Areli |
One possible reason for different file sizes between source and binary is that the source file probably contains programmers comments and whitespace which are stripped out in the process on compiling a binary.
|
All times are GMT -5. The time now is 05:50 PM. |