Skip to content

Commit 2b739e8

Browse files
committed
Ensure bundled provides versions don't include dashes
1 parent 3331ec9 commit 2b739e8

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

downstream.sh

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -132,7 +132,7 @@ function save_patches()
132132

133133
function bundled_provides()
134134
{
135-
echo "bundled(${rpm_name:-$p}) = $version"
135+
echo "bundled(${rpm_name:-$p}) = ${rpm_version}"
136136
}
137137

138138
function source_list()
@@ -171,6 +171,7 @@ for p; do
171171
. project/$p.properties
172172
sub_version ref
173173
sub_version url
174+
rpm_version=${version//-/.}
174175
if [[ "$cmd" = clone ]] || [[ "$cmd" = prep ]]; then
175176
echo >&2
176177
echo "=============================================" >&2

0 commit comments

Comments
 (0)