Commit 5ba355ff authored by Andrew Flegg's avatar Andrew Flegg

Revert "OBS shouldn't have version numbers in its packages as it makes updates...

Revert "OBS shouldn't have version numbers in its packages as it makes updates a pain (confirmed in discussion with X-Fade)" as 'dpkg-source' *requires* that there is a version present, and it matches that in the package metadata.

This reverts commit 69ee6c01.
parent 69ee6c01
......@@ -65,7 +65,7 @@ system("tar", "cvzf", "$dir/${package}_${version}.orig.tar.gz",
}) if $pkgDebianFremantle;
&createDebian('harmattan', '3.0 (quilt)', sub {
system("tar", "cvzf", "$dir/harmattan/${package}.debian.tar.gz",
system("tar", "cvzf", "$dir/harmattan/${package}_${version}.debian.tar.gz",
"-C", "$dir/harmattan",
"--exclude-vcs",
"debian");
......@@ -141,8 +141,7 @@ sub createDebian {
# -- Create the DSC file...
#
&mkDsc("$dir/$dist", $format, $dist eq 'fremantle' ? "${package}_${version}.dsc"
: "${package}.dsc");
&mkDsc("$dir/$dist", $format, "${package}_${version}.dsc");
}
......@@ -154,9 +153,7 @@ sub createDist {
system("rm", "-rf", "$dir/$dist");
mkdir "$dir/$dist";
link "$dir/${package}_${version}.orig.tar.gz",
$dist eq 'fremantle' ? "$dir/$dist/${package}_${version}.orig.tar.gz"
: "$dir/$dist/${package}.orig.tar.gz";
link "$dir/${package}_${version}.orig.tar.gz", "$dir/$dist/${package}_${version}.orig.tar.gz";
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment