LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
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 02-12-2010, 03:36 PM   #1
longp
LQ Newbie
 
Registered: Jul 2005
Location: canada
Posts: 5

Rep: Reputation: 0
rpm problem


I'm building an rpm package using rpmbuild -ba myfile.spec and at the end it tries to run /usr/lib/rpm/check-rpaths /usr/lib/rpm/check-buildroot

I don't know where this line is coming from? since I don't have check-rpaths and check-buildroot in /usr/lib/rpm folder

Anyone has an idea?

Regards

Long
 
Old 02-12-2010, 05:24 PM   #2
unSpawn
Moderator
 
Registered: May 2001
Posts: 29,415
Blog Entries: 55

Rep: Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600
Since both scripts provide basic quality checks (absence of hardcoded rpaths or buildroot) you shouldn't want to muck with those. See if 'rpm --eval %{__arch_install_post}' yields something recognizable. If it does then you could %define __arch_install_post in your .spec file or ~/.rpmmacros (you don't build RPMs as root do you?) with the contents you want.
 
  


Reply



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
RPM Problem seesharp Linux - Newbie 2 11-22-2004 03:12 PM
Rpm Problem!!! Schiller Linux - Newbie 3 12-10-2003 07:40 AM
RPM problem winglin Red Hat 4 11-06-2003 12:49 PM
.src.rpm, .i386.rpm and .i686.rpm hhegab Linux - Software 2 06-19-2003 07:19 AM
rpm problem suliu Linux - General 3 03-08-2001 09:58 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 08:56 PM.

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
Open Source Consulting | Domain Registration