Re: Packaging a library that creates a Ruby gem...

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

 



Hi,

it should be possible to pass options after double dash:

%gem_install -- --without-qpid-lib-dir=[path]

This should be the same as with normal 'gem install'.

Regards
Josef

----- Original Message -----
From: "Darryl L. Pierce" <mcpierce@xxxxxxxxx>
To: packaging@xxxxxxxxxxxxxxxxxxxxxxx
Sent: Tuesday, March 17, 2015 4:18:17 PM
Subject:  Packaging a library that creates a Ruby gem...

I have two packages (qpid-cpp and qpid-proton) that, as part of their
source code, can generate a Ruby gem. In both cases the Ruby gem is
directly dependant on shared libraries produced by the codebase, and
those gems are already packaged separately for Fedora.

What I want to do is to create the gem, which is easy, and then install
and package it as a subpackage, which is proving to be hard. The problem
is that the %gem_install macro won't let me override where it looks for
the shared libraries and header files that it needs to create its
makefile.

Is there a way, during the packaging process, to do this? I need to have
the %gem_install macro either accept commandline options
(--without-qpid-lib-dir=[path], for example) or else put things where
they're discoverable by the %gem_install macro.

Any help?

-- 
Darryl L. Pierce <mcpierce@xxxxxxxxx>
http://mcpierce.blogspot.com/
Famous last words:
   "I wonder what happens if we do it this way?"

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





[Index of Archives]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite Forum]     [KDE Users]

  Powered by Linux