vanagon 0.15.24 → 0.15.25
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/resources/rpm/project.spec.erb +9 -5
- 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: e439c40238f1b9c246f4643ff159f37f55437420
|
4
|
+
data.tar.gz: 7b36f0ba073896d0b59955e81b5e36b01e9f8de8
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 0a7dab94875f2434215cdd7dba115d89d73aaab095c1bb8684adcbe2dbf985e7b7f1fcdcdb6c6cdb5145f705182804e9aebfb40202294fdad118b5ca82062043
|
7
|
+
data.tar.gz: b4878076d2e16f5c17cfef267665ecdf5b91232e4604dc5289a9e930f80d669d3a8040b427b2ee672461e060af65c11e67fd6a1ed652c2d8e3bbd8414869fe9f
|
@@ -172,11 +172,15 @@ install -d %{buildroot}
|
|
172
172
|
<%- end -%>
|
173
173
|
|
174
174
|
# Here we turn all dirs in the file-list into %dir entries to avoid duplicate files
|
175
|
-
|
176
|
-
|
177
|
-
|
178
|
-
|
179
|
-
|
175
|
+
if command -v perl; then
|
176
|
+
perl -i -lne 'if ((-d $_) && !(-l $_)) { print "%dir $_" } else { print }' %{SOURCE1}
|
177
|
+
else
|
178
|
+
while read entry; do
|
179
|
+
if [ -n "$entry" -a -d "$entry" -a ! -L "$entry" ]; then
|
180
|
+
<%= @platform.sed %> -i "\|^$entry\$|s|^|%dir |" %{SOURCE1}
|
181
|
+
fi
|
182
|
+
done < %{SOURCE1}
|
183
|
+
fi
|
180
184
|
|
181
185
|
|
182
186
|
%pre
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: vanagon
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.15.
|
4
|
+
version: 0.15.25
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Puppet Labs
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2019-07-
|
11
|
+
date: 2019-07-24 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: git
|