Linux Archive

Linux Archive (http://www.linux-archive.org/)
-   Fedora Packaging (http://www.linux-archive.org/fedora-packaging/)
-   -   Architecture dependencies (http://www.linux-archive.org/fedora-packaging/489048-architecture-dependencies.html)

"fsosson@gmail.com" 02-14-2011 10:05 AM

Architecture dependencies
 
Hello,

I'm using RPM 4.4 and I would like my package installs
"glibc-devel.i386" and "glibc-devel.x86_64" as requires dependencies.

Could someone explain howto do that?

Thank you in advance,


theOtherOone
--
packaging mailing list
packaging@lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/packaging

Panu Matilainen 02-14-2011 10:28 AM

Architecture dependencies
 
On 02/14/2011 01:05 PM, fsosson@gmail.com wrote:
> Hello,
>
> I'm using RPM 4.4 and I would like my package installs
> "glibc-devel.i386" and "glibc-devel.x86_64" as requires dependencies.
>
> Could someone explain howto do that?

With rpm 4.4.x you'll need to use file dependencies on paths that differ
between the i386 and x86_64 variants of glibc-devel. Something like this
should work:

# Drag in both 32- and 64-bit versions of glibc-devel
Requires: /usr/lib/libc.so /usr/lib64/libc.so

- Panu -
--
packaging mailing list
packaging@lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/packaging

"fsosson@gmail.com" 02-14-2011 11:07 AM

Architecture dependencies
 
Thank you for your quick answer. I'm going to try it.



theOtherOne

On 14 February 2011 12:28, Panu Matilainen <pmatilai@laiskiainen.org> wrote:
> On 02/14/2011 01:05 PM, fsosson@gmail.com wrote:
>> Hello,
>>
>> I'm using RPM 4.4 and I would like my package installs
>> "glibc-devel.i386" and "glibc-devel.x86_64" as requires dependencies.
>>
>> Could someone explain howto do that?
>
> With rpm 4.4.x you'll need to use file dependencies on paths that differ
> between the i386 and x86_64 variants of glibc-devel. Something like this
> should work:
>
> # Drag in both 32- and 64-bit versions of glibc-devel
> Requires: /usr/lib/libc.so /usr/lib64/libc.so
>
> * * * *- Panu -
> --
> packaging mailing list
> packaging@lists.fedoraproject.org
> https://admin.fedoraproject.org/mailman/listinfo/packaging
>
--
packaging mailing list
packaging@lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/packaging

"fsosson@gmail.com" 02-15-2011 06:49 AM

Architecture dependencies
 
ok it works as I want, thank you very much

On 14 February 2011 13:07, fsosson@gmail.com <fsosson@gmail.com> wrote:
> Thank you for your quick answer. *I'm going to try it.
>
>
>
> theOtherOne
>
> On 14 February 2011 12:28, Panu Matilainen <pmatilai@laiskiainen.org> wrote:
>> On 02/14/2011 01:05 PM, fsosson@gmail.com wrote:
>>> Hello,
>>>
>>> I'm using RPM 4.4 and I would like my package installs
>>> "glibc-devel.i386" and "glibc-devel.x86_64" as requires dependencies.
>>>
>>> Could someone explain howto do that?
>>
>> With rpm 4.4.x you'll need to use file dependencies on paths that differ
>> between the i386 and x86_64 variants of glibc-devel. Something like this
>> should work:
>>
>> # Drag in both 32- and 64-bit versions of glibc-devel
>> Requires: /usr/lib/libc.so /usr/lib64/libc.so
>>
>> * * * *- Panu -
>> --
>> packaging mailing list
>> packaging@lists.fedoraproject.org
>> https://admin.fedoraproject.org/mailman/listinfo/packaging
>>
>
--
packaging mailing list
packaging@lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/packaging


All times are GMT. The time now is 07:01 AM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.