LinuxQuestions.org
LinuxAnswers - the LQ Linux tutorial section.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
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.

Notices

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

Rep: Reputation: 0
Question 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
 
Old 05-09-2004, 03:34 PM   #2
bigrigdriver
LQ Addict
 
Registered: Jul 2002
Location: East Centra Illinois, USA
Distribution: Debian Squeeze
Posts: 5,770

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


Reply


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


All times are GMT -5. The time now is 05:07 PM.

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