Latest LQ Deal: Linux Power User Bundle
Go Back > Forums > Linux Forums > Linux - Software
User Name
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.


  Search this Thread
Old 05-09-2004, 11:40 AM   #1
LQ Newbie
Registered: May 2004
Posts: 1

Rep: Reputation: 0
Question RPM build is changing part of it's source files


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

cp -f /usr/src/redhat/SOURCES/VXI.bin /tmp/VXI



Old 05-09-2004, 03:34 PM   #2
LQ Addict
Registered: Jul 2002
Location: East Centra Illinois, USA
Distribution: Debian stable
Posts: 5,893

Rep: Reputation: 351Reputation: 351Reputation: 351Reputation: 351
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.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Changing rpm Build directory veenanaidu Fedora 3 10-05-2006 02:18 PM
cannot build source rpm/ rpm questions kpachopoulos Fedora 3 07-24-2005 09:15 AM
How to build an RPM from a source file ? redhat_zephyr Linux - General 1 03-12-2004 01:35 AM
Difference between src.rpm files and source.rpm files ja_nch Red Hat 2 09-06-2003 06:12 PM
RPM Source Build errors wdingus Linux - Software 1 01-04-2003 06:34 AM > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 06:35 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration