LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   RPM build is changing part of it's source files (https://www.linuxquestions.org/questions/linux-software-2/rpm-build-is-changing-part-of-its-source-files-179621/)

areli 05-09-2004 11:40 AM

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

bigrigdriver 05-09-2004 03:34 PM

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.