LinuxQuestions.org
Visit the LQ Articles and Editorials 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, 12:40 PM   #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, 04:34 PM   #2
bigrigdriver
LQ Addict
 
Registered: Jul 2002
Location: East Centra Illinois, USA
Distribution: Debian Squeeze
Posts: 5,805

Rep: Reputation: 324Reputation: 324Reputation: 324Reputation: 324
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 03:18 PM
cannot build source rpm/ rpm questions kpachopoulos Fedora 3 07-24-2005 10:15 AM
How to build an RPM from a source file ? redhat_zephyr Linux - General 1 03-12-2004 02:35 AM
Difference between src.rpm files and source.rpm files ja_nch Red Hat 2 09-06-2003 07:12 PM
RPM Source Build errors wdingus Linux - Software 1 01-04-2003 07:34 AM


All times are GMT -5. The time now is 11:07 AM.

Main Menu
Advertisement
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