https://bugzilla.redhat.com/show_bug.cgi?id=1373007

Rich Megginson <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
              Flags|needinfo?([email protected] |
                   |om)                         |



--- Comment #5 from Rich Megginson <[email protected]> ---
I tried hacking the spec file like this and building on fedora 27:

 BuildRequires: rubygem-rspec >= 3.5.0
+BuildRequires: libev-devel
 Provides: rubygem(%{gem_name}) = %{version}

...

 %setup -q -D -T -n  %{gem_name}-%{version}

-gem spec %{SOURCE0} -l --ruby > %{gem_name}.gemspec
+# remove libev source files from disk and gemspec
+rm -rf ext/libev
+gem spec %{SOURCE0} -l --ruby | sed 's@"ext/libev/.*".freeze, @@g' >
%{gem_name}.gemspec

 %build

but this fails to build:

gcc -I. -I/usr/include -I/usr/include/ruby/backward -I/usr/include -I.
-DRUBY_VERSION_CODE=242 -DHAVE_SYS_SELECT_H -DEV_USE_SELECT -DHAVE_POLL_H
-DEV_USE_POLL -DHAVE_SYS_EPOLL_H -DEV_USE_EPOLL -DHAVE_SYS_RESOURCE_H
-DHAVE_LINUX_PROCFS    -fPIC -O2 -g -fno-strict-aliasing -m64 -o cool.io_ext.o
-c cool.io_ext.c
In file included from cool.io_ext.c:10:0:
ev_wrap.h:9:10: fatal error: ../libev/ev.h: No such file or directory
 #include "../libev/ev.h"
          ^~~~~~~~~~~~~~~
compilation terminated.

The next step would be to do some source code hacking to make it

 #include "libev/ev.h"

instead.

In short, it looks like this is going to be a good bit of work . . .

-- 
You are receiving this mail because:
You are on the CC list for the bug.
You are always notified about changes to this product and component
_______________________________________________
package-review mailing list -- [email protected]
To unsubscribe send an email to [email protected]

Reply via email to