Re: Is there a way to _remove_ dependencies from an RPM built from source?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



On Sun, 26 Feb 2012 20:14:50 +0100
Michael Lampe wrote:

> Frank Cox wrote:
> 
> > A dependency is supposed to be something that's required for a program to
> > work. Removing the dependency from the rpm won't magically make a program
> > work if it really does require the functionality provided by that
> > dependency.
> 
> It's there.
> 
> Just not registered with rpm. -- Intel's fault, I cannot do anything 
> about it.

Then the solution I posted will solve the problem.

The easiest way to do it is this:

yum install rpmdevtools
rpmdev-setuptree
rpm -i nameofsrcrpm.src.rpm
cd ~/rpmbuild/SPECS
vi nameofspecfile.spec

Edit the dependency list to suit.

rpmbuild -ba nameofspecfile.spec

That's it.  You now have a new .src.rpm and binary rpm.


-- 
MELVILLE THEATRE ~ Real D 3D Digital Cinema ~ www.melvilletheatre.com
www.creekfm.com - FIFTY THOUSAND WATTS of POW WOW POWER!
_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
http://lists.centos.org/mailman/listinfo/centos


[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]
  Powered by Linux