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]



----- "Michael Lampe" <lampe@xxxxxxxxxxxxxxxxxxxxx> escreveu:

> De: "Michael Lampe" <lampe@xxxxxxxxxxxxxxxxxxxxx>
> Para: "CentOS mailing list" <centos@xxxxxxxxxx>
> Enviadas: Domingo, 26 de Fevereiro de 2012 17:29:05 (GMT-0300) Auto-Detected
> Assunto: Re:  Is there a way to _remove_ dependencies from an RPM built from source?
>
> Frank Cox wrote:
> 
> >> Gimme a trick: How to unregister an implicit but formally
> > unavailable runtime dependency in a spec file?
> >
> > I've given you the solution twice.  Here is a more detailed
> > description of the
> > exact lines that you need to edit in the spec file:
> >
> > http://www.rpm.org/max-rpm/s1-rpm-depend-manual-dependencies.html
> 
> We are talking about different things:
> 
> My stuff is linked against 'libfoo'. When the package is finally
> build, it records this depedency because of that. Now this package requires 
> libfoo to be installed. It's there but not registered with rpm!
> 
> That's what I want to get rid of. Something like 'Unrequire' perhaps.
> Or another trick: IIRC, at some time taking the x bit from libs achieved
> that, but it's not working anymore since quite some time.


Ok,

   Have you tried to make a fake src.rpm package that "provides" this 'libfoo' and
install it ? It didn't need to install anything just tell to the rpm library that it 
"provides" 'libfoo'.

    Another way is to just force the install, but, doing it you will have some problems
during updates.

          Antonio Jr.

-- 
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
| Antonio S. Martins Jr. - Support Analyst | "Only The Shadow Knows     |
| Universidade Estadual de Maringá - Brasil|   what evil lurks in the   |
| NPD - Núcleo de Processamento de Dados   |       Heart of Men!"       |
| E-Mail: asmartins@xxxxxx / shadow@xxxxxx | !!! Linux User: 52392 !!!  |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
     "Real Programmers don’t need comments — the code is obvious."

-- 
Esta mensagem foi verificada pelo sistema de antivirus e
 acredita-se estar livre de perigo.

_______________________________________________
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