vanagon 0.15.35 → 0.15.36
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/vanagon/platform.rb +4 -0
- data/resources/rpm/project.spec.erb +6 -0
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 3da7ab177127a9c8735a304f2abbbbcbfa2dc2244b389e3cc4c3c3e440c66e17
|
4
|
+
data.tar.gz: c8b21d1f75c57e10598907a8ca2f5c937f2d96a041d6ad5876f578ab67dca96a
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 3a3d603bacbc6f4588ae915cc9bd36dfcceba404ef75a4da4fb12429956f3aa5def4ab3b7db99eaa88865eda2870bec3d691f882eab1a2e2727a2a203f3b931b
|
7
|
+
data.tar.gz: 54b68ba89cbfe3dcc0d800c248f743258f4da9000696d79687cbe2da38543f02b0cf83dd4f214eaa1ecc90015b4dc5b27a69e64496d2d5100686507b4ce6c8a7
|
data/lib/vanagon/platform.rb
CHANGED
@@ -331,6 +331,10 @@ class Vanagon
|
|
331
331
|
return !!@name.match(/^(el|redhat|redhatfips)-.*$/)
|
332
332
|
end
|
333
333
|
|
334
|
+
def is_el8?
|
335
|
+
return !!@name.match(/^(el|redhat|redhatfips)-8.*$/)
|
336
|
+
end
|
337
|
+
|
334
338
|
# Utility matcher to determine is the platform is a sles variety
|
335
339
|
#
|
336
340
|
# @return [true, false] true if it is a sles variety, false otherwise
|
@@ -33,6 +33,12 @@
|
|
33
33
|
<%= var %>
|
34
34
|
<% end -%>
|
35
35
|
|
36
|
+
# This breaks on el8. This is a hack to unblock development.
|
37
|
+
<%- if @platform.is_el8? %>
|
38
|
+
%undefine __debug_package
|
39
|
+
<% end -%>
|
40
|
+
|
41
|
+
|
36
42
|
# To avoid files installed but not packaged errors
|
37
43
|
%global __os_install_post %{__os_install_post} \
|
38
44
|
rm -rf %{buildroot}/usr/lib/debug
|