ovirt-engine-sdk 4.1.1 → 4.1.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGES.adoc +6 -0
- data/ext/ovirtsdk4c/extconf.rb +17 -7
- data/lib/ovirtsdk4/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: ddf0ca50c29a4459a5294f8c37b1fbb6259fdd45
|
4
|
+
data.tar.gz: 63bd397c04570ce3619146fb25009e556798e18e
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: bd72d1fdfb18d03aedd4a77cbef3a3f432eed016332c949930651ae19f43e538760bd2118e7814c5a82758feb8ca60b6270324f9608b6c8653882a75596cbb3c
|
7
|
+
data.tar.gz: 203ab888e1e8eab72c64051e28161aa80a0b80b08b7a81ff5917619e243293d8d92d8cae858bbac2e8ae6890762cd2fa91fbe2d1f01679f0519146c951039739
|
data/CHANGES.adoc
CHANGED
data/ext/ovirtsdk4c/extconf.rb
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
#!/usr/bin/ruby
|
2
2
|
|
3
3
|
#
|
4
|
-
# Copyright (c) 2015-
|
4
|
+
# Copyright (c) 2015-2017 Red Hat, Inc.
|
5
5
|
#
|
6
6
|
# Licensed under the Apache License, Version 2.0 (the "License");
|
7
7
|
# you may not use this file except in compliance with the License.
|
@@ -18,15 +18,25 @@
|
|
18
18
|
|
19
19
|
require 'mkmf'
|
20
20
|
|
21
|
-
# Check
|
22
|
-
|
21
|
+
# Check if "libxml2" is available:
|
22
|
+
xml2_config = find_executable('xml2-config')
|
23
|
+
if xml2_config
|
24
|
+
cflags = `#{xml2_config} --cflags`.strip
|
25
|
+
libs = `#{xml2_config} --libs`.strip
|
26
|
+
$CPPFLAGS = "#{cflags} #{$CPPFLAGS}"
|
27
|
+
$LDFLAGS = "#{libs} #{$LDFLAGS}"
|
28
|
+
elsif !pkg_config('libxml2')
|
23
29
|
raise 'The "libxml2" package isn\'t available.'
|
24
30
|
end
|
25
|
-
$CPPFLAGS = "#{`xml2-config --cflags`.strip} #{$CPPFLAGS}"
|
26
|
-
$LDFLAGS = "#{`xml2-config --libs`.strip} #{$LDFLAGS}"
|
27
31
|
|
28
|
-
# Check
|
29
|
-
|
32
|
+
# Check if "libcurl" is available:
|
33
|
+
curl_config = find_executable('curl-config')
|
34
|
+
if curl_config
|
35
|
+
cflags = `#{curl_config} --cflags`.strip
|
36
|
+
libs = `#{curl_config} --libs`.strip
|
37
|
+
$CPPFLAGS = "#{cflags} #{$CPPFLAGS}"
|
38
|
+
$LDFLAGS = "#{libs} #{$LDFLAGS}"
|
39
|
+
elsif !pkg_config('libcurl')
|
30
40
|
raise 'The "libcurl" package isn\'t available.'
|
31
41
|
end
|
32
42
|
|
data/lib/ovirtsdk4/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: ovirt-engine-sdk
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 4.1.
|
4
|
+
version: 4.1.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Juan Hernandez
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2017-02-
|
11
|
+
date: 2017-02-09 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rake
|