Commit 69ee6c01 authored by Andrew Flegg's avatar Andrew Flegg

OBS shouldn't have version numbers in its packages as it makes updates a pain...

OBS shouldn't have version numbers in its packages as it makes updates a pain (confirmed in discussion with X-Fade)
parent 94aca28e
......@@ -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}_${version}.debian.tar.gz",
system("tar", "cvzf", "$dir/harmattan/${package}.debian.tar.gz",
"-C", "$dir/harmattan",
"--exclude-vcs",
"debian");
......@@ -141,7 +141,8 @@ sub createDebian {
# -- Create the DSC file...
#
&mkDsc("$dir/$dist", $format, "${package}_${version}.dsc");
&mkDsc("$dir/$dist", $format, $dist eq 'fremantle' ? "${package}_${version}.dsc"
: "${package}.dsc");
}
......@@ -153,7 +154,9 @@ sub createDist {
system("rm", "-rf", "$dir/$dist");
mkdir "$dir/$dist";
link "$dir/${package}_${version}.orig.tar.gz", "$dir/$dist/${package}_${version}.orig.tar.gz";
link "$dir/${package}_${version}.orig.tar.gz",
$dist eq 'fremantle' ? "$dir/$dist/${package}_${version}.orig.tar.gz"
: "$dir/$dist/${package}.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