diff options
Diffstat (limited to 'ubuntu')
261 files changed, 261 insertions, 261 deletions
diff --git a/ubuntu/maverick/applications/abakus/debian/cdbs/versions.pl b/ubuntu/maverick/applications/abakus/debian/cdbs/versions.pl index 9ce11d8a3..75c9add4b 100644 --- a/ubuntu/maverick/applications/abakus/debian/cdbs/versions.pl +++ b/ubuntu/maverick/applications/abakus/debian/cdbs/versions.pl @@ -7,7 +7,7 @@ my $version = `dpkg-parsechangelog | awk '/^Version/ {print \$2}'`; my ($version3, $version3_next); my ($version2, $version2_next); -($version3 = $version) =~ s/-[^-]+$//; +($version3 = $version) =~ s/^(([^.]+\.){2}[^.+~-]+)[.+~-]?[^-]*-[^-]+$/$1/; ($version2 = $version3) =~ s/\.[^.]+$//; ($version3_next = $version3) =~ s/(?<=\.)(\d+)[a-z]?$/($1+1)/e; diff --git a/ubuntu/maverick/applications/adept/debian/cdbs/versions.pl b/ubuntu/maverick/applications/adept/debian/cdbs/versions.pl index 9ce11d8a3..75c9add4b 100644 --- a/ubuntu/maverick/applications/adept/debian/cdbs/versions.pl +++ b/ubuntu/maverick/applications/adept/debian/cdbs/versions.pl @@ -7,7 +7,7 @@ my $version = `dpkg-parsechangelog | awk '/^Version/ {print \$2}'`; my ($version3, $version3_next); my ($version2, $version2_next); -($version3 = $version) =~ s/-[^-]+$//; +($version3 = $version) =~ s/^(([^.]+\.){2}[^.+~-]+)[.+~-]?[^-]*-[^-]+$/$1/; ($version2 = $version3) =~ s/\.[^.]+$//; ($version3_next = $version3) =~ s/(?<=\.)(\d+)[a-z]?$/($1+1)/e; diff --git a/ubuntu/maverick/applications/amarok.cmake/debian/cdbs/versions.pl b/ubuntu/maverick/applications/amarok.cmake/debian/cdbs/versions.pl index 9ce11d8a3..75c9add4b 100644 --- a/ubuntu/maverick/applications/amarok.cmake/debian/cdbs/versions.pl +++ b/ubuntu/maverick/applications/amarok.cmake/debian/cdbs/versions.pl @@ -7,7 +7,7 @@ my $version = `dpkg-parsechangelog | awk '/^Version/ {print \$2}'`; my ($version3, $version3_next); my ($version2, $version2_next); -($version3 = $version) =~ s/-[^-]+$//; +($version3 = $version) =~ s/^(([^.]+\.){2}[^.+~-]+)[.+~-]?[^-]*-[^-]+$/$1/; ($version2 = $version3) =~ s/\.[^.]+$//; ($version3_next = $version3) =~ s/(?<=\.)(\d+)[a-z]?$/($1+1)/e; diff --git a/ubuntu/maverick/applications/amarok/debian/cdbs/versions.pl b/ubuntu/maverick/applications/amarok/debian/cdbs/versions.pl index 9ce11d8a3..75c9add4b 100644 --- a/ubuntu/maverick/applications/amarok/debian/cdbs/versions.pl +++ b/ubuntu/maverick/applications/amarok/debian/cdbs/versions.pl @@ -7,7 +7,7 @@ my $version = `dpkg-parsechangelog | awk '/^Version/ {print \$2}'`; my ($version3, $version3_next); my ($version2, $version2_next); -($version3 = $version) =~ s/-[^-]+$//; +($version3 = $version) =~ s/^(([^.]+\.){2}[^.+~-]+)[.+~-]?[^-]*-[^-]+$/$1/; ($version2 = $version3) =~ s/\.[^.]+$//; ($version3_next = $version3) =~ s/(?<=\.)(\d+)[a-z]?$/($1+1)/e; diff --git a/ubuntu/maverick/applications/bibletime/debian/cdbs/versions.pl b/ubuntu/maverick/applications/bibletime/debian/cdbs/versions.pl index 9ce11d8a3..75c9add4b 100644 --- a/ubuntu/maverick/applications/bibletime/debian/cdbs/versions.pl +++ b/ubuntu/maverick/applications/bibletime/debian/cdbs/versions.pl @@ -7,7 +7,7 @@ my $version = `dpkg-parsechangelog | awk '/^Version/ {print \$2}'`; my ($version3, $version3_next); my ($version2, $version2_next); -($version3 = $version) =~ s/-[^-]+$//; +($version3 = $version) =~ s/^(([^.]+\.){2}[^.+~-]+)[.+~-]?[^-]*-[^-]+$/$1/; ($version2 = $version3) =~ s/\.[^.]+$//; ($version3_next = $version3) =~ s/(?<=\.)(\d+)[a-z]?$/($1+1)/e; diff --git a/ubuntu/maverick/applications/compizconfig-backend-tdeconfig/debian/cdbs/versions.pl b/ubuntu/maverick/applications/compizconfig-backend-tdeconfig/debian/cdbs/versions.pl index 9ce11d8a3..75c9add4b 100644 --- a/ubuntu/maverick/applications/compizconfig-backend-tdeconfig/debian/cdbs/versions.pl +++ b/ubuntu/maverick/applications/compizconfig-backend-tdeconfig/debian/cdbs/versions.pl @@ -7,7 +7,7 @@ my $version = `dpkg-parsechangelog | awk '/^Version/ {print \$2}'`; my ($version3, $version3_next); my ($version2, $version2_next); -($version3 = $version) =~ s/-[^-]+$//; +($version3 = $version) =~ s/^(([^.]+\.){2}[^.+~-]+)[.+~-]?[^-]*-[^-]+$/$1/; ($version2 = $version3) =~ s/\.[^.]+$//; ($version3_next = $version3) =~ s/(?<=\.)(\d+)[a-z]?$/($1+1)/e; diff --git a/ubuntu/maverick/applications/digikam/debian/cdbs/versions.pl b/ubuntu/maverick/applications/digikam/debian/cdbs/versions.pl index 9ce11d8a3..75c9add4b 100644 --- a/ubuntu/maverick/applications/digikam/debian/cdbs/versions.pl +++ b/ubuntu/maverick/applications/digikam/debian/cdbs/versions.pl @@ -7,7 +7,7 @@ my $version = `dpkg-parsechangelog | awk '/^Version/ {print \$2}'`; my ($version3, $version3_next); my ($version2, $version2_next); -($version3 = $version) =~ s/-[^-]+$//; +($version3 = $version) =~ s/^(([^.]+\.){2}[^.+~-]+)[.+~-]?[^-]*-[^-]+$/$1/; ($version2 = $version3) =~ s/\.[^.]+$//; ($version3_next = $version3) =~ s/(?<=\.)(\d+)[a-z]?$/($1+1)/e; diff --git a/ubuntu/maverick/applications/dolphin/debian/cdbs/versions.pl b/ubuntu/maverick/applications/dolphin/debian/cdbs/versions.pl index 9ce11d8a3..75c9add4b 100644 --- a/ubuntu/maverick/applications/dolphin/debian/cdbs/versions.pl +++ b/ubuntu/maverick/applications/dolphin/debian/cdbs/versions.pl @@ -7,7 +7,7 @@ my $version = `dpkg-parsechangelog | awk '/^Version/ {print \$2}'`; my ($version3, $version3_next); my ($version2, $version2_next); -($version3 = $version) =~ s/-[^-]+$//; +($version3 = $version) =~ s/^(([^.]+\.){2}[^.+~-]+)[.+~-]?[^-]*-[^-]+$/$1/; ($version2 = $version3) =~ s/\.[^.]+$//; ($version3_next = $version3) =~ s/(?<=\.)(\d+)[a-z]?$/($1+1)/e; diff --git a/ubuntu/maverick/applications/filelight-l10n/debian/cdbs/versions.pl b/ubuntu/maverick/applications/filelight-l10n/debian/cdbs/versions.pl index 9ce11d8a3..75c9add4b 100644 --- a/ubuntu/maverick/applications/filelight-l10n/debian/cdbs/versions.pl +++ b/ubuntu/maverick/applications/filelight-l10n/debian/cdbs/versions.pl @@ -7,7 +7,7 @@ my $version = `dpkg-parsechangelog | awk '/^Version/ {print \$2}'`; my ($version3, $version3_next); my ($version2, $version2_next); -($version3 = $version) =~ s/-[^-]+$//; +($version3 = $version) =~ s/^(([^.]+\.){2}[^.+~-]+)[.+~-]?[^-]*-[^-]+$/$1/; ($version2 = $version3) =~ s/\.[^.]+$//; ($version3_next = $version3) =~ s/(?<=\.)(\d+)[a-z]?$/($1+1)/e; diff --git a/ubuntu/maverick/applications/filelight/debian/cdbs/versions.pl b/ubuntu/maverick/applications/filelight/debian/cdbs/versions.pl index 9ce11d8a3..75c9add4b 100644 --- a/ubuntu/maverick/applications/filelight/debian/cdbs/versions.pl +++ b/ubuntu/maverick/applications/filelight/debian/cdbs/versions.pl @@ -7,7 +7,7 @@ my $version = `dpkg-parsechangelog | awk '/^Version/ {print \$2}'`; my ($version3, $version3_next); my ($version2, $version2_next); -($version3 = $version) =~ s/-[^-]+$//; +($version3 = $version) =~ s/^(([^.]+\.){2}[^.+~-]+)[.+~-]?[^-]*-[^-]+$/$1/; ($version2 = $version3) =~ s/\.[^.]+$//; ($version3_next = $version3) =~ s/(?<=\.)(\d+)[a-z]?$/($1+1)/e; diff --git a/ubuntu/maverick/applications/gtk-qt-engine/debian/cdbs/versions.pl b/ubuntu/maverick/applications/gtk-qt-engine/debian/cdbs/versions.pl index 9ce11d8a3..75c9add4b 100644 --- a/ubuntu/maverick/applications/gtk-qt-engine/debian/cdbs/versions.pl +++ b/ubuntu/maverick/applications/gtk-qt-engine/debian/cdbs/versions.pl @@ -7,7 +7,7 @@ my $version = `dpkg-parsechangelog | awk '/^Version/ {print \$2}'`; my ($version3, $version3_next); my ($version2, $version2_next); -($version3 = $version) =~ s/-[^-]+$//; +($version3 = $version) =~ s/^(([^.]+\.){2}[^.+~-]+)[.+~-]?[^-]*-[^-]+$/$1/; ($version2 = $version3) =~ s/\.[^.]+$//; ($version3_next = $version3) =~ s/(?<=\.)(\d+)[a-z]?$/($1+1)/e; diff --git a/ubuntu/maverick/applications/gwenview-i18n/debian/cdbs/versions.pl b/ubuntu/maverick/applications/gwenview-i18n/debian/cdbs/versions.pl index 9ce11d8a3..75c9add4b 100644 --- a/ubuntu/maverick/applications/gwenview-i18n/debian/cdbs/versions.pl +++ b/ubuntu/maverick/applications/gwenview-i18n/debian/cdbs/versions.pl @@ -7,7 +7,7 @@ my $version = `dpkg-parsechangelog | awk '/^Version/ {print \$2}'`; my ($version3, $version3_next); my ($version2, $version2_next); -($version3 = $version) =~ s/-[^-]+$//; +($version3 = $version) =~ s/^(([^.]+\.){2}[^.+~-]+)[.+~-]?[^-]*-[^-]+$/$1/; ($version2 = $version3) =~ s/\.[^.]+$//; ($version3_next = $version3) =~ s/(?<=\.)(\d+)[a-z]?$/($1+1)/e; diff --git a/ubuntu/maverick/applications/gwenview/debian/cdbs/versions.pl b/ubuntu/maverick/applications/gwenview/debian/cdbs/versions.pl index 9ce11d8a3..75c9add4b 100644 --- a/ubuntu/maverick/applications/gwenview/debian/cdbs/versions.pl +++ b/ubuntu/maverick/applications/gwenview/debian/cdbs/versions.pl @@ -7,7 +7,7 @@ my $version = `dpkg-parsechangelog | awk '/^Version/ {print \$2}'`; my ($version3, $version3_next); my ($version2, $version2_next); -($version3 = $version) =~ s/-[^-]+$//; +($version3 = $version) =~ s/^(([^.]+\.){2}[^.+~-]+)[.+~-]?[^-]*-[^-]+$/$1/; ($version2 = $version3) =~ s/\.[^.]+$//; ($version3_next = $version3) =~ s/(?<=\.)(\d+)[a-z]?$/($1+1)/e; diff --git a/ubuntu/maverick/applications/k3b/debian/cdbs/versions.pl b/ubuntu/maverick/applications/k3b/debian/cdbs/versions.pl index 9ce11d8a3..75c9add4b 100644 --- a/ubuntu/maverick/applications/k3b/debian/cdbs/versions.pl +++ b/ubuntu/maverick/applications/k3b/debian/cdbs/versions.pl @@ -7,7 +7,7 @@ my $version = `dpkg-parsechangelog | awk '/^Version/ {print \$2}'`; my ($version3, $version3_next); my ($version2, $version2_next); -($version3 = $version) =~ s/-[^-]+$//; +($version3 = $version) =~ s/^(([^.]+\.){2}[^.+~-]+)[.+~-]?[^-]*-[^-]+$/$1/; ($version2 = $version3) =~ s/\.[^.]+$//; ($version3_next = $version3) =~ s/(?<=\.)(\d+)[a-z]?$/($1+1)/e; diff --git a/ubuntu/maverick/applications/k9copy/debian/cdbs/versions.pl b/ubuntu/maverick/applications/k9copy/debian/cdbs/versions.pl index 9ce11d8a3..75c9add4b 100644 --- a/ubuntu/maverick/applications/k9copy/debian/cdbs/versions.pl +++ b/ubuntu/maverick/applications/k9copy/debian/cdbs/versions.pl @@ -7,7 +7,7 @@ my $version = `dpkg-parsechangelog | awk '/^Version/ {print \$2}'`; my ($version3, $version3_next); my ($version2, $version2_next); -($version3 = $version) =~ s/-[^-]+$//; +($version3 = $version) =~ s/^(([^.]+\.){2}[^.+~-]+)[.+~-]?[^-]*-[^-]+$/$1/; ($version2 = $version3) =~ s/\.[^.]+$//; ($version3_next = $version3) =~ s/(?<=\.)(\d+)[a-z]?$/($1+1)/e; diff --git a/ubuntu/maverick/applications/kaffeine/debian/cdbs/versions.pl b/ubuntu/maverick/applications/kaffeine/debian/cdbs/versions.pl index 9ce11d8a3..75c9add4b 100644 --- a/ubuntu/maverick/applications/kaffeine/debian/cdbs/versions.pl +++ b/ubuntu/maverick/applications/kaffeine/debian/cdbs/versions.pl @@ -7,7 +7,7 @@ my $version = `dpkg-parsechangelog | awk '/^Version/ {print \$2}'`; my ($version3, $version3_next); my ($version2, $version2_next); -($version3 = $version) =~ s/-[^-]+$//; +($version3 = $version) =~ s/^(([^.]+\.){2}[^.+~-]+)[.+~-]?[^-]*-[^-]+$/$1/; ($version2 = $version3) =~ s/\.[^.]+$//; ($version3_next = $version3) =~ s/(?<=\.)(\d+)[a-z]?$/($1+1)/e; diff --git a/ubuntu/maverick/applications/katapult/debian/cdbs/versions.pl b/ubuntu/maverick/applications/katapult/debian/cdbs/versions.pl index 9ce11d8a3..75c9add4b 100644 --- a/ubuntu/maverick/applications/katapult/debian/cdbs/versions.pl +++ b/ubuntu/maverick/applications/katapult/debian/cdbs/versions.pl @@ -7,7 +7,7 @@ my $version = `dpkg-parsechangelog | awk '/^Version/ {print \$2}'`; my ($version3, $version3_next); my ($version2, $version2_next); -($version3 = $version) =~ s/-[^-]+$//; +($version3 = $version) =~ s/^(([^.]+\.){2}[^.+~-]+)[.+~-]?[^-]*-[^-]+$/$1/; ($version2 = $version3) =~ s/\.[^.]+$//; ($version3_next = $version3) =~ s/(?<=\.)(\d+)[a-z]?$/($1+1)/e; diff --git a/ubuntu/maverick/applications/kbarcode/debian/cdbs/versions.pl b/ubuntu/maverick/applications/kbarcode/debian/cdbs/versions.pl index 9ce11d8a3..75c9add4b 100644 --- a/ubuntu/maverick/applications/kbarcode/debian/cdbs/versions.pl +++ b/ubuntu/maverick/applications/kbarcode/debian/cdbs/versions.pl @@ -7,7 +7,7 @@ my $version = `dpkg-parsechangelog | awk '/^Version/ {print \$2}'`; my ($version3, $version3_next); my ($version2, $version2_next); -($version3 = $version) =~ s/-[^-]+$//; +($version3 = $version) =~ s/^(([^.]+\.){2}[^.+~-]+)[.+~-]?[^-]*-[^-]+$/$1/; ($version2 = $version3) =~ s/\.[^.]+$//; ($version3_next = $version3) =~ s/(?<=\.)(\d+)[a-z]?$/($1+1)/e; diff --git a/ubuntu/maverick/applications/kbookreader/debian/cdbs/versions.pl b/ubuntu/maverick/applications/kbookreader/debian/cdbs/versions.pl index 9ce11d8a3..75c9add4b 100644 --- a/ubuntu/maverick/applications/kbookreader/debian/cdbs/versions.pl +++ b/ubuntu/maverick/applications/kbookreader/debian/cdbs/versions.pl @@ -7,7 +7,7 @@ my $version = `dpkg-parsechangelog | awk '/^Version/ {print \$2}'`; my ($version3, $version3_next); my ($version2, $version2_next); -($version3 = $version) =~ s/-[^-]+$//; +($version3 = $version) =~ s/^(([^.]+\.){2}[^.+~-]+)[.+~-]?[^-]*-[^-]+$/$1/; ($version2 = $version3) =~ s/\.[^.]+$//; ($version3_next = $version3) =~ s/(?<=\.)(\d+)[a-z]?$/($1+1)/e; diff --git a/ubuntu/maverick/applications/kcpuload/debian/cdbs/versions.pl b/ubuntu/maverick/applications/kcpuload/debian/cdbs/versions.pl index 9ce11d8a3..75c9add4b 100644 --- a/ubuntu/maverick/applications/kcpuload/debian/cdbs/versions.pl +++ b/ubuntu/maverick/applications/kcpuload/debian/cdbs/versions.pl @@ -7,7 +7,7 @@ my $version = `dpkg-parsechangelog | awk '/^Version/ {print \$2}'`; my ($version3, $version3_next); my ($version2, $version2_next); -($version3 = $version) =~ s/-[^-]+$//; +($version3 = $version) =~ s/^(([^.]+\.){2}[^.+~-]+)[.+~-]?[^-]*-[^-]+$/$1/; ($version2 = $version3) =~ s/\.[^.]+$//; ($version3_next = $version3) =~ s/(?<=\.)(\d+)[a-z]?$/($1+1)/e; diff --git a/ubuntu/maverick/applications/kdbusnotification/debian/cdbs/versions.pl b/ubuntu/maverick/applications/kdbusnotification/debian/cdbs/versions.pl index 9ce11d8a3..75c9add4b 100644 --- a/ubuntu/maverick/applications/kdbusnotification/debian/cdbs/versions.pl +++ b/ubuntu/maverick/applications/kdbusnotification/debian/cdbs/versions.pl @@ -7,7 +7,7 @@ my $version = `dpkg-parsechangelog | awk '/^Version/ {print \$2}'`; my ($version3, $version3_next); my ($version2, $version2_next); -($version3 = $version) =~ s/-[^-]+$//; +($version3 = $version) =~ s/^(([^.]+\.){2}[^.+~-]+)[.+~-]?[^-]*-[^-]+$/$1/; ($version2 = $version3) =~ s/\.[^.]+$//; ($version3_next = $version3) =~ s/(?<=\.)(\d+)[a-z]?$/($1+1)/e; diff --git a/ubuntu/maverick/applications/kdiff3/debian/cdbs/versions.pl b/ubuntu/maverick/applications/kdiff3/debian/cdbs/versions.pl index 9ce11d8a3..75c9add4b 100644 --- a/ubuntu/maverick/applications/kdiff3/debian/cdbs/versions.pl +++ b/ubuntu/maverick/applications/kdiff3/debian/cdbs/versions.pl @@ -7,7 +7,7 @@ my $version = `dpkg-parsechangelog | awk '/^Version/ {print \$2}'`; my ($version3, $version3_next); my ($version2, $version2_next); -($version3 = $version) =~ s/-[^-]+$//; +($version3 = $version) =~ s/^(([^.]+\.){2}[^.+~-]+)[.+~-]?[^-]*-[^-]+$/$1/; ($version2 = $version3) =~ s/\.[^.]+$//; ($version3_next = $version3) =~ s/(?<=\.)(\d+)[a-z]?$/($1+1)/e; diff --git a/ubuntu/maverick/applications/kdirstat/debian/cdbs/versions.pl b/ubuntu/maverick/applications/kdirstat/debian/cdbs/versions.pl index 9ce11d8a3..75c9add4b 100644 --- a/ubuntu/maverick/applications/kdirstat/debian/cdbs/versions.pl +++ b/ubuntu/maverick/applications/kdirstat/debian/cdbs/versions.pl @@ -7,7 +7,7 @@ my $version = `dpkg-parsechangelog | awk '/^Version/ {print \$2}'`; my ($version3, $version3_next); my ($version2, $version2_next); -($version3 = $version) =~ s/-[^-]+$//; +($version3 = $version) =~ s/^(([^.]+\.){2}[^.+~-]+)[.+~-]?[^-]*-[^-]+$/$1/; ($version2 = $version3) =~ s/\.[^.]+$//; ($version3_next = $version3) =~ s/(?<=\.)(\d+)[a-z]?$/($1+1)/e; diff --git a/ubuntu/maverick/applications/keep/debian/cdbs/versions.pl b/ubuntu/maverick/applications/keep/debian/cdbs/versions.pl index 9ce11d8a3..75c9add4b 100644 --- a/ubuntu/maverick/applications/keep/debian/cdbs/versions.pl +++ b/ubuntu/maverick/applications/keep/debian/cdbs/versions.pl @@ -7,7 +7,7 @@ my $version = `dpkg-parsechangelog | awk '/^Version/ {print \$2}'`; my ($version3, $version3_next); my ($version2, $version2_next); -($version3 = $version) =~ s/-[^-]+$//; +($version3 = $version) =~ s/^(([^.]+\.){2}[^.+~-]+)[.+~-]?[^-]*-[^-]+$/$1/; ($version2 = $version3) =~ s/\.[^.]+$//; ($version3_next = $version3) =~ s/(?<=\.)(\d+)[a-z]?$/($1+1)/e; diff --git a/ubuntu/maverick/applications/kerry/debian/cdbs/versions.pl b/ubuntu/maverick/applications/kerry/debian/cdbs/versions.pl index 9ce11d8a3..75c9add4b 100644 --- a/ubuntu/maverick/applications/kerry/debian/cdbs/versions.pl +++ b/ubuntu/maverick/applications/kerry/debian/cdbs/versions.pl @@ -7,7 +7,7 @@ my $version = `dpkg-parsechangelog | awk '/^Version/ {print \$2}'`; my ($version3, $version3_next); my ($version2, $version2_next); -($version3 = $version) =~ s/-[^-]+$//; +($version3 = $version) =~ s/^(([^.]+\.){2}[^.+~-]+)[.+~-]?[^-]*-[^-]+$/$1/; ($version2 = $version3) =~ s/\.[^.]+$//; ($version3_next = $version3) =~ s/(?<=\.)(\d+)[a-z]?$/($1+1)/e; diff --git a/ubuntu/maverick/applications/kgtk-qt3/debian/cdbs/versions.pl b/ubuntu/maverick/applications/kgtk-qt3/debian/cdbs/versions.pl index 9ce11d8a3..75c9add4b 100644 --- a/ubuntu/maverick/applications/kgtk-qt3/debian/cdbs/versions.pl +++ b/ubuntu/maverick/applications/kgtk-qt3/debian/cdbs/versions.pl @@ -7,7 +7,7 @@ my $version = `dpkg-parsechangelog | awk '/^Version/ {print \$2}'`; my ($version3, $version3_next); my ($version2, $version2_next); -($version3 = $version) =~ s/-[^-]+$//; +($version3 = $version) =~ s/^(([^.]+\.){2}[^.+~-]+)[.+~-]?[^-]*-[^-]+$/$1/; ($version2 = $version3) =~ s/\.[^.]+$//; ($version3_next = $version3) =~ s/(?<=\.)(\d+)[a-z]?$/($1+1)/e; diff --git a/ubuntu/maverick/applications/kile/debian/cdbs/versions.pl b/ubuntu/maverick/applications/kile/debian/cdbs/versions.pl index 9ce11d8a3..75c9add4b 100644 --- a/ubuntu/maverick/applications/kile/debian/cdbs/versions.pl +++ b/ubuntu/maverick/applications/kile/debian/cdbs/versions.pl @@ -7,7 +7,7 @@ my $version = `dpkg-parsechangelog | awk '/^Version/ {print \$2}'`; my ($version3, $version3_next); my ($version2, $version2_next); -($version3 = $version) =~ s/-[^-]+$//; +($version3 = $version) =~ s/^(([^.]+\.){2}[^.+~-]+)[.+~-]?[^-]*-[^-]+$/$1/; ($version2 = $version3) =~ s/\.[^.]+$//; ($version3_next = $version3) =~ s/(?<=\.)(\d+)[a-z]?$/($1+1)/e; diff --git a/ubuntu/maverick/applications/kiosktool/debian/cdbs/versions.pl b/ubuntu/maverick/applications/kiosktool/debian/cdbs/versions.pl index 9ce11d8a3..75c9add4b 100644 --- a/ubuntu/maverick/applications/kiosktool/debian/cdbs/versions.pl +++ b/ubuntu/maverick/applications/kiosktool/debian/cdbs/versions.pl @@ -7,7 +7,7 @@ my $version = `dpkg-parsechangelog | awk '/^Version/ {print \$2}'`; my ($version3, $version3_next); my ($version2, $version2_next); -($version3 = $version) =~ s/-[^-]+$//; +($version3 = $version) =~ s/^(([^.]+\.){2}[^.+~-]+)[.+~-]?[^-]*-[^-]+$/$1/; ($version2 = $version3) =~ s/\.[^.]+$//; ($version3_next = $version3) =~ s/(?<=\.)(\d+)[a-z]?$/($1+1)/e; diff --git a/ubuntu/maverick/applications/kmplayer/debian/cdbs/versions.pl b/ubuntu/maverick/applications/kmplayer/debian/cdbs/versions.pl index 9ce11d8a3..75c9add4b 100644 --- a/ubuntu/maverick/applications/kmplayer/debian/cdbs/versions.pl +++ b/ubuntu/maverick/applications/kmplayer/debian/cdbs/versions.pl @@ -7,7 +7,7 @@ my $version = `dpkg-parsechangelog | awk '/^Version/ {print \$2}'`; my ($version3, $version3_next); my ($version2, $version2_next); -($version3 = $version) =~ s/-[^-]+$//; +($version3 = $version) =~ s/^(([^.]+\.){2}[^.+~-]+)[.+~-]?[^-]*-[^-]+$/$1/; ($version2 = $version3) =~ s/\.[^.]+$//; ($version3_next = $version3) =~ s/(?<=\.)(\d+)[a-z]?$/($1+1)/e; diff --git a/ubuntu/maverick/applications/kmymoney/debian/cdbs/versions.pl b/ubuntu/maverick/applications/kmymoney/debian/cdbs/versions.pl index 9ce11d8a3..75c9add4b 100644 --- a/ubuntu/maverick/applications/kmymoney/debian/cdbs/versions.pl +++ b/ubuntu/maverick/applications/kmymoney/debian/cdbs/versions.pl @@ -7,7 +7,7 @@ my $version = `dpkg-parsechangelog | awk '/^Version/ {print \$2}'`; my ($version3, $version3_next); my ($version2, $version2_next); -($version3 = $version) =~ s/-[^-]+$//; +($version3 = $version) =~ s/^(([^.]+\.){2}[^.+~-]+)[.+~-]?[^-]*-[^-]+$/$1/; ($version2 = $version3) =~ s/\.[^.]+$//; ($version3_next = $version3) =~ s/(?<=\.)(\d+)[a-z]?$/($1+1)/e; diff --git a/ubuntu/maverick/applications/knemo/debian/cdbs/versions.pl b/ubuntu/maverick/applications/knemo/debian/cdbs/versions.pl index 9ce11d8a3..75c9add4b 100644 --- a/ubuntu/maverick/applications/knemo/debian/cdbs/versions.pl +++ b/ubuntu/maverick/applications/knemo/debian/cdbs/versions.pl @@ -7,7 +7,7 @@ my $version = `dpkg-parsechangelog | awk '/^Version/ {print \$2}'`; my ($version3, $version3_next); my ($version2, $version2_next); -($version3 = $version) =~ s/-[^-]+$//; +($version3 = $version) =~ s/^(([^.]+\.){2}[^.+~-]+)[.+~-]?[^-]*-[^-]+$/$1/; ($version2 = $version3) =~ s/\.[^.]+$//; ($version3_next = $version3) =~ s/(?<=\.)(\d+)[a-z]?$/($1+1)/e; diff --git a/ubuntu/maverick/applications/knetstats/debian/cdbs/versions.pl b/ubuntu/maverick/applications/knetstats/debian/cdbs/versions.pl index 9ce11d8a3..75c9add4b 100644 --- a/ubuntu/maverick/applications/knetstats/debian/cdbs/versions.pl +++ b/ubuntu/maverick/applications/knetstats/debian/cdbs/versions.pl @@ -7,7 +7,7 @@ my $version = `dpkg-parsechangelog | awk '/^Version/ {print \$2}'`; my ($version3, $version3_next); my ($version2, $version2_next); -($version3 = $version) =~ s/-[^-]+$//; +($version3 = $version) =~ s/^(([^.]+\.){2}[^.+~-]+)[.+~-]?[^-]*-[^-]+$/$1/; ($version2 = $version3) =~ s/\.[^.]+$//; ($version3_next = $version3) =~ s/(?<=\.)(\d+)[a-z]?$/($1+1)/e; diff --git a/ubuntu/maverick/applications/knetworkmanager.cmake/debian/cdbs/versions.pl b/ubuntu/maverick/applications/knetworkmanager.cmake/debian/cdbs/versions.pl index 9ce11d8a3..75c9add4b 100644 --- a/ubuntu/maverick/applications/knetworkmanager.cmake/debian/cdbs/versions.pl +++ b/ubuntu/maverick/applications/knetworkmanager.cmake/debian/cdbs/versions.pl @@ -7,7 +7,7 @@ my $version = `dpkg-parsechangelog | awk '/^Version/ {print \$2}'`; my ($version3, $version3_next); my ($version2, $version2_next); -($version3 = $version) =~ s/-[^-]+$//; +($version3 = $version) =~ s/^(([^.]+\.){2}[^.+~-]+)[.+~-]?[^-]*-[^-]+$/$1/; ($version2 = $version3) =~ s/\.[^.]+$//; ($version3_next = $version3) =~ s/(?<=\.)(\d+)[a-z]?$/($1+1)/e; diff --git a/ubuntu/maverick/applications/knetworkmanager8/debian/cdbs/versions.pl b/ubuntu/maverick/applications/knetworkmanager8/debian/cdbs/versions.pl index 9ce11d8a3..75c9add4b 100644 --- a/ubuntu/maverick/applications/knetworkmanager8/debian/cdbs/versions.pl +++ b/ubuntu/maverick/applications/knetworkmanager8/debian/cdbs/versions.pl @@ -7,7 +7,7 @@ my $version = `dpkg-parsechangelog | awk '/^Version/ {print \$2}'`; my ($version3, $version3_next); my ($version2, $version2_next); -($version3 = $version) =~ s/-[^-]+$//; +($version3 = $version) =~ s/^(([^.]+\.){2}[^.+~-]+)[.+~-]?[^-]*-[^-]+$/$1/; ($version2 = $version3) =~ s/\.[^.]+$//; ($version3_next = $version3) =~ s/(?<=\.)(\d+)[a-z]?$/($1+1)/e; diff --git a/ubuntu/maverick/applications/knetworkmanager9/debian/cdbs/versions.pl b/ubuntu/maverick/applications/knetworkmanager9/debian/cdbs/versions.pl index 9ce11d8a3..75c9add4b 100644 --- a/ubuntu/maverick/applications/knetworkmanager9/debian/cdbs/versions.pl +++ b/ubuntu/maverick/applications/knetworkmanager9/debian/cdbs/versions.pl @@ -7,7 +7,7 @@ my $version = `dpkg-parsechangelog | awk '/^Version/ {print \$2}'`; my ($version3, $version3_next); my ($version2, $version2_next); -($version3 = $version) =~ s/-[^-]+$//; +($version3 = $version) =~ s/^(([^.]+\.){2}[^.+~-]+)[.+~-]?[^-]*-[^-]+$/$1/; ($version2 = $version3) =~ s/\.[^.]+$//; ($version3_next = $version3) =~ s/(?<=\.)(\d+)[a-z]?$/($1+1)/e; diff --git a/ubuntu/maverick/applications/koffice/debian/cdbs/versions.pl b/ubuntu/maverick/applications/koffice/debian/cdbs/versions.pl index 9ce11d8a3..75c9add4b 100644 --- a/ubuntu/maverick/applications/koffice/debian/cdbs/versions.pl +++ b/ubuntu/maverick/applications/koffice/debian/cdbs/versions.pl @@ -7,7 +7,7 @@ my $version = `dpkg-parsechangelog | awk '/^Version/ {print \$2}'`; my ($version3, $version3_next); my ($version2, $version2_next); -($version3 = $version) =~ s/-[^-]+$//; +($version3 = $version) =~ s/^(([^.]+\.){2}[^.+~-]+)[.+~-]?[^-]*-[^-]+$/$1/; ($version2 = $version3) =~ s/\.[^.]+$//; ($version3_next = $version3) =~ s/(?<=\.)(\d+)[a-z]?$/($1+1)/e; diff --git a/ubuntu/maverick/applications/konversation/debian/cdbs/versions.pl b/ubuntu/maverick/applications/konversation/debian/cdbs/versions.pl index 9ce11d8a3..75c9add4b 100644 --- a/ubuntu/maverick/applications/konversation/debian/cdbs/versions.pl +++ b/ubuntu/maverick/applications/konversation/debian/cdbs/versions.pl @@ -7,7 +7,7 @@ my $version = `dpkg-parsechangelog | awk '/^Version/ {print \$2}'`; my ($version3, $version3_next); my ($version2, $version2_next); -($version3 = $version) =~ s/-[^-]+$//; +($version3 = $version) =~ s/^(([^.]+\.){2}[^.+~-]+)[.+~-]?[^-]*-[^-]+$/$1/; ($version2 = $version3) =~ s/\.[^.]+$//; ($version3_next = $version3) =~ s/(?<=\.)(\d+)[a-z]?$/($1+1)/e; diff --git a/ubuntu/maverick/applications/kopete-otr/debian/cdbs/versions.pl b/ubuntu/maverick/applications/kopete-otr/debian/cdbs/versions.pl index 9ce11d8a3..75c9add4b 100644 --- a/ubuntu/maverick/applications/kopete-otr/debian/cdbs/versions.pl +++ b/ubuntu/maverick/applications/kopete-otr/debian/cdbs/versions.pl @@ -7,7 +7,7 @@ my $version = `dpkg-parsechangelog | awk '/^Version/ {print \$2}'`; my ($version3, $version3_next); my ($version2, $version2_next); -($version3 = $version) =~ s/-[^-]+$//; +($version3 = $version) =~ s/^(([^.]+\.){2}[^.+~-]+)[.+~-]?[^-]*-[^-]+$/$1/; ($version2 = $version3) =~ s/\.[^.]+$//; ($version3_next = $version3) =~ s/(?<=\.)(\d+)[a-z]?$/($1+1)/e; diff --git a/ubuntu/maverick/applications/kpilot/debian/cdbs/versions.pl b/ubuntu/maverick/applications/kpilot/debian/cdbs/versions.pl index 9ce11d8a3..75c9add4b 100644 --- a/ubuntu/maverick/applications/kpilot/debian/cdbs/versions.pl +++ b/ubuntu/maverick/applications/kpilot/debian/cdbs/versions.pl @@ -7,7 +7,7 @@ my $version = `dpkg-parsechangelog | awk '/^Version/ {print \$2}'`; my ($version3, $version3_next); my ($version2, $version2_next); -($version3 = $version) =~ s/-[^-]+$//; +($version3 = $version) =~ s/^(([^.]+\.){2}[^.+~-]+)[.+~-]?[^-]*-[^-]+$/$1/; ($version2 = $version3) =~ s/\.[^.]+$//; ($version3_next = $version3) =~ s/(?<=\.)(\d+)[a-z]?$/($1+1)/e; diff --git a/ubuntu/maverick/applications/kpowersave-nohal/debian/cdbs/versions.pl b/ubuntu/maverick/applications/kpowersave-nohal/debian/cdbs/versions.pl index 9ce11d8a3..75c9add4b 100644 --- a/ubuntu/maverick/applications/kpowersave-nohal/debian/cdbs/versions.pl +++ b/ubuntu/maverick/applications/kpowersave-nohal/debian/cdbs/versions.pl @@ -7,7 +7,7 @@ my $version = `dpkg-parsechangelog | awk '/^Version/ {print \$2}'`; my ($version3, $version3_next); my ($version2, $version2_next); -($version3 = $version) =~ s/-[^-]+$//; +($version3 = $version) =~ s/^(([^.]+\.){2}[^.+~-]+)[.+~-]?[^-]*-[^-]+$/$1/; ($version2 = $version3) =~ s/\.[^.]+$//; ($version3_next = $version3) =~ s/(?<=\.)(\d+)[a-z]?$/($1+1)/e; diff --git a/ubuntu/maverick/applications/kpowersave.cmake/debian/cdbs/versions.pl b/ubuntu/maverick/applications/kpowersave.cmake/debian/cdbs/versions.pl index 9ce11d8a3..75c9add4b 100644 --- a/ubuntu/maverick/applications/kpowersave.cmake/debian/cdbs/versions.pl +++ b/ubuntu/maverick/applications/kpowersave.cmake/debian/cdbs/versions.pl @@ -7,7 +7,7 @@ my $version = `dpkg-parsechangelog | awk '/^Version/ {print \$2}'`; my ($version3, $version3_next); my ($version2, $version2_next); -($version3 = $version) =~ s/-[^-]+$//; +($version3 = $version) =~ s/^(([^.]+\.){2}[^.+~-]+)[.+~-]?[^-]*-[^-]+$/$1/; ($version2 = $version3) =~ s/\.[^.]+$//; ($version3_next = $version3) =~ s/(?<=\.)(\d+)[a-z]?$/($1+1)/e; diff --git a/ubuntu/maverick/applications/kpowersave/debian/cdbs/versions.pl b/ubuntu/maverick/applications/kpowersave/debian/cdbs/versions.pl index 9ce11d8a3..75c9add4b 100644 --- a/ubuntu/maverick/applications/kpowersave/debian/cdbs/versions.pl +++ b/ubuntu/maverick/applications/kpowersave/debian/cdbs/versions.pl @@ -7,7 +7,7 @@ my $version = `dpkg-parsechangelog | awk '/^Version/ {print \$2}'`; my ($version3, $version3_next); my ($version2, $version2_next); -($version3 = $version) =~ s/-[^-]+$//; +($version3 = $version) =~ s/^(([^.]+\.){2}[^.+~-]+)[.+~-]?[^-]*-[^-]+$/$1/; ($version2 = $version3) =~ s/\.[^.]+$//; ($version3_next = $version3) =~ s/(?<=\.)(\d+)[a-z]?$/($1+1)/e; diff --git a/ubuntu/maverick/applications/krename/debian/cdbs/versions.pl b/ubuntu/maverick/applications/krename/debian/cdbs/versions.pl index 9ce11d8a3..75c9add4b 100644 --- a/ubuntu/maverick/applications/krename/debian/cdbs/versions.pl +++ b/ubuntu/maverick/applications/krename/debian/cdbs/versions.pl @@ -7,7 +7,7 @@ my $version = `dpkg-parsechangelog | awk '/^Version/ {print \$2}'`; my ($version3, $version3_next); my ($version2, $version2_next); -($version3 = $version) =~ s/-[^-]+$//; +($version3 = $version) =~ s/^(([^.]+\.){2}[^.+~-]+)[.+~-]?[^-]*-[^-]+$/$1/; ($version2 = $version3) =~ s/\.[^.]+$//; ($version3_next = $version3) =~ s/(?<=\.)(\d+)[a-z]?$/($1+1)/e; diff --git a/ubuntu/maverick/applications/krusader/debian/cdbs/versions.pl b/ubuntu/maverick/applications/krusader/debian/cdbs/versions.pl index 9ce11d8a3..75c9add4b 100644 --- a/ubuntu/maverick/applications/krusader/debian/cdbs/versions.pl +++ b/ubuntu/maverick/applications/krusader/debian/cdbs/versions.pl @@ -7,7 +7,7 @@ my $version = `dpkg-parsechangelog | awk '/^Version/ {print \$2}'`; my ($version3, $version3_next); my ($version2, $version2_next); -($version3 = $version) =~ s/-[^-]+$//; +($version3 = $version) =~ s/^(([^.]+\.){2}[^.+~-]+)[.+~-]?[^-]*-[^-]+$/$1/; ($version2 = $version3) =~ s/\.[^.]+$//; ($version3_next = $version3) =~ s/(?<=\.)(\d+)[a-z]?$/($1+1)/e; diff --git a/ubuntu/maverick/applications/ksystemlog/debian/cdbs/versions.pl b/ubuntu/maverick/applications/ksystemlog/debian/cdbs/versions.pl index 9ce11d8a3..75c9add4b 100644 --- a/ubuntu/maverick/applications/ksystemlog/debian/cdbs/versions.pl +++ b/ubuntu/maverick/applications/ksystemlog/debian/cdbs/versions.pl @@ -7,7 +7,7 @@ my $version = `dpkg-parsechangelog | awk '/^Version/ {print \$2}'`; my ($version3, $version3_next); my ($version2, $version2_next); -($version3 = $version) =~ s/-[^-]+$//; +($version3 = $version) =~ s/^(([^.]+\.){2}[^.+~-]+)[.+~-]?[^-]*-[^-]+$/$1/; ($version2 = $version3) =~ s/\.[^.]+$//; ($version3_next = $version3) =~ s/(?<=\.)(\d+)[a-z]?$/($1+1)/e; diff --git a/ubuntu/maverick/applications/ktorrent/debian/cdbs/versions.pl b/ubuntu/maverick/applications/ktorrent/debian/cdbs/versions.pl index 9ce11d8a3..75c9add4b 100644 --- a/ubuntu/maverick/applications/ktorrent/debian/cdbs/versions.pl +++ b/ubuntu/maverick/applications/ktorrent/debian/cdbs/versions.pl @@ -7,7 +7,7 @@ my $version = `dpkg-parsechangelog | awk '/^Version/ {print \$2}'`; my ($version3, $version3_next); my ($version2, $version2_next); -($version3 = $version) =~ s/-[^-]+$//; +($version3 = $version) =~ s/^(([^.]+\.){2}[^.+~-]+)[.+~-]?[^-]*-[^-]+$/$1/; ($version2 = $version3) =~ s/\.[^.]+$//; ($version3_next = $version3) =~ s/(?<=\.)(\d+)[a-z]?$/($1+1)/e; diff --git a/ubuntu/maverick/applications/kuickshow/debian/cdbs/versions.pl b/ubuntu/maverick/applications/kuickshow/debian/cdbs/versions.pl index 9ce11d8a3..75c9add4b 100644 --- a/ubuntu/maverick/applications/kuickshow/debian/cdbs/versions.pl +++ b/ubuntu/maverick/applications/kuickshow/debian/cdbs/versions.pl @@ -7,7 +7,7 @@ my $version = `dpkg-parsechangelog | awk '/^Version/ {print \$2}'`; my ($version3, $version3_next); my ($version2, $version2_next); -($version3 = $version) =~ s/-[^-]+$//; +($version3 = $version) =~ s/^(([^.]+\.){2}[^.+~-]+)[.+~-]?[^-]*-[^-]+$/$1/; ($version2 = $version3) =~ s/\.[^.]+$//; ($version3_next = $version3) =~ s/(?<=\.)(\d+)[a-z]?$/($1+1)/e; diff --git a/ubuntu/maverick/applications/kvkbd/debian/cdbs/versions.pl b/ubuntu/maverick/applications/kvkbd/debian/cdbs/versions.pl index 9ce11d8a3..75c9add4b 100644 --- a/ubuntu/maverick/applications/kvkbd/debian/cdbs/versions.pl +++ b/ubuntu/maverick/applications/kvkbd/debian/cdbs/versions.pl @@ -7,7 +7,7 @@ my $version = `dpkg-parsechangelog | awk '/^Version/ {print \$2}'`; my ($version3, $version3_next); my ($version2, $version2_next); -($version3 = $version) =~ s/-[^-]+$//; +($version3 = $version) =~ s/^(([^.]+\.){2}[^.+~-]+)[.+~-]?[^-]*-[^-]+$/$1/; ($version2 = $version3) =~ s/\.[^.]+$//; ($version3_next = $version3) =~ s/(?<=\.)(\d+)[a-z]?$/($1+1)/e; diff --git a/ubuntu/maverick/applications/rosegarden/debian/cdbs/versions.pl b/ubuntu/maverick/applications/rosegarden/debian/cdbs/versions.pl index 9ce11d8a3..75c9add4b 100644 --- a/ubuntu/maverick/applications/rosegarden/debian/cdbs/versions.pl +++ b/ubuntu/maverick/applications/rosegarden/debian/cdbs/versions.pl @@ -7,7 +7,7 @@ my $version = `dpkg-parsechangelog | awk '/^Version/ {print \$2}'`; my ($version3, $version3_next); my ($version2, $version2_next); -($version3 = $version) =~ s/-[^-]+$//; +($version3 = $version) =~ s/^(([^.]+\.){2}[^.+~-]+)[.+~-]?[^-]*-[^-]+$/$1/; ($version2 = $version3) =~ s/\.[^.]+$//; ($version3_next = $version3) =~ s/(?<=\.)(\d+)[a-z]?$/($1+1)/e; diff --git a/ubuntu/maverick/applications/smb4k/debian/cdbs/versions.pl b/ubuntu/maverick/applications/smb4k/debian/cdbs/versions.pl index 9ce11d8a3..75c9add4b 100644 --- a/ubuntu/maverick/applications/smb4k/debian/cdbs/versions.pl +++ b/ubuntu/maverick/applications/smb4k/debian/cdbs/versions.pl @@ -7,7 +7,7 @@ my $version = `dpkg-parsechangelog | awk '/^Version/ {print \$2}'`; my ($version3, $version3_next); my ($version2, $version2_next); -($version3 = $version) =~ s/-[^-]+$//; +($version3 = $version) =~ s/^(([^.]+\.){2}[^.+~-]+)[.+~-]?[^-]*-[^-]+$/$1/; ($version2 = $version3) =~ s/\.[^.]+$//; ($version3_next = $version3) =~ s/(?<=\.)(\d+)[a-z]?$/($1+1)/e; diff --git a/ubuntu/maverick/applications/soundkonverter/debian/cdbs/versions.pl b/ubuntu/maverick/applications/soundkonverter/debian/cdbs/versions.pl index 9ce11d8a3..75c9add4b 100644 --- a/ubuntu/maverick/applications/soundkonverter/debian/cdbs/versions.pl +++ b/ubuntu/maverick/applications/soundkonverter/debian/cdbs/versions.pl @@ -7,7 +7,7 @@ my $version = `dpkg-parsechangelog | awk '/^Version/ {print \$2}'`; my ($version3, $version3_next); my ($version2, $version2_next); -($version3 = $version) =~ s/-[^-]+$//; +($version3 = $version) =~ s/^(([^.]+\.){2}[^.+~-]+)[.+~-]?[^-]*-[^-]+$/$1/; ($version2 = $version3) =~ s/\.[^.]+$//; ($version3_next = $version3) =~ s/(?<=\.)(\d+)[a-z]?$/($1+1)/e; diff --git a/ubuntu/maverick/applications/tde-style-qtcurve/debian/cdbs/versions.pl b/ubuntu/maverick/applications/tde-style-qtcurve/debian/cdbs/versions.pl index 9ce11d8a3..75c9add4b 100644 --- a/ubuntu/maverick/applications/tde-style-qtcurve/debian/cdbs/versions.pl +++ b/ubuntu/maverick/applications/tde-style-qtcurve/debian/cdbs/versions.pl @@ -7,7 +7,7 @@ my $version = `dpkg-parsechangelog | awk '/^Version/ {print \$2}'`; my ($version3, $version3_next); my ($version2, $version2_next); -($version3 = $version) =~ s/-[^-]+$//; +($version3 = $version) =~ s/^(([^.]+\.){2}[^.+~-]+)[.+~-]?[^-]*-[^-]+$/$1/; ($version2 = $version3) =~ s/\.[^.]+$//; ($version3_next = $version3) =~ s/(?<=\.)(\d+)[a-z]?$/($1+1)/e; diff --git a/ubuntu/maverick/applications/tde-systemsettings/debian/cdbs/versions.pl b/ubuntu/maverick/applications/tde-systemsettings/debian/cdbs/versions.pl index 9ce11d8a3..75c9add4b 100644 --- a/ubuntu/maverick/applications/tde-systemsettings/debian/cdbs/versions.pl +++ b/ubuntu/maverick/applications/tde-systemsettings/debian/cdbs/versions.pl @@ -7,7 +7,7 @@ my $version = `dpkg-parsechangelog | awk '/^Version/ {print \$2}'`; my ($version3, $version3_next); my ($version2, $version2_next); -($version3 = $version) =~ s/-[^-]+$//; +($version3 = $version) =~ s/^(([^.]+\.){2}[^.+~-]+)[.+~-]?[^-]*-[^-]+$/$1/; ($version2 = $version3) =~ s/\.[^.]+$//; ($version3_next = $version3) =~ s/(?<=\.)(\d+)[a-z]?$/($1+1)/e; diff --git a/ubuntu/maverick/applications/tdeio-apt/debian/cdbs/versions.pl b/ubuntu/maverick/applications/tdeio-apt/debian/cdbs/versions.pl index 9ce11d8a3..75c9add4b 100644 --- a/ubuntu/maverick/applications/tdeio-apt/debian/cdbs/versions.pl +++ b/ubuntu/maverick/applications/tdeio-apt/debian/cdbs/versions.pl @@ -7,7 +7,7 @@ my $version = `dpkg-parsechangelog | awk '/^Version/ {print \$2}'`; my ($version3, $version3_next); my ($version2, $version2_next); -($version3 = $version) =~ s/-[^-]+$//; +($version3 = $version) =~ s/^(([^.]+\.){2}[^.+~-]+)[.+~-]?[^-]*-[^-]+$/$1/; ($version2 = $version3) =~ s/\.[^.]+$//; ($version3_next = $version3) =~ s/(?<=\.)(\d+)[a-z]?$/($1+1)/e; diff --git a/ubuntu/maverick/applications/tdeio-locate/debian/cdbs/versions.pl b/ubuntu/maverick/applications/tdeio-locate/debian/cdbs/versions.pl index 9ce11d8a3..75c9add4b 100644 --- a/ubuntu/maverick/applications/tdeio-locate/debian/cdbs/versions.pl +++ b/ubuntu/maverick/applications/tdeio-locate/debian/cdbs/versions.pl @@ -7,7 +7,7 @@ my $version = `dpkg-parsechangelog | awk '/^Version/ {print \$2}'`; my ($version3, $version3_next); my ($version2, $version2_next); -($version3 = $version) =~ s/-[^-]+$//; +($version3 = $version) =~ s/^(([^.]+\.){2}[^.+~-]+)[.+~-]?[^-]*-[^-]+$/$1/; ($version2 = $version3) =~ s/\.[^.]+$//; ($version3_next = $version3) =~ s/(?<=\.)(\d+)[a-z]?$/($1+1)/e; diff --git a/ubuntu/maverick/applications/tdeio-umountwrapper/debian/cdbs/versions.pl b/ubuntu/maverick/applications/tdeio-umountwrapper/debian/cdbs/versions.pl index 9ce11d8a3..75c9add4b 100644 --- a/ubuntu/maverick/applications/tdeio-umountwrapper/debian/cdbs/versions.pl +++ b/ubuntu/maverick/applications/tdeio-umountwrapper/debian/cdbs/versions.pl @@ -7,7 +7,7 @@ my $version = `dpkg-parsechangelog | awk '/^Version/ {print \$2}'`; my ($version3, $version3_next); my ($version2, $version2_next); -($version3 = $version) =~ s/-[^-]+$//; +($version3 = $version) =~ s/^(([^.]+\.){2}[^.+~-]+)[.+~-]?[^-]*-[^-]+$/$1/; ($version2 = $version3) =~ s/\.[^.]+$//; ($version3_next = $version3) =~ s/(?<=\.)(\d+)[a-z]?$/($1+1)/e; diff --git a/ubuntu/maverick/applications/tdesudo/debian/cdbs/versions.pl b/ubuntu/maverick/applications/tdesudo/debian/cdbs/versions.pl index 9ce11d8a3..75c9add4b 100644 --- a/ubuntu/maverick/applications/tdesudo/debian/cdbs/versions.pl +++ b/ubuntu/maverick/applications/tdesudo/debian/cdbs/versions.pl @@ -7,7 +7,7 @@ my $version = `dpkg-parsechangelog | awk '/^Version/ {print \$2}'`; my ($version3, $version3_next); my ($version2, $version2_next); -($version3 = $version) =~ s/-[^-]+$//; +($version3 = $version) =~ s/^(([^.]+\.){2}[^.+~-]+)[.+~-]?[^-]*-[^-]+$/$1/; ($version2 = $version3) =~ s/\.[^.]+$//; ($version3_next = $version3) =~ s/(?<=\.)(\d+)[a-z]?$/($1+1)/e; diff --git a/ubuntu/maverick/applications/tdesvn/debian/cdbs/versions.pl b/ubuntu/maverick/applications/tdesvn/debian/cdbs/versions.pl index 9ce11d8a3..75c9add4b 100644 --- a/ubuntu/maverick/applications/tdesvn/debian/cdbs/versions.pl +++ b/ubuntu/maverick/applications/tdesvn/debian/cdbs/versions.pl @@ -7,7 +7,7 @@ my $version = `dpkg-parsechangelog | awk '/^Version/ {print \$2}'`; my ($version3, $version3_next); my ($version2, $version2_next); -($version3 = $version) =~ s/-[^-]+$//; +($version3 = $version) =~ s/^(([^.]+\.){2}[^.+~-]+)[.+~-]?[^-]*-[^-]+$/$1/; ($version2 = $version3) =~ s/\.[^.]+$//; ($version3_next = $version3) =~ s/(?<=\.)(\d+)[a-z]?$/($1+1)/e; diff --git a/ubuntu/maverick/applications/tdmtheme/debian/cdbs/versions.pl b/ubuntu/maverick/applications/tdmtheme/debian/cdbs/versions.pl index 9ce11d8a3..75c9add4b 100644 --- a/ubuntu/maverick/applications/tdmtheme/debian/cdbs/versions.pl +++ b/ubuntu/maverick/applications/tdmtheme/debian/cdbs/versions.pl @@ -7,7 +7,7 @@ my $version = `dpkg-parsechangelog | awk '/^Version/ {print \$2}'`; my ($version3, $version3_next); my ($version2, $version2_next); -($version3 = $version) =~ s/-[^-]+$//; +($version3 = $version) =~ s/^(([^.]+\.){2}[^.+~-]+)[.+~-]?[^-]*-[^-]+$/$1/; ($version2 = $version3) =~ s/\.[^.]+$//; ($version3_next = $version3) =~ s/(?<=\.)(\d+)[a-z]?$/($1+1)/e; diff --git a/ubuntu/maverick/applications/twin-style-crystal/debian/cdbs/versions.pl b/ubuntu/maverick/applications/twin-style-crystal/debian/cdbs/versions.pl index 9ce11d8a3..75c9add4b 100644 --- a/ubuntu/maverick/applications/twin-style-crystal/debian/cdbs/versions.pl +++ b/ubuntu/maverick/applications/twin-style-crystal/debian/cdbs/versions.pl @@ -7,7 +7,7 @@ my $version = `dpkg-parsechangelog | awk '/^Version/ {print \$2}'`; my ($version3, $version3_next); my ($version2, $version2_next); -($version3 = $version) =~ s/-[^-]+$//; +($version3 = $version) =~ s/^(([^.]+\.){2}[^.+~-]+)[.+~-]?[^-]*-[^-]+$/$1/; ($version2 = $version3) =~ s/\.[^.]+$//; ($version3_next = $version3) =~ s/(?<=\.)(\d+)[a-z]?$/($1+1)/e; diff --git a/ubuntu/maverick/applications/wlassistant/debian/cdbs/versions.pl b/ubuntu/maverick/applications/wlassistant/debian/cdbs/versions.pl index 9ce11d8a3..75c9add4b 100644 --- a/ubuntu/maverick/applications/wlassistant/debian/cdbs/versions.pl +++ b/ubuntu/maverick/applications/wlassistant/debian/cdbs/versions.pl @@ -7,7 +7,7 @@ my $version = `dpkg-parsechangelog | awk '/^Version/ {print \$2}'`; my ($version3, $version3_next); my ($version2, $version2_next); -($version3 = $version) =~ s/-[^-]+$//; +($version3 = $version) =~ s/^(([^.]+\.){2}[^.+~-]+)[.+~-]?[^-]*-[^-]+$/$1/; ($version2 = $version3) =~ s/\.[^.]+$//; ($version3_next = $version3) =~ s/(?<=\.)(\d+)[a-z]?$/($1+1)/e; diff --git a/ubuntu/maverick/applications/yakuake/debian/cdbs/versions.pl b/ubuntu/maverick/applications/yakuake/debian/cdbs/versions.pl index 9ce11d8a3..75c9add4b 100644 --- a/ubuntu/maverick/applications/yakuake/debian/cdbs/versions.pl +++ b/ubuntu/maverick/applications/yakuake/debian/cdbs/versions.pl @@ -7,7 +7,7 @@ my $version = `dpkg-parsechangelog | awk '/^Version/ {print \$2}'`; my ($version3, $version3_next); my ($version2, $version2_next); -($version3 = $version) =~ s/-[^-]+$//; +($version3 = $version) =~ s/^(([^.]+\.){2}[^.+~-]+)[.+~-]?[^-]*-[^-]+$/$1/; ($version2 = $version3) =~ s/\.[^.]+$//; ($version3_next = $version3) =~ s/(?<=\.)(\d+)[a-z]?$/($1+1)/e; diff --git a/ubuntu/maverick/dependencies/arts/debian/cdbs/versions.pl b/ubuntu/maverick/dependencies/arts/debian/cdbs/versions.pl index 9ce11d8a3..75c9add4b 100644 --- a/ubuntu/maverick/dependencies/arts/debian/cdbs/versions.pl +++ b/ubuntu/maverick/dependencies/arts/debian/cdbs/versions.pl @@ -7,7 +7,7 @@ my $version = `dpkg-parsechangelog | awk '/^Version/ {print \$2}'`; my ($version3, $version3_next); my ($version2, $version2_next); -($version3 = $version) =~ s/-[^-]+$//; +($version3 = $version) =~ s/^(([^.]+\.){2}[^.+~-]+)[.+~-]?[^-]*-[^-]+$/$1/; ($version2 = $version3) =~ s/\.[^.]+$//; ($version3_next = $version3) =~ s/(?<=\.)(\d+)[a-z]?$/($1+1)/e; diff --git a/ubuntu/maverick/kdegraphics.automake/debian/cdbs/versions.pl b/ubuntu/maverick/kdegraphics.automake/debian/cdbs/versions.pl index 9ce11d8a3..75c9add4b 100644 --- a/ubuntu/maverick/kdegraphics.automake/debian/cdbs/versions.pl +++ b/ubuntu/maverick/kdegraphics.automake/debian/cdbs/versions.pl @@ -7,7 +7,7 @@ my $version = `dpkg-parsechangelog | awk '/^Version/ {print \$2}'`; my ($version3, $version3_next); my ($version2, $version2_next); -($version3 = $version) =~ s/-[^-]+$//; +($version3 = $version) =~ s/^(([^.]+\.){2}[^.+~-]+)[.+~-]?[^-]*-[^-]+$/$1/; ($version2 = $version3) =~ s/\.[^.]+$//; ($version3_next = $version3) =~ s/(?<=\.)(\d+)[a-z]?$/($1+1)/e; diff --git a/ubuntu/maverick/kdevelop.cmake/debian/cdbs/versions.pl b/ubuntu/maverick/kdevelop.cmake/debian/cdbs/versions.pl index 9ce11d8a3..75c9add4b 100644 --- a/ubuntu/maverick/kdevelop.cmake/debian/cdbs/versions.pl +++ b/ubuntu/maverick/kdevelop.cmake/debian/cdbs/versions.pl @@ -7,7 +7,7 @@ my $version = `dpkg-parsechangelog | awk '/^Version/ {print \$2}'`; my ($version3, $version3_next); my ($version2, $version2_next); -($version3 = $version) =~ s/-[^-]+$//; +($version3 = $version) =~ s/^(([^.]+\.){2}[^.+~-]+)[.+~-]?[^-]*-[^-]+$/$1/; ($version2 = $version3) =~ s/\.[^.]+$//; ($version3_next = $version3) =~ s/(?<=\.)(\d+)[a-z]?$/($1+1)/e; diff --git a/ubuntu/maverick/libraries/kipi-plugins/debian/cdbs/versions.pl b/ubuntu/maverick/libraries/kipi-plugins/debian/cdbs/versions.pl index 9ce11d8a3..75c9add4b 100644 --- a/ubuntu/maverick/libraries/kipi-plugins/debian/cdbs/versions.pl +++ b/ubuntu/maverick/libraries/kipi-plugins/debian/cdbs/versions.pl @@ -7,7 +7,7 @@ my $version = `dpkg-parsechangelog | awk '/^Version/ {print \$2}'`; my ($version3, $version3_next); my ($version2, $version2_next); -($version3 = $version) =~ s/-[^-]+$//; +($version3 = $version) =~ s/^(([^.]+\.){2}[^.+~-]+)[.+~-]?[^-]*-[^-]+$/$1/; ($version2 = $version3) =~ s/\.[^.]+$//; ($version3_next = $version3) =~ s/(?<=\.)(\d+)[a-z]?$/($1+1)/e; diff --git a/ubuntu/maverick/libraries/libkdcraw/debian/cdbs/versions.pl b/ubuntu/maverick/libraries/libkdcraw/debian/cdbs/versions.pl index 9ce11d8a3..75c9add4b 100644 --- a/ubuntu/maverick/libraries/libkdcraw/debian/cdbs/versions.pl +++ b/ubuntu/maverick/libraries/libkdcraw/debian/cdbs/versions.pl @@ -7,7 +7,7 @@ my $version = `dpkg-parsechangelog | awk '/^Version/ {print \$2}'`; my ($version3, $version3_next); my ($version2, $version2_next); -($version3 = $version) =~ s/-[^-]+$//; +($version3 = $version) =~ s/^(([^.]+\.){2}[^.+~-]+)[.+~-]?[^-]*-[^-]+$/$1/; ($version2 = $version3) =~ s/\.[^.]+$//; ($version3_next = $version3) =~ s/(?<=\.)(\d+)[a-z]?$/($1+1)/e; diff --git a/ubuntu/maverick/libraries/libkexiv2/debian/cdbs/versions.pl b/ubuntu/maverick/libraries/libkexiv2/debian/cdbs/versions.pl index 9ce11d8a3..75c9add4b 100644 --- a/ubuntu/maverick/libraries/libkexiv2/debian/cdbs/versions.pl +++ b/ubuntu/maverick/libraries/libkexiv2/debian/cdbs/versions.pl @@ -7,7 +7,7 @@ my $version = `dpkg-parsechangelog | awk '/^Version/ {print \$2}'`; my ($version3, $version3_next); my ($version2, $version2_next); -($version3 = $version) =~ s/-[^-]+$//; +($version3 = $version) =~ s/^(([^.]+\.){2}[^.+~-]+)[.+~-]?[^-]*-[^-]+$/$1/; ($version2 = $version3) =~ s/\.[^.]+$//; ($version3_next = $version3) =~ s/(?<=\.)(\d+)[a-z]?$/($1+1)/e; diff --git a/ubuntu/maverick/libraries/libkipi/debian/cdbs/versions.pl b/ubuntu/maverick/libraries/libkipi/debian/cdbs/versions.pl index 9ce11d8a3..75c9add4b 100644 --- a/ubuntu/maverick/libraries/libkipi/debian/cdbs/versions.pl +++ b/ubuntu/maverick/libraries/libkipi/debian/cdbs/versions.pl @@ -7,7 +7,7 @@ my $version = `dpkg-parsechangelog | awk '/^Version/ {print \$2}'`; my ($version3, $version3_next); my ($version2, $version2_next); -($version3 = $version) =~ s/-[^-]+$//; +($version3 = $version) =~ s/^(([^.]+\.){2}[^.+~-]+)[.+~-]?[^-]*-[^-]+$/$1/; ($version2 = $version3) =~ s/\.[^.]+$//; ($version3_next = $version3) =~ s/(?<=\.)(\d+)[a-z]?$/($1+1)/e; diff --git a/ubuntu/maverick/tdeaccessibility/debian/cdbs/versions.pl b/ubuntu/maverick/tdeaccessibility/debian/cdbs/versions.pl index 9ce11d8a3..75c9add4b 100644 --- a/ubuntu/maverick/tdeaccessibility/debian/cdbs/versions.pl +++ b/ubuntu/maverick/tdeaccessibility/debian/cdbs/versions.pl @@ -7,7 +7,7 @@ my $version = `dpkg-parsechangelog | awk '/^Version/ {print \$2}'`; my ($version3, $version3_next); my ($version2, $version2_next); -($version3 = $version) =~ s/-[^-]+$//; +($version3 = $version) =~ s/^(([^.]+\.){2}[^.+~-]+)[.+~-]?[^-]*-[^-]+$/$1/; ($version2 = $version3) =~ s/\.[^.]+$//; ($version3_next = $version3) =~ s/(?<=\.)(\d+)[a-z]?$/($1+1)/e; diff --git a/ubuntu/maverick/tdeaddons/debian/cdbs/versions.pl b/ubuntu/maverick/tdeaddons/debian/cdbs/versions.pl index 9ce11d8a3..75c9add4b 100644 --- a/ubuntu/maverick/tdeaddons/debian/cdbs/versions.pl +++ b/ubuntu/maverick/tdeaddons/debian/cdbs/versions.pl @@ -7,7 +7,7 @@ my $version = `dpkg-parsechangelog | awk '/^Version/ {print \$2}'`; my ($version3, $version3_next); my ($version2, $version2_next); -($version3 = $version) =~ s/-[^-]+$//; +($version3 = $version) =~ s/^(([^.]+\.){2}[^.+~-]+)[.+~-]?[^-]*-[^-]+$/$1/; ($version2 = $version3) =~ s/\.[^.]+$//; ($version3_next = $version3) =~ s/(?<=\.)(\d+)[a-z]?$/($1+1)/e; diff --git a/ubuntu/maverick/tdeadmin/debian/cdbs/versions.pl b/ubuntu/maverick/tdeadmin/debian/cdbs/versions.pl index 9ce11d8a3..75c9add4b 100644 --- a/ubuntu/maverick/tdeadmin/debian/cdbs/versions.pl +++ b/ubuntu/maverick/tdeadmin/debian/cdbs/versions.pl @@ -7,7 +7,7 @@ my $version = `dpkg-parsechangelog | awk '/^Version/ {print \$2}'`; my ($version3, $version3_next); my ($version2, $version2_next); -($version3 = $version) =~ s/-[^-]+$//; +($version3 = $version) =~ s/^(([^.]+\.){2}[^.+~-]+)[.+~-]?[^-]*-[^-]+$/$1/; ($version2 = $version3) =~ s/\.[^.]+$//; ($version3_next = $version3) =~ s/(?<=\.)(\d+)[a-z]?$/($1+1)/e; diff --git a/ubuntu/maverick/tdeartwork/debian/cdbs/versions.pl b/ubuntu/maverick/tdeartwork/debian/cdbs/versions.pl index 9ce11d8a3..75c9add4b 100644 --- a/ubuntu/maverick/tdeartwork/debian/cdbs/versions.pl +++ b/ubuntu/maverick/tdeartwork/debian/cdbs/versions.pl @@ -7,7 +7,7 @@ my $version = `dpkg-parsechangelog | awk '/^Version/ {print \$2}'`; my ($version3, $version3_next); my ($version2, $version2_next); -($version3 = $version) =~ s/-[^-]+$//; +($version3 = $version) =~ s/^(([^.]+\.){2}[^.+~-]+)[.+~-]?[^-]*-[^-]+$/$1/; ($version2 = $version3) =~ s/\.[^.]+$//; ($version3_next = $version3) =~ s/(?<=\.)(\d+)[a-z]?$/($1+1)/e; diff --git a/ubuntu/maverick/tdebase/debian/cdbs/versions.pl b/ubuntu/maverick/tdebase/debian/cdbs/versions.pl index 9ce11d8a3..75c9add4b 100644 --- a/ubuntu/maverick/tdebase/debian/cdbs/versions.pl +++ b/ubuntu/maverick/tdebase/debian/cdbs/versions.pl @@ -7,7 +7,7 @@ my $version = `dpkg-parsechangelog | awk '/^Version/ {print \$2}'`; my ($version3, $version3_next); my ($version2, $version2_next); -($version3 = $version) =~ s/-[^-]+$//; +($version3 = $version) =~ s/^(([^.]+\.){2}[^.+~-]+)[.+~-]?[^-]*-[^-]+$/$1/; ($version2 = $version3) =~ s/\.[^.]+$//; ($version3_next = $version3) =~ s/(?<=\.)(\d+)[a-z]?$/($1+1)/e; diff --git a/ubuntu/maverick/tdebindings/debian/cdbs/versions.pl b/ubuntu/maverick/tdebindings/debian/cdbs/versions.pl index 9ce11d8a3..75c9add4b 100644 --- a/ubuntu/maverick/tdebindings/debian/cdbs/versions.pl +++ b/ubuntu/maverick/tdebindings/debian/cdbs/versions.pl @@ -7,7 +7,7 @@ my $version = `dpkg-parsechangelog | awk '/^Version/ {print \$2}'`; my ($version3, $version3_next); my ($version2, $version2_next); -($version3 = $version) =~ s/-[^-]+$//; +($version3 = $version) =~ s/^(([^.]+\.){2}[^.+~-]+)[.+~-]?[^-]*-[^-]+$/$1/; ($version2 = $version3) =~ s/\.[^.]+$//; ($version3_next = $version3) =~ s/(?<=\.)(\d+)[a-z]?$/($1+1)/e; diff --git a/ubuntu/maverick/tdeedu/debian/cdbs/versions.pl b/ubuntu/maverick/tdeedu/debian/cdbs/versions.pl index 9ce11d8a3..75c9add4b 100644 --- a/ubuntu/maverick/tdeedu/debian/cdbs/versions.pl +++ b/ubuntu/maverick/tdeedu/debian/cdbs/versions.pl @@ -7,7 +7,7 @@ my $version = `dpkg-parsechangelog | awk '/^Version/ {print \$2}'`; my ($version3, $version3_next); my ($version2, $version2_next); -($version3 = $version) =~ s/-[^-]+$//; +($version3 = $version) =~ s/^(([^.]+\.){2}[^.+~-]+)[.+~-]?[^-]*-[^-]+$/$1/; ($version2 = $version3) =~ s/\.[^.]+$//; ($version3_next = $version3) =~ s/(?<=\.)(\d+)[a-z]?$/($1+1)/e; diff --git a/ubuntu/maverick/tdegames/debian/cdbs/versions.pl b/ubuntu/maverick/tdegames/debian/cdbs/versions.pl index 9ce11d8a3..75c9add4b 100644 --- a/ubuntu/maverick/tdegames/debian/cdbs/versions.pl +++ b/ubuntu/maverick/tdegames/debian/cdbs/versions.pl @@ -7,7 +7,7 @@ my $version = `dpkg-parsechangelog | awk '/^Version/ {print \$2}'`; my ($version3, $version3_next); my ($version2, $version2_next); -($version3 = $version) =~ s/-[^-]+$//; +($version3 = $version) =~ s/^(([^.]+\.){2}[^.+~-]+)[.+~-]?[^-]*-[^-]+$/$1/; ($version2 = $version3) =~ s/\.[^.]+$//; ($version3_next = $version3) =~ s/(?<=\.)(\d+)[a-z]?$/($1+1)/e; diff --git a/ubuntu/maverick/tdegraphics/debian/cdbs/versions.pl b/ubuntu/maverick/tdegraphics/debian/cdbs/versions.pl index 9ce11d8a3..75c9add4b 100644 --- a/ubuntu/maverick/tdegraphics/debian/cdbs/versions.pl +++ b/ubuntu/maverick/tdegraphics/debian/cdbs/versions.pl @@ -7,7 +7,7 @@ my $version = `dpkg-parsechangelog | awk '/^Version/ {print \$2}'`; my ($version3, $version3_next); my ($version2, $version2_next); -($version3 = $version) =~ s/-[^-]+$//; +($version3 = $version) =~ s/^(([^.]+\.){2}[^.+~-]+)[.+~-]?[^-]*-[^-]+$/$1/; ($version2 = $version3) =~ s/\.[^.]+$//; ($version3_next = $version3) =~ s/(?<=\.)(\d+)[a-z]?$/($1+1)/e; diff --git a/ubuntu/maverick/tdelibs/debian/cdbs/versions.pl b/ubuntu/maverick/tdelibs/debian/cdbs/versions.pl index 9ce11d8a3..75c9add4b 100644 --- a/ubuntu/maverick/tdelibs/debian/cdbs/versions.pl +++ b/ubuntu/maverick/tdelibs/debian/cdbs/versions.pl @@ -7,7 +7,7 @@ my $version = `dpkg-parsechangelog | awk '/^Version/ {print \$2}'`; my ($version3, $version3_next); my ($version2, $version2_next); -($version3 = $version) =~ s/-[^-]+$//; +($version3 = $version) =~ s/^(([^.]+\.){2}[^.+~-]+)[.+~-]?[^-]*-[^-]+$/$1/; ($version2 = $version3) =~ s/\.[^.]+$//; ($version3_next = $version3) =~ s/(?<=\.)(\d+)[a-z]?$/($1+1)/e; diff --git a/ubuntu/maverick/tdemultimedia/debian/cdbs/versions.pl b/ubuntu/maverick/tdemultimedia/debian/cdbs/versions.pl index 9ce11d8a3..75c9add4b 100644 --- a/ubuntu/maverick/tdemultimedia/debian/cdbs/versions.pl +++ b/ubuntu/maverick/tdemultimedia/debian/cdbs/versions.pl @@ -7,7 +7,7 @@ my $version = `dpkg-parsechangelog | awk '/^Version/ {print \$2}'`; my ($version3, $version3_next); my ($version2, $version2_next); -($version3 = $version) =~ s/-[^-]+$//; +($version3 = $version) =~ s/^(([^.]+\.){2}[^.+~-]+)[.+~-]?[^-]*-[^-]+$/$1/; ($version2 = $version3) =~ s/\.[^.]+$//; ($version3_next = $version3) =~ s/(?<=\.)(\d+)[a-z]?$/($1+1)/e; diff --git a/ubuntu/maverick/tdenetwork/debian/cdbs/versions.pl b/ubuntu/maverick/tdenetwork/debian/cdbs/versions.pl index 9ce11d8a3..75c9add4b 100644 --- a/ubuntu/maverick/tdenetwork/debian/cdbs/versions.pl +++ b/ubuntu/maverick/tdenetwork/debian/cdbs/versions.pl @@ -7,7 +7,7 @@ my $version = `dpkg-parsechangelog | awk '/^Version/ {print \$2}'`; my ($version3, $version3_next); my ($version2, $version2_next); -($version3 = $version) =~ s/-[^-]+$//; +($version3 = $version) =~ s/^(([^.]+\.){2}[^.+~-]+)[.+~-]?[^-]*-[^-]+$/$1/; ($version2 = $version3) =~ s/\.[^.]+$//; ($version3_next = $version3) =~ s/(?<=\.)(\d+)[a-z]?$/($1+1)/e; diff --git a/ubuntu/maverick/tdepim/debian/cdbs/versions.pl b/ubuntu/maverick/tdepim/debian/cdbs/versions.pl index 9ce11d8a3..75c9add4b 100644 --- a/ubuntu/maverick/tdepim/debian/cdbs/versions.pl +++ b/ubuntu/maverick/tdepim/debian/cdbs/versions.pl @@ -7,7 +7,7 @@ my $version = `dpkg-parsechangelog | awk '/^Version/ {print \$2}'`; my ($version3, $version3_next); my ($version2, $version2_next); -($version3 = $version) =~ s/-[^-]+$//; +($version3 = $version) =~ s/^(([^.]+\.){2}[^.+~-]+)[.+~-]?[^-]*-[^-]+$/$1/; ($version2 = $version3) =~ s/\.[^.]+$//; ($version3_next = $version3) =~ s/(?<=\.)(\d+)[a-z]?$/($1+1)/e; diff --git a/ubuntu/maverick/tdesdk/debian/cdbs/versions.pl b/ubuntu/maverick/tdesdk/debian/cdbs/versions.pl index 9ce11d8a3..75c9add4b 100644 --- a/ubuntu/maverick/tdesdk/debian/cdbs/versions.pl +++ b/ubuntu/maverick/tdesdk/debian/cdbs/versions.pl @@ -7,7 +7,7 @@ my $version = `dpkg-parsechangelog | awk '/^Version/ {print \$2}'`; my ($version3, $version3_next); my ($version2, $version2_next); -($version3 = $version) =~ s/-[^-]+$//; +($version3 = $version) =~ s/^(([^.]+\.){2}[^.+~-]+)[.+~-]?[^-]*-[^-]+$/$1/; ($version2 = $version3) =~ s/\.[^.]+$//; ($version3_next = $version3) =~ s/(?<=\.)(\d+)[a-z]?$/($1+1)/e; diff --git a/ubuntu/maverick/tdetoys/debian/cdbs/versions.pl b/ubuntu/maverick/tdetoys/debian/cdbs/versions.pl index 9ce11d8a3..75c9add4b 100644 --- a/ubuntu/maverick/tdetoys/debian/cdbs/versions.pl +++ b/ubuntu/maverick/tdetoys/debian/cdbs/versions.pl @@ -7,7 +7,7 @@ my $version = `dpkg-parsechangelog | awk '/^Version/ {print \$2}'`; my ($version3, $version3_next); my ($version2, $version2_next); -($version3 = $version) =~ s/-[^-]+$//; +($version3 = $version) =~ s/^(([^.]+\.){2}[^.+~-]+)[.+~-]?[^-]*-[^-]+$/$1/; ($version2 = $version3) =~ s/\.[^.]+$//; ($version3_next = $version3) =~ s/(?<=\.)(\d+)[a-z]?$/($1+1)/e; diff --git a/ubuntu/maverick/tdeutils/debian/cdbs/versions.pl b/ubuntu/maverick/tdeutils/debian/cdbs/versions.pl index 9ce11d8a3..75c9add4b 100644 --- a/ubuntu/maverick/tdeutils/debian/cdbs/versions.pl +++ b/ubuntu/maverick/tdeutils/debian/cdbs/versions.pl @@ -7,7 +7,7 @@ my $version = `dpkg-parsechangelog | awk '/^Version/ {print \$2}'`; my ($version3, $version3_next); my ($version2, $version2_next); -($version3 = $version) =~ s/-[^-]+$//; +($version3 = $version) =~ s/^(([^.]+\.){2}[^.+~-]+)[.+~-]?[^-]*-[^-]+$/$1/; ($version2 = $version3) =~ s/\.[^.]+$//; ($version3_next = $version3) =~ s/(?<=\.)(\d+)[a-z]?$/($1+1)/e; diff --git a/ubuntu/maverick/tdevelop/debian/cdbs/versions.pl b/ubuntu/maverick/tdevelop/debian/cdbs/versions.pl index 9ce11d8a3..75c9add4b 100644 --- a/ubuntu/maverick/tdevelop/debian/cdbs/versions.pl +++ b/ubuntu/maverick/tdevelop/debian/cdbs/versions.pl @@ -7,7 +7,7 @@ my $version = `dpkg-parsechangelog | awk '/^Version/ {print \$2}'`; my ($version3, $version3_next); my ($version2, $version2_next); -($version3 = $version) =~ s/-[^-]+$//; +($version3 = $version) =~ s/^(([^.]+\.){2}[^.+~-]+)[.+~-]?[^-]*-[^-]+$/$1/; ($version2 = $version3) =~ s/\.[^.]+$//; ($version3_next = $version3) =~ s/(?<=\.)(\d+)[a-z]?$/($1+1)/e; diff --git a/ubuntu/maverick/tdewebdev/debian/cdbs/versions.pl b/ubuntu/maverick/tdewebdev/debian/cdbs/versions.pl index 9ce11d8a3..75c9add4b 100644 --- a/ubuntu/maverick/tdewebdev/debian/cdbs/versions.pl +++ b/ubuntu/maverick/tdewebdev/debian/cdbs/versions.pl @@ -7,7 +7,7 @@ my $version = `dpkg-parsechangelog | awk '/^Version/ {print \$2}'`; my ($version3, $version3_next); my ($version2, $version2_next); -($version3 = $version) =~ s/-[^-]+$//; +($version3 = $version) =~ s/^(([^.]+\.){2}[^.+~-]+)[.+~-]?[^-]*-[^-]+$/$1/; ($version2 = $version3) =~ s/\.[^.]+$//; ($version3_next = $version3) =~ s/(?<=\.)(\d+)[a-z]?$/($1+1)/e; diff --git a/ubuntu/precise/applications/abakus/debian/cdbs/versions.pl b/ubuntu/precise/applications/abakus/debian/cdbs/versions.pl index 9ce11d8a3..75c9add4b 100644 --- a/ubuntu/precise/applications/abakus/debian/cdbs/versions.pl +++ b/ubuntu/precise/applications/abakus/debian/cdbs/versions.pl @@ -7,7 +7,7 @@ my $version = `dpkg-parsechangelog | awk '/^Version/ {print \$2}'`; my ($version3, $version3_next); my ($version2, $version2_next); -($version3 = $version) =~ s/-[^-]+$//; +($version3 = $version) =~ s/^(([^.]+\.){2}[^.+~-]+)[.+~-]?[^-]*-[^-]+$/$1/; ($version2 = $version3) =~ s/\.[^.]+$//; ($version3_next = $version3) =~ s/(?<=\.)(\d+)[a-z]?$/($1+1)/e; diff --git a/ubuntu/precise/applications/adept/debian/cdbs/versions.pl b/ubuntu/precise/applications/adept/debian/cdbs/versions.pl index 9ce11d8a3..75c9add4b 100644 --- a/ubuntu/precise/applications/adept/debian/cdbs/versions.pl +++ b/ubuntu/precise/applications/adept/debian/cdbs/versions.pl @@ -7,7 +7,7 @@ my $version = `dpkg-parsechangelog | awk '/^Version/ {print \$2}'`; my ($version3, $version3_next); my ($version2, $version2_next); -($version3 = $version) =~ s/-[^-]+$//; +($version3 = $version) =~ s/^(([^.]+\.){2}[^.+~-]+)[.+~-]?[^-]*-[^-]+$/$1/; ($version2 = $version3) =~ s/\.[^.]+$//; ($version3_next = $version3) =~ s/(?<=\.)(\d+)[a-z]?$/($1+1)/e; diff --git a/ubuntu/precise/applications/amarok.cmake/debian/cdbs/versions.pl b/ubuntu/precise/applications/amarok.cmake/debian/cdbs/versions.pl index 9ce11d8a3..75c9add4b 100644 --- a/ubuntu/precise/applications/amarok.cmake/debian/cdbs/versions.pl +++ b/ubuntu/precise/applications/amarok.cmake/debian/cdbs/versions.pl @@ -7,7 +7,7 @@ my $version = `dpkg-parsechangelog | awk '/^Version/ {print \$2}'`; my ($version3, $version3_next); my ($version2, $version2_next); -($version3 = $version) =~ s/-[^-]+$//; +($version3 = $version) =~ s/^(([^.]+\.){2}[^.+~-]+)[.+~-]?[^-]*-[^-]+$/$1/; ($version2 = $version3) =~ s/\.[^.]+$//; ($version3_next = $version3) =~ s/(?<=\.)(\d+)[a-z]?$/($1+1)/e; diff --git a/ubuntu/precise/applications/amarok/debian/cdbs/versions.pl b/ubuntu/precise/applications/amarok/debian/cdbs/versions.pl index 9ce11d8a3..75c9add4b 100644 --- a/ubuntu/precise/applications/amarok/debian/cdbs/versions.pl +++ b/ubuntu/precise/applications/amarok/debian/cdbs/versions.pl @@ -7,7 +7,7 @@ my $version = `dpkg-parsechangelog | awk '/^Version/ {print \$2}'`; my ($version3, $version3_next); my ($version2, $version2_next); -($version3 = $version) =~ s/-[^-]+$//; +($version3 = $version) =~ s/^(([^.]+\.){2}[^.+~-]+)[.+~-]?[^-]*-[^-]+$/$1/; ($version2 = $version3) =~ s/\.[^.]+$//; ($version3_next = $version3) =~ s/(?<=\.)(\d+)[a-z]?$/($1+1)/e; diff --git a/ubuntu/precise/applications/bibletime/debian/cdbs/versions.pl b/ubuntu/precise/applications/bibletime/debian/cdbs/versions.pl index 9ce11d8a3..75c9add4b 100644 --- a/ubuntu/precise/applications/bibletime/debian/cdbs/versions.pl +++ b/ubuntu/precise/applications/bibletime/debian/cdbs/versions.pl @@ -7,7 +7,7 @@ my $version = `dpkg-parsechangelog | awk '/^Version/ {print \$2}'`; my ($version3, $version3_next); my ($version2, $version2_next); -($version3 = $version) =~ s/-[^-]+$//; +($version3 = $version) =~ s/^(([^.]+\.){2}[^.+~-]+)[.+~-]?[^-]*-[^-]+$/$1/; ($version2 = $version3) =~ s/\.[^.]+$//; ($version3_next = $version3) =~ s/(?<=\.)(\d+)[a-z]?$/($1+1)/e; diff --git a/ubuntu/precise/applications/compizconfig-backend-tdeconfig/debian/cdbs/versions.pl b/ubuntu/precise/applications/compizconfig-backend-tdeconfig/debian/cdbs/versions.pl index 9ce11d8a3..75c9add4b 100644 --- a/ubuntu/precise/applications/compizconfig-backend-tdeconfig/debian/cdbs/versions.pl +++ b/ubuntu/precise/applications/compizconfig-backend-tdeconfig/debian/cdbs/versions.pl @@ -7,7 +7,7 @@ my $version = `dpkg-parsechangelog | awk '/^Version/ {print \$2}'`; my ($version3, $version3_next); my ($version2, $version2_next); -($version3 = $version) =~ s/-[^-]+$//; +($version3 = $version) =~ s/^(([^.]+\.){2}[^.+~-]+)[.+~-]?[^-]*-[^-]+$/$1/; ($version2 = $version3) =~ s/\.[^.]+$//; ($version3_next = $version3) =~ s/(?<=\.)(\d+)[a-z]?$/($1+1)/e; diff --git a/ubuntu/precise/applications/digikam/debian/cdbs/versions.pl b/ubuntu/precise/applications/digikam/debian/cdbs/versions.pl index 9ce11d8a3..75c9add4b 100644 --- a/ubuntu/precise/applications/digikam/debian/cdbs/versions.pl +++ b/ubuntu/precise/applications/digikam/debian/cdbs/versions.pl @@ -7,7 +7,7 @@ my $version = `dpkg-parsechangelog | awk '/^Version/ {print \$2}'`; my ($version3, $version3_next); my ($version2, $version2_next); -($version3 = $version) =~ s/-[^-]+$//; +($version3 = $version) =~ s/^(([^.]+\.){2}[^.+~-]+)[.+~-]?[^-]*-[^-]+$/$1/; ($version2 = $version3) =~ s/\.[^.]+$//; ($version3_next = $version3) =~ s/(?<=\.)(\d+)[a-z]?$/($1+1)/e; diff --git a/ubuntu/precise/applications/dolphin/debian/cdbs/versions.pl b/ubuntu/precise/applications/dolphin/debian/cdbs/versions.pl index 9ce11d8a3..75c9add4b 100644 --- a/ubuntu/precise/applications/dolphin/debian/cdbs/versions.pl +++ b/ubuntu/precise/applications/dolphin/debian/cdbs/versions.pl @@ -7,7 +7,7 @@ my $version = `dpkg-parsechangelog | awk '/^Version/ {print \$2}'`; my ($version3, $version3_next); my ($version2, $version2_next); -($version3 = $version) =~ s/-[^-]+$//; +($version3 = $version) =~ s/^(([^.]+\.){2}[^.+~-]+)[.+~-]?[^-]*-[^-]+$/$1/; ($version2 = $version3) =~ s/\.[^.]+$//; ($version3_next = $version3) =~ s/(?<=\.)(\d+)[a-z]?$/($1+1)/e; diff --git a/ubuntu/precise/applications/filelight-l10n/debian/cdbs/versions.pl b/ubuntu/precise/applications/filelight-l10n/debian/cdbs/versions.pl index 9ce11d8a3..75c9add4b 100644 --- a/ubuntu/precise/applications/filelight-l10n/debian/cdbs/versions.pl +++ b/ubuntu/precise/applications/filelight-l10n/debian/cdbs/versions.pl @@ -7,7 +7,7 @@ my $version = `dpkg-parsechangelog | awk '/^Version/ {print \$2}'`; my ($version3, $version3_next); my ($version2, $version2_next); -($version3 = $version) =~ s/-[^-]+$//; +($version3 = $version) =~ s/^(([^.]+\.){2}[^.+~-]+)[.+~-]?[^-]*-[^-]+$/$1/; ($version2 = $version3) =~ s/\.[^.]+$//; ($version3_next = $version3) =~ s/(?<=\.)(\d+)[a-z]?$/($1+1)/e; diff --git a/ubuntu/precise/applications/filelight/debian/cdbs/versions.pl b/ubuntu/precise/applications/filelight/debian/cdbs/versions.pl index 9ce11d8a3..75c9add4b 100644 --- a/ubuntu/precise/applications/filelight/debian/cdbs/versions.pl +++ b/ubuntu/precise/applications/filelight/debian/cdbs/versions.pl @@ -7,7 +7,7 @@ my $version = `dpkg-parsechangelog | awk '/^Version/ {print \$2}'`; my ($version3, $version3_next); my ($version2, $version2_next); -($version3 = $version) =~ s/-[^-]+$//; +($version3 = $version) =~ s/^(([^.]+\.){2}[^.+~-]+)[.+~-]?[^-]*-[^-]+$/$1/; ($version2 = $version3) =~ s/\.[^.]+$//; ($version3_next = $version3) =~ s/(?<=\.)(\d+)[a-z]?$/($1+1)/e; diff --git a/ubuntu/precise/applications/gtk-qt-engine/debian/cdbs/versions.pl b/ubuntu/precise/applications/gtk-qt-engine/debian/cdbs/versions.pl index 9ce11d8a3..75c9add4b 100644 --- a/ubuntu/precise/applications/gtk-qt-engine/debian/cdbs/versions.pl +++ b/ubuntu/precise/applications/gtk-qt-engine/debian/cdbs/versions.pl @@ -7,7 +7,7 @@ my $version = `dpkg-parsechangelog | awk '/^Version/ {print \$2}'`; my ($version3, $version3_next); my ($version2, $version2_next); -($version3 = $version) =~ s/-[^-]+$//; +($version3 = $version) =~ s/^(([^.]+\.){2}[^.+~-]+)[.+~-]?[^-]*-[^-]+$/$1/; ($version2 = $version3) =~ s/\.[^.]+$//; ($version3_next = $version3) =~ s/(?<=\.)(\d+)[a-z]?$/($1+1)/e; diff --git a/ubuntu/precise/applications/gwenview-i18n/debian/cdbs/versions.pl b/ubuntu/precise/applications/gwenview-i18n/debian/cdbs/versions.pl index 9ce11d8a3..75c9add4b 100644 --- a/ubuntu/precise/applications/gwenview-i18n/debian/cdbs/versions.pl +++ b/ubuntu/precise/applications/gwenview-i18n/debian/cdbs/versions.pl @@ -7,7 +7,7 @@ my $version = `dpkg-parsechangelog | awk '/^Version/ {print \$2}'`; my ($version3, $version3_next); my ($version2, $version2_next); -($version3 = $version) =~ s/-[^-]+$//; +($version3 = $version) =~ s/^(([^.]+\.){2}[^.+~-]+)[.+~-]?[^-]*-[^-]+$/$1/; ($version2 = $version3) =~ s/\.[^.]+$//; ($version3_next = $version3) =~ s/(?<=\.)(\d+)[a-z]?$/($1+1)/e; diff --git a/ubuntu/precise/applications/gwenview/debian/cdbs/versions.pl b/ubuntu/precise/applications/gwenview/debian/cdbs/versions.pl index 9ce11d8a3..75c9add4b 100644 --- a/ubuntu/precise/applications/gwenview/debian/cdbs/versions.pl +++ b/ubuntu/precise/applications/gwenview/debian/cdbs/versions.pl @@ -7,7 +7,7 @@ my $version = `dpkg-parsechangelog | awk '/^Version/ {print \$2}'`; my ($version3, $version3_next); my ($version2, $version2_next); -($version3 = $version) =~ s/-[^-]+$//; +($version3 = $version) =~ s/^(([^.]+\.){2}[^.+~-]+)[.+~-]?[^-]*-[^-]+$/$1/; ($version2 = $version3) =~ s/\.[^.]+$//; ($version3_next = $version3) =~ s/(?<=\.)(\d+)[a-z]?$/($1+1)/e; diff --git a/ubuntu/precise/applications/k3b/debian/cdbs/versions.pl b/ubuntu/precise/applications/k3b/debian/cdbs/versions.pl index 9ce11d8a3..75c9add4b 100644 --- a/ubuntu/precise/applications/k3b/debian/cdbs/versions.pl +++ b/ubuntu/precise/applications/k3b/debian/cdbs/versions.pl @@ -7,7 +7,7 @@ my $version = `dpkg-parsechangelog | awk '/^Version/ {print \$2}'`; my ($version3, $version3_next); my ($version2, $version2_next); -($version3 = $version) =~ s/-[^-]+$//; +($version3 = $version) =~ s/^(([^.]+\.){2}[^.+~-]+)[.+~-]?[^-]*-[^-]+$/$1/; ($version2 = $version3) =~ s/\.[^.]+$//; ($version3_next = $version3) =~ s/(?<=\.)(\d+)[a-z]?$/($1+1)/e; diff --git a/ubuntu/precise/applications/k9copy/debian/cdbs/versions.pl b/ubuntu/precise/applications/k9copy/debian/cdbs/versions.pl index 9ce11d8a3..75c9add4b 100644 --- a/ubuntu/precise/applications/k9copy/debian/cdbs/versions.pl +++ b/ubuntu/precise/applications/k9copy/debian/cdbs/versions.pl @@ -7,7 +7,7 @@ my $version = `dpkg-parsechangelog | awk '/^Version/ {print \$2}'`; my ($version3, $version3_next); my ($version2, $version2_next); -($version3 = $version) =~ s/-[^-]+$//; +($version3 = $version) =~ s/^(([^.]+\.){2}[^.+~-]+)[.+~-]?[^-]*-[^-]+$/$1/; ($version2 = $version3) =~ s/\.[^.]+$//; ($version3_next = $version3) =~ s/(?<=\.)(\d+)[a-z]?$/($1+1)/e; diff --git a/ubuntu/precise/applications/kaffeine/debian/cdbs/versions.pl b/ubuntu/precise/applications/kaffeine/debian/cdbs/versions.pl index 9ce11d8a3..75c9add4b 100644 --- a/ubuntu/precise/applications/kaffeine/debian/cdbs/versions.pl +++ b/ubuntu/precise/applications/kaffeine/debian/cdbs/versions.pl @@ -7,7 +7,7 @@ my $version = `dpkg-parsechangelog | awk '/^Version/ {print \$2}'`; my ($version3, $version3_next); my ($version2, $version2_next); -($version3 = $version) =~ s/-[^-]+$//; +($version3 = $version) =~ s/^(([^.]+\.){2}[^.+~-]+)[.+~-]?[^-]*-[^-]+$/$1/; ($version2 = $version3) =~ s/\.[^.]+$//; ($version3_next = $version3) =~ s/(?<=\.)(\d+)[a-z]?$/($1+1)/e; diff --git a/ubuntu/precise/applications/katapult/debian/cdbs/versions.pl b/ubuntu/precise/applications/katapult/debian/cdbs/versions.pl index 9ce11d8a3..75c9add4b 100644 --- a/ubuntu/precise/applications/katapult/debian/cdbs/versions.pl +++ b/ubuntu/precise/applications/katapult/debian/cdbs/versions.pl @@ -7,7 +7,7 @@ my $version = `dpkg-parsechangelog | awk '/^Version/ {print \$2}'`; my ($version3, $version3_next); my ($version2, $version2_next); -($version3 = $version) =~ s/-[^-]+$//; +($version3 = $version) =~ s/^(([^.]+\.){2}[^.+~-]+)[.+~-]?[^-]*-[^-]+$/$1/; ($version2 = $version3) =~ s/\.[^.]+$//; ($version3_next = $version3) =~ s/(?<=\.)(\d+)[a-z]?$/($1+1)/e; diff --git a/ubuntu/precise/applications/kbarcode/debian/cdbs/versions.pl b/ubuntu/precise/applications/kbarcode/debian/cdbs/versions.pl index 9ce11d8a3..75c9add4b 100644 --- a/ubuntu/precise/applications/kbarcode/debian/cdbs/versions.pl +++ b/ubuntu/precise/applications/kbarcode/debian/cdbs/versions.pl @@ -7,7 +7,7 @@ my $version = `dpkg-parsechangelog | awk '/^Version/ {print \$2}'`; my ($version3, $version3_next); my ($version2, $version2_next); -($version3 = $version) =~ s/-[^-]+$//; +($version3 = $version) =~ s/^(([^.]+\.){2}[^.+~-]+)[.+~-]?[^-]*-[^-]+$/$1/; ($version2 = $version3) =~ s/\.[^.]+$//; ($version3_next = $version3) =~ s/(?<=\.)(\d+)[a-z]?$/($1+1)/e; diff --git a/ubuntu/precise/applications/kbookreader/debian/cdbs/versions.pl b/ubuntu/precise/applications/kbookreader/debian/cdbs/versions.pl index 9ce11d8a3..75c9add4b 100644 --- a/ubuntu/precise/applications/kbookreader/debian/cdbs/versions.pl +++ b/ubuntu/precise/applications/kbookreader/debian/cdbs/versions.pl @@ -7,7 +7,7 @@ my $version = `dpkg-parsechangelog | awk '/^Version/ {print \$2}'`; my ($version3, $version3_next); my ($version2, $version2_next); -($version3 = $version) =~ s/-[^-]+$//; +($version3 = $version) =~ s/^(([^.]+\.){2}[^.+~-]+)[.+~-]?[^-]*-[^-]+$/$1/; ($version2 = $version3) =~ s/\.[^.]+$//; ($version3_next = $version3) =~ s/(?<=\.)(\d+)[a-z]?$/($1+1)/e; diff --git a/ubuntu/precise/applications/kcpuload/debian/cdbs/versions.pl b/ubuntu/precise/applications/kcpuload/debian/cdbs/versions.pl index 9ce11d8a3..75c9add4b 100644 --- a/ubuntu/precise/applications/kcpuload/debian/cdbs/versions.pl +++ b/ubuntu/precise/applications/kcpuload/debian/cdbs/versions.pl @@ -7,7 +7,7 @@ my $version = `dpkg-parsechangelog | awk '/^Version/ {print \$2}'`; my ($version3, $version3_next); my ($version2, $version2_next); -($version3 = $version) =~ s/-[^-]+$//; +($version3 = $version) =~ s/^(([^.]+\.){2}[^.+~-]+)[.+~-]?[^-]*-[^-]+$/$1/; ($version2 = $version3) =~ s/\.[^.]+$//; ($version3_next = $version3) =~ s/(?<=\.)(\d+)[a-z]?$/($1+1)/e; diff --git a/ubuntu/precise/applications/kdbusnotification/debian/cdbs/versions.pl b/ubuntu/precise/applications/kdbusnotification/debian/cdbs/versions.pl index 9ce11d8a3..75c9add4b 100644 --- a/ubuntu/precise/applications/kdbusnotification/debian/cdbs/versions.pl +++ b/ubuntu/precise/applications/kdbusnotification/debian/cdbs/versions.pl @@ -7,7 +7,7 @@ my $version = `dpkg-parsechangelog | awk '/^Version/ {print \$2}'`; my ($version3, $version3_next); my ($version2, $version2_next); -($version3 = $version) =~ s/-[^-]+$//; +($version3 = $version) =~ s/^(([^.]+\.){2}[^.+~-]+)[.+~-]?[^-]*-[^-]+$/$1/; ($version2 = $version3) =~ s/\.[^.]+$//; ($version3_next = $version3) =~ s/(?<=\.)(\d+)[a-z]?$/($1+1)/e; diff --git a/ubuntu/precise/applications/kdiff3/debian/cdbs/versions.pl b/ubuntu/precise/applications/kdiff3/debian/cdbs/versions.pl index 9ce11d8a3..75c9add4b 100644 --- a/ubuntu/precise/applications/kdiff3/debian/cdbs/versions.pl +++ b/ubuntu/precise/applications/kdiff3/debian/cdbs/versions.pl @@ -7,7 +7,7 @@ my $version = `dpkg-parsechangelog | awk '/^Version/ {print \$2}'`; my ($version3, $version3_next); my ($version2, $version2_next); -($version3 = $version) =~ s/-[^-]+$//; +($version3 = $version) =~ s/^(([^.]+\.){2}[^.+~-]+)[.+~-]?[^-]*-[^-]+$/$1/; ($version2 = $version3) =~ s/\.[^.]+$//; ($version3_next = $version3) =~ s/(?<=\.)(\d+)[a-z]?$/($1+1)/e; diff --git a/ubuntu/precise/applications/kdirstat/debian/cdbs/versions.pl b/ubuntu/precise/applications/kdirstat/debian/cdbs/versions.pl index 9ce11d8a3..75c9add4b 100644 --- a/ubuntu/precise/applications/kdirstat/debian/cdbs/versions.pl +++ b/ubuntu/precise/applications/kdirstat/debian/cdbs/versions.pl @@ -7,7 +7,7 @@ my $version = `dpkg-parsechangelog | awk '/^Version/ {print \$2}'`; my ($version3, $version3_next); my ($version2, $version2_next); -($version3 = $version) =~ s/-[^-]+$//; +($version3 = $version) =~ s/^(([^.]+\.){2}[^.+~-]+)[.+~-]?[^-]*-[^-]+$/$1/; ($version2 = $version3) =~ s/\.[^.]+$//; ($version3_next = $version3) =~ s/(?<=\.)(\d+)[a-z]?$/($1+1)/e; diff --git a/ubuntu/precise/applications/keep/debian/cdbs/versions.pl b/ubuntu/precise/applications/keep/debian/cdbs/versions.pl index 9ce11d8a3..75c9add4b 100644 --- a/ubuntu/precise/applications/keep/debian/cdbs/versions.pl +++ b/ubuntu/precise/applications/keep/debian/cdbs/versions.pl @@ -7,7 +7,7 @@ my $version = `dpkg-parsechangelog | awk '/^Version/ {print \$2}'`; my ($version3, $version3_next); my ($version2, $version2_next); -($version3 = $version) =~ s/-[^-]+$//; +($version3 = $version) =~ s/^(([^.]+\.){2}[^.+~-]+)[.+~-]?[^-]*-[^-]+$/$1/; ($version2 = $version3) =~ s/\.[^.]+$//; ($version3_next = $version3) =~ s/(?<=\.)(\d+)[a-z]?$/($1+1)/e; diff --git a/ubuntu/precise/applications/kerry/debian/cdbs/versions.pl b/ubuntu/precise/applications/kerry/debian/cdbs/versions.pl index 9ce11d8a3..75c9add4b 100644 --- a/ubuntu/precise/applications/kerry/debian/cdbs/versions.pl +++ b/ubuntu/precise/applications/kerry/debian/cdbs/versions.pl @@ -7,7 +7,7 @@ my $version = `dpkg-parsechangelog | awk '/^Version/ {print \$2}'`; my ($version3, $version3_next); my ($version2, $version2_next); -($version3 = $version) =~ s/-[^-]+$//; +($version3 = $version) =~ s/^(([^.]+\.){2}[^.+~-]+)[.+~-]?[^-]*-[^-]+$/$1/; ($version2 = $version3) =~ s/\.[^.]+$//; ($version3_next = $version3) =~ s/(?<=\.)(\d+)[a-z]?$/($1+1)/e; diff --git a/ubuntu/precise/applications/kgtk-qt3/debian/cdbs/versions.pl b/ubuntu/precise/applications/kgtk-qt3/debian/cdbs/versions.pl index 9ce11d8a3..75c9add4b 100644 --- a/ubuntu/precise/applications/kgtk-qt3/debian/cdbs/versions.pl +++ b/ubuntu/precise/applications/kgtk-qt3/debian/cdbs/versions.pl @@ -7,7 +7,7 @@ my $version = `dpkg-parsechangelog | awk '/^Version/ {print \$2}'`; my ($version3, $version3_next); my ($version2, $version2_next); -($version3 = $version) =~ s/-[^-]+$//; +($version3 = $version) =~ s/^(([^.]+\.){2}[^.+~-]+)[.+~-]?[^-]*-[^-]+$/$1/; ($version2 = $version3) =~ s/\.[^.]+$//; ($version3_next = $version3) =~ s/(?<=\.)(\d+)[a-z]?$/($1+1)/e; diff --git a/ubuntu/precise/applications/kile/debian/cdbs/versions.pl b/ubuntu/precise/applications/kile/debian/cdbs/versions.pl index 9ce11d8a3..75c9add4b 100644 --- a/ubuntu/precise/applications/kile/debian/cdbs/versions.pl +++ b/ubuntu/precise/applications/kile/debian/cdbs/versions.pl @@ -7,7 +7,7 @@ my $version = `dpkg-parsechangelog | awk '/^Version/ {print \$2}'`; my ($version3, $version3_next); my ($version2, $version2_next); -($version3 = $version) =~ s/-[^-]+$//; +($version3 = $version) =~ s/^(([^.]+\.){2}[^.+~-]+)[.+~-]?[^-]*-[^-]+$/$1/; ($version2 = $version3) =~ s/\.[^.]+$//; ($version3_next = $version3) =~ s/(?<=\.)(\d+)[a-z]?$/($1+1)/e; diff --git a/ubuntu/precise/applications/kiosktool/debian/cdbs/versions.pl b/ubuntu/precise/applications/kiosktool/debian/cdbs/versions.pl index 9ce11d8a3..75c9add4b 100644 --- a/ubuntu/precise/applications/kiosktool/debian/cdbs/versions.pl +++ b/ubuntu/precise/applications/kiosktool/debian/cdbs/versions.pl @@ -7,7 +7,7 @@ my $version = `dpkg-parsechangelog | awk '/^Version/ {print \$2}'`; my ($version3, $version3_next); my ($version2, $version2_next); -($version3 = $version) =~ s/-[^-]+$//; +($version3 = $version) =~ s/^(([^.]+\.){2}[^.+~-]+)[.+~-]?[^-]*-[^-]+$/$1/; ($version2 = $version3) =~ s/\.[^.]+$//; ($version3_next = $version3) =~ s/(?<=\.)(\d+)[a-z]?$/($1+1)/e; diff --git a/ubuntu/precise/applications/kmplayer/debian/cdbs/versions.pl b/ubuntu/precise/applications/kmplayer/debian/cdbs/versions.pl index 9ce11d8a3..75c9add4b 100644 --- a/ubuntu/precise/applications/kmplayer/debian/cdbs/versions.pl +++ b/ubuntu/precise/applications/kmplayer/debian/cdbs/versions.pl @@ -7,7 +7,7 @@ my $version = `dpkg-parsechangelog | awk '/^Version/ {print \$2}'`; my ($version3, $version3_next); my ($version2, $version2_next); -($version3 = $version) =~ s/-[^-]+$//; +($version3 = $version) =~ s/^(([^.]+\.){2}[^.+~-]+)[.+~-]?[^-]*-[^-]+$/$1/; ($version2 = $version3) =~ s/\.[^.]+$//; ($version3_next = $version3) =~ s/(?<=\.)(\d+)[a-z]?$/($1+1)/e; diff --git a/ubuntu/precise/applications/kmymoney/debian/cdbs/versions.pl b/ubuntu/precise/applications/kmymoney/debian/cdbs/versions.pl index 9ce11d8a3..75c9add4b 100644 --- a/ubuntu/precise/applications/kmymoney/debian/cdbs/versions.pl +++ b/ubuntu/precise/applications/kmymoney/debian/cdbs/versions.pl @@ -7,7 +7,7 @@ my $version = `dpkg-parsechangelog | awk '/^Version/ {print \$2}'`; my ($version3, $version3_next); my ($version2, $version2_next); -($version3 = $version) =~ s/-[^-]+$//; +($version3 = $version) =~ s/^(([^.]+\.){2}[^.+~-]+)[.+~-]?[^-]*-[^-]+$/$1/; ($version2 = $version3) =~ s/\.[^.]+$//; ($version3_next = $version3) =~ s/(?<=\.)(\d+)[a-z]?$/($1+1)/e; diff --git a/ubuntu/precise/applications/knemo/debian/cdbs/versions.pl b/ubuntu/precise/applications/knemo/debian/cdbs/versions.pl index 9ce11d8a3..75c9add4b 100644 --- a/ubuntu/precise/applications/knemo/debian/cdbs/versions.pl +++ b/ubuntu/precise/applications/knemo/debian/cdbs/versions.pl @@ -7,7 +7,7 @@ my $version = `dpkg-parsechangelog | awk '/^Version/ {print \$2}'`; my ($version3, $version3_next); my ($version2, $version2_next); -($version3 = $version) =~ s/-[^-]+$//; +($version3 = $version) =~ s/^(([^.]+\.){2}[^.+~-]+)[.+~-]?[^-]*-[^-]+$/$1/; ($version2 = $version3) =~ s/\.[^.]+$//; ($version3_next = $version3) =~ s/(?<=\.)(\d+)[a-z]?$/($1+1)/e; diff --git a/ubuntu/precise/applications/knetstats/debian/cdbs/versions.pl b/ubuntu/precise/applications/knetstats/debian/cdbs/versions.pl index 9ce11d8a3..75c9add4b 100644 --- a/ubuntu/precise/applications/knetstats/debian/cdbs/versions.pl +++ b/ubuntu/precise/applications/knetstats/debian/cdbs/versions.pl @@ -7,7 +7,7 @@ my $version = `dpkg-parsechangelog | awk '/^Version/ {print \$2}'`; my ($version3, $version3_next); my ($version2, $version2_next); -($version3 = $version) =~ s/-[^-]+$//; +($version3 = $version) =~ s/^(([^.]+\.){2}[^.+~-]+)[.+~-]?[^-]*-[^-]+$/$1/; ($version2 = $version3) =~ s/\.[^.]+$//; ($version3_next = $version3) =~ s/(?<=\.)(\d+)[a-z]?$/($1+1)/e; diff --git a/ubuntu/precise/applications/knetworkmanager.cmake/debian/cdbs/versions.pl b/ubuntu/precise/applications/knetworkmanager.cmake/debian/cdbs/versions.pl index 9ce11d8a3..75c9add4b 100644 --- a/ubuntu/precise/applications/knetworkmanager.cmake/debian/cdbs/versions.pl +++ b/ubuntu/precise/applications/knetworkmanager.cmake/debian/cdbs/versions.pl @@ -7,7 +7,7 @@ my $version = `dpkg-parsechangelog | awk '/^Version/ {print \$2}'`; my ($version3, $version3_next); my ($version2, $version2_next); -($version3 = $version) =~ s/-[^-]+$//; +($version3 = $version) =~ s/^(([^.]+\.){2}[^.+~-]+)[.+~-]?[^-]*-[^-]+$/$1/; ($version2 = $version3) =~ s/\.[^.]+$//; ($version3_next = $version3) =~ s/(?<=\.)(\d+)[a-z]?$/($1+1)/e; diff --git a/ubuntu/precise/applications/knetworkmanager8/debian/cdbs/versions.pl b/ubuntu/precise/applications/knetworkmanager8/debian/cdbs/versions.pl index 9ce11d8a3..75c9add4b 100644 --- a/ubuntu/precise/applications/knetworkmanager8/debian/cdbs/versions.pl +++ b/ubuntu/precise/applications/knetworkmanager8/debian/cdbs/versions.pl @@ -7,7 +7,7 @@ my $version = `dpkg-parsechangelog | awk '/^Version/ {print \$2}'`; my ($version3, $version3_next); my ($version2, $version2_next); -($version3 = $version) =~ s/-[^-]+$//; +($version3 = $version) =~ s/^(([^.]+\.){2}[^.+~-]+)[.+~-]?[^-]*-[^-]+$/$1/; ($version2 = $version3) =~ s/\.[^.]+$//; ($version3_next = $version3) =~ s/(?<=\.)(\d+)[a-z]?$/($1+1)/e; diff --git a/ubuntu/precise/applications/knetworkmanager9/debian/cdbs/versions.pl b/ubuntu/precise/applications/knetworkmanager9/debian/cdbs/versions.pl index 9ce11d8a3..75c9add4b 100644 --- a/ubuntu/precise/applications/knetworkmanager9/debian/cdbs/versions.pl +++ b/ubuntu/precise/applications/knetworkmanager9/debian/cdbs/versions.pl @@ -7,7 +7,7 @@ my $version = `dpkg-parsechangelog | awk '/^Version/ {print \$2}'`; my ($version3, $version3_next); my ($version2, $version2_next); -($version3 = $version) =~ s/-[^-]+$//; +($version3 = $version) =~ s/^(([^.]+\.){2}[^.+~-]+)[.+~-]?[^-]*-[^-]+$/$1/; ($version2 = $version3) =~ s/\.[^.]+$//; ($version3_next = $version3) =~ s/(?<=\.)(\d+)[a-z]?$/($1+1)/e; diff --git a/ubuntu/precise/applications/koffice/debian/cdbs/versions.pl b/ubuntu/precise/applications/koffice/debian/cdbs/versions.pl index 9ce11d8a3..75c9add4b 100644 --- a/ubuntu/precise/applications/koffice/debian/cdbs/versions.pl +++ b/ubuntu/precise/applications/koffice/debian/cdbs/versions.pl @@ -7,7 +7,7 @@ my $version = `dpkg-parsechangelog | awk '/^Version/ {print \$2}'`; my ($version3, $version3_next); my ($version2, $version2_next); -($version3 = $version) =~ s/-[^-]+$//; +($version3 = $version) =~ s/^(([^.]+\.){2}[^.+~-]+)[.+~-]?[^-]*-[^-]+$/$1/; ($version2 = $version3) =~ s/\.[^.]+$//; ($version3_next = $version3) =~ s/(?<=\.)(\d+)[a-z]?$/($1+1)/e; diff --git a/ubuntu/precise/applications/konversation/debian/cdbs/versions.pl b/ubuntu/precise/applications/konversation/debian/cdbs/versions.pl index 9ce11d8a3..75c9add4b 100644 --- a/ubuntu/precise/applications/konversation/debian/cdbs/versions.pl +++ b/ubuntu/precise/applications/konversation/debian/cdbs/versions.pl @@ -7,7 +7,7 @@ my $version = `dpkg-parsechangelog | awk '/^Version/ {print \$2}'`; my ($version3, $version3_next); my ($version2, $version2_next); -($version3 = $version) =~ s/-[^-]+$//; +($version3 = $version) =~ s/^(([^.]+\.){2}[^.+~-]+)[.+~-]?[^-]*-[^-]+$/$1/; ($version2 = $version3) =~ s/\.[^.]+$//; ($version3_next = $version3) =~ s/(?<=\.)(\d+)[a-z]?$/($1+1)/e; diff --git a/ubuntu/precise/applications/kopete-otr/debian/cdbs/versions.pl b/ubuntu/precise/applications/kopete-otr/debian/cdbs/versions.pl index 9ce11d8a3..75c9add4b 100644 --- a/ubuntu/precise/applications/kopete-otr/debian/cdbs/versions.pl +++ b/ubuntu/precise/applications/kopete-otr/debian/cdbs/versions.pl @@ -7,7 +7,7 @@ my $version = `dpkg-parsechangelog | awk '/^Version/ {print \$2}'`; my ($version3, $version3_next); my ($version2, $version2_next); -($version3 = $version) =~ s/-[^-]+$//; +($version3 = $version) =~ s/^(([^.]+\.){2}[^.+~-]+)[.+~-]?[^-]*-[^-]+$/$1/; ($version2 = $version3) =~ s/\.[^.]+$//; ($version3_next = $version3) =~ s/(?<=\.)(\d+)[a-z]?$/($1+1)/e; diff --git a/ubuntu/precise/applications/kpilot/debian/cdbs/versions.pl b/ubuntu/precise/applications/kpilot/debian/cdbs/versions.pl index 9ce11d8a3..75c9add4b 100644 --- a/ubuntu/precise/applications/kpilot/debian/cdbs/versions.pl +++ b/ubuntu/precise/applications/kpilot/debian/cdbs/versions.pl @@ -7,7 +7,7 @@ my $version = `dpkg-parsechangelog | awk '/^Version/ {print \$2}'`; my ($version3, $version3_next); my ($version2, $version2_next); -($version3 = $version) =~ s/-[^-]+$//; +($version3 = $version) =~ s/^(([^.]+\.){2}[^.+~-]+)[.+~-]?[^-]*-[^-]+$/$1/; ($version2 = $version3) =~ s/\.[^.]+$//; ($version3_next = $version3) =~ s/(?<=\.)(\d+)[a-z]?$/($1+1)/e; diff --git a/ubuntu/precise/applications/kpowersave-nohal/debian/cdbs/versions.pl b/ubuntu/precise/applications/kpowersave-nohal/debian/cdbs/versions.pl index 9ce11d8a3..75c9add4b 100644 --- a/ubuntu/precise/applications/kpowersave-nohal/debian/cdbs/versions.pl +++ b/ubuntu/precise/applications/kpowersave-nohal/debian/cdbs/versions.pl @@ -7,7 +7,7 @@ my $version = `dpkg-parsechangelog | awk '/^Version/ {print \$2}'`; my ($version3, $version3_next); my ($version2, $version2_next); -($version3 = $version) =~ s/-[^-]+$//; +($version3 = $version) =~ s/^(([^.]+\.){2}[^.+~-]+)[.+~-]?[^-]*-[^-]+$/$1/; ($version2 = $version3) =~ s/\.[^.]+$//; ($version3_next = $version3) =~ s/(?<=\.)(\d+)[a-z]?$/($1+1)/e; diff --git a/ubuntu/precise/applications/kpowersave.cmake/debian/cdbs/versions.pl b/ubuntu/precise/applications/kpowersave.cmake/debian/cdbs/versions.pl index 9ce11d8a3..75c9add4b 100644 --- a/ubuntu/precise/applications/kpowersave.cmake/debian/cdbs/versions.pl +++ b/ubuntu/precise/applications/kpowersave.cmake/debian/cdbs/versions.pl @@ -7,7 +7,7 @@ my $version = `dpkg-parsechangelog | awk '/^Version/ {print \$2}'`; my ($version3, $version3_next); my ($version2, $version2_next); -($version3 = $version) =~ s/-[^-]+$//; +($version3 = $version) =~ s/^(([^.]+\.){2}[^.+~-]+)[.+~-]?[^-]*-[^-]+$/$1/; ($version2 = $version3) =~ s/\.[^.]+$//; ($version3_next = $version3) =~ s/(?<=\.)(\d+)[a-z]?$/($1+1)/e; diff --git a/ubuntu/precise/applications/kpowersave/debian/cdbs/versions.pl b/ubuntu/precise/applications/kpowersave/debian/cdbs/versions.pl index 9ce11d8a3..75c9add4b 100644 --- a/ubuntu/precise/applications/kpowersave/debian/cdbs/versions.pl +++ b/ubuntu/precise/applications/kpowersave/debian/cdbs/versions.pl @@ -7,7 +7,7 @@ my $version = `dpkg-parsechangelog | awk '/^Version/ {print \$2}'`; my ($version3, $version3_next); my ($version2, $version2_next); -($version3 = $version) =~ s/-[^-]+$//; +($version3 = $version) =~ s/^(([^.]+\.){2}[^.+~-]+)[.+~-]?[^-]*-[^-]+$/$1/; ($version2 = $version3) =~ s/\.[^.]+$//; ($version3_next = $version3) =~ s/(?<=\.)(\d+)[a-z]?$/($1+1)/e; diff --git a/ubuntu/precise/applications/krename/debian/cdbs/versions.pl b/ubuntu/precise/applications/krename/debian/cdbs/versions.pl index 9ce11d8a3..75c9add4b 100644 --- a/ubuntu/precise/applications/krename/debian/cdbs/versions.pl +++ b/ubuntu/precise/applications/krename/debian/cdbs/versions.pl @@ -7,7 +7,7 @@ my $version = `dpkg-parsechangelog | awk '/^Version/ {print \$2}'`; my ($version3, $version3_next); my ($version2, $version2_next); -($version3 = $version) =~ s/-[^-]+$//; +($version3 = $version) =~ s/^(([^.]+\.){2}[^.+~-]+)[.+~-]?[^-]*-[^-]+$/$1/; ($version2 = $version3) =~ s/\.[^.]+$//; ($version3_next = $version3) =~ s/(?<=\.)(\d+)[a-z]?$/($1+1)/e; diff --git a/ubuntu/precise/applications/krusader/debian/cdbs/versions.pl b/ubuntu/precise/applications/krusader/debian/cdbs/versions.pl index 9ce11d8a3..75c9add4b 100644 --- a/ubuntu/precise/applications/krusader/debian/cdbs/versions.pl +++ b/ubuntu/precise/applications/krusader/debian/cdbs/versions.pl @@ -7,7 +7,7 @@ my $version = `dpkg-parsechangelog | awk '/^Version/ {print \$2}'`; my ($version3, $version3_next); my ($version2, $version2_next); -($version3 = $version) =~ s/-[^-]+$//; +($version3 = $version) =~ s/^(([^.]+\.){2}[^.+~-]+)[.+~-]?[^-]*-[^-]+$/$1/; ($version2 = $version3) =~ s/\.[^.]+$//; ($version3_next = $version3) =~ s/(?<=\.)(\d+)[a-z]?$/($1+1)/e; diff --git a/ubuntu/precise/applications/ksystemlog/debian/cdbs/versions.pl b/ubuntu/precise/applications/ksystemlog/debian/cdbs/versions.pl index 9ce11d8a3..75c9add4b 100644 --- a/ubuntu/precise/applications/ksystemlog/debian/cdbs/versions.pl +++ b/ubuntu/precise/applications/ksystemlog/debian/cdbs/versions.pl @@ -7,7 +7,7 @@ my $version = `dpkg-parsechangelog | awk '/^Version/ {print \$2}'`; my ($version3, $version3_next); my ($version2, $version2_next); -($version3 = $version) =~ s/-[^-]+$//; +($version3 = $version) =~ s/^(([^.]+\.){2}[^.+~-]+)[.+~-]?[^-]*-[^-]+$/$1/; ($version2 = $version3) =~ s/\.[^.]+$//; ($version3_next = $version3) =~ s/(?<=\.)(\d+)[a-z]?$/($1+1)/e; diff --git a/ubuntu/precise/applications/ktorrent/debian/cdbs/versions.pl b/ubuntu/precise/applications/ktorrent/debian/cdbs/versions.pl index 9ce11d8a3..75c9add4b 100644 --- a/ubuntu/precise/applications/ktorrent/debian/cdbs/versions.pl +++ b/ubuntu/precise/applications/ktorrent/debian/cdbs/versions.pl @@ -7,7 +7,7 @@ my $version = `dpkg-parsechangelog | awk '/^Version/ {print \$2}'`; my ($version3, $version3_next); my ($version2, $version2_next); -($version3 = $version) =~ s/-[^-]+$//; +($version3 = $version) =~ s/^(([^.]+\.){2}[^.+~-]+)[.+~-]?[^-]*-[^-]+$/$1/; ($version2 = $version3) =~ s/\.[^.]+$//; ($version3_next = $version3) =~ s/(?<=\.)(\d+)[a-z]?$/($1+1)/e; diff --git a/ubuntu/precise/applications/kuickshow/debian/cdbs/versions.pl b/ubuntu/precise/applications/kuickshow/debian/cdbs/versions.pl index 9ce11d8a3..75c9add4b 100644 --- a/ubuntu/precise/applications/kuickshow/debian/cdbs/versions.pl +++ b/ubuntu/precise/applications/kuickshow/debian/cdbs/versions.pl @@ -7,7 +7,7 @@ my $version = `dpkg-parsechangelog | awk '/^Version/ {print \$2}'`; my ($version3, $version3_next); my ($version2, $version2_next); -($version3 = $version) =~ s/-[^-]+$//; +($version3 = $version) =~ s/^(([^.]+\.){2}[^.+~-]+)[.+~-]?[^-]*-[^-]+$/$1/; ($version2 = $version3) =~ s/\.[^.]+$//; ($version3_next = $version3) =~ s/(?<=\.)(\d+)[a-z]?$/($1+1)/e; diff --git a/ubuntu/precise/applications/kvkbd/debian/cdbs/versions.pl b/ubuntu/precise/applications/kvkbd/debian/cdbs/versions.pl index 9ce11d8a3..75c9add4b 100644 --- a/ubuntu/precise/applications/kvkbd/debian/cdbs/versions.pl +++ b/ubuntu/precise/applications/kvkbd/debian/cdbs/versions.pl @@ -7,7 +7,7 @@ my $version = `dpkg-parsechangelog | awk '/^Version/ {print \$2}'`; my ($version3, $version3_next); my ($version2, $version2_next); -($version3 = $version) =~ s/-[^-]+$//; +($version3 = $version) =~ s/^(([^.]+\.){2}[^.+~-]+)[.+~-]?[^-]*-[^-]+$/$1/; ($version2 = $version3) =~ s/\.[^.]+$//; ($version3_next = $version3) =~ s/(?<=\.)(\d+)[a-z]?$/($1+1)/e; diff --git a/ubuntu/precise/applications/rosegarden/debian/cdbs/versions.pl b/ubuntu/precise/applications/rosegarden/debian/cdbs/versions.pl index 9ce11d8a3..75c9add4b 100644 --- a/ubuntu/precise/applications/rosegarden/debian/cdbs/versions.pl +++ b/ubuntu/precise/applications/rosegarden/debian/cdbs/versions.pl @@ -7,7 +7,7 @@ my $version = `dpkg-parsechangelog | awk '/^Version/ {print \$2}'`; my ($version3, $version3_next); my ($version2, $version2_next); -($version3 = $version) =~ s/-[^-]+$//; +($version3 = $version) =~ s/^(([^.]+\.){2}[^.+~-]+)[.+~-]?[^-]*-[^-]+$/$1/; ($version2 = $version3) =~ s/\.[^.]+$//; ($version3_next = $version3) =~ s/(?<=\.)(\d+)[a-z]?$/($1+1)/e; diff --git a/ubuntu/precise/applications/smb4k/debian/cdbs/versions.pl b/ubuntu/precise/applications/smb4k/debian/cdbs/versions.pl index 9ce11d8a3..75c9add4b 100644 --- a/ubuntu/precise/applications/smb4k/debian/cdbs/versions.pl +++ b/ubuntu/precise/applications/smb4k/debian/cdbs/versions.pl @@ -7,7 +7,7 @@ my $version = `dpkg-parsechangelog | awk '/^Version/ {print \$2}'`; my ($version3, $version3_next); my ($version2, $version2_next); -($version3 = $version) =~ s/-[^-]+$//; +($version3 = $version) =~ s/^(([^.]+\.){2}[^.+~-]+)[.+~-]?[^-]*-[^-]+$/$1/; ($version2 = $version3) =~ s/\.[^.]+$//; ($version3_next = $version3) =~ s/(?<=\.)(\d+)[a-z]?$/($1+1)/e; diff --git a/ubuntu/precise/applications/soundkonverter/debian/cdbs/versions.pl b/ubuntu/precise/applications/soundkonverter/debian/cdbs/versions.pl index 9ce11d8a3..75c9add4b 100644 --- a/ubuntu/precise/applications/soundkonverter/debian/cdbs/versions.pl +++ b/ubuntu/precise/applications/soundkonverter/debian/cdbs/versions.pl @@ -7,7 +7,7 @@ my $version = `dpkg-parsechangelog | awk '/^Version/ {print \$2}'`; my ($version3, $version3_next); my ($version2, $version2_next); -($version3 = $version) =~ s/-[^-]+$//; +($version3 = $version) =~ s/^(([^.]+\.){2}[^.+~-]+)[.+~-]?[^-]*-[^-]+$/$1/; ($version2 = $version3) =~ s/\.[^.]+$//; ($version3_next = $version3) =~ s/(?<=\.)(\d+)[a-z]?$/($1+1)/e; diff --git a/ubuntu/precise/applications/tde-style-qtcurve/debian/cdbs/versions.pl b/ubuntu/precise/applications/tde-style-qtcurve/debian/cdbs/versions.pl index 9ce11d8a3..75c9add4b 100644 --- a/ubuntu/precise/applications/tde-style-qtcurve/debian/cdbs/versions.pl +++ b/ubuntu/precise/applications/tde-style-qtcurve/debian/cdbs/versions.pl @@ -7,7 +7,7 @@ my $version = `dpkg-parsechangelog | awk '/^Version/ {print \$2}'`; my ($version3, $version3_next); my ($version2, $version2_next); -($version3 = $version) =~ s/-[^-]+$//; +($version3 = $version) =~ s/^(([^.]+\.){2}[^.+~-]+)[.+~-]?[^-]*-[^-]+$/$1/; ($version2 = $version3) =~ s/\.[^.]+$//; ($version3_next = $version3) =~ s/(?<=\.)(\d+)[a-z]?$/($1+1)/e; diff --git a/ubuntu/precise/applications/tde-systemsettings/debian/cdbs/versions.pl b/ubuntu/precise/applications/tde-systemsettings/debian/cdbs/versions.pl index 9ce11d8a3..75c9add4b 100644 --- a/ubuntu/precise/applications/tde-systemsettings/debian/cdbs/versions.pl +++ b/ubuntu/precise/applications/tde-systemsettings/debian/cdbs/versions.pl @@ -7,7 +7,7 @@ my $version = `dpkg-parsechangelog | awk '/^Version/ {print \$2}'`; my ($version3, $version3_next); my ($version2, $version2_next); -($version3 = $version) =~ s/-[^-]+$//; +($version3 = $version) =~ s/^(([^.]+\.){2}[^.+~-]+)[.+~-]?[^-]*-[^-]+$/$1/; ($version2 = $version3) =~ s/\.[^.]+$//; ($version3_next = $version3) =~ s/(?<=\.)(\d+)[a-z]?$/($1+1)/e; diff --git a/ubuntu/precise/applications/tdeio-apt/debian/cdbs/versions.pl b/ubuntu/precise/applications/tdeio-apt/debian/cdbs/versions.pl index 9ce11d8a3..75c9add4b 100644 --- a/ubuntu/precise/applications/tdeio-apt/debian/cdbs/versions.pl +++ b/ubuntu/precise/applications/tdeio-apt/debian/cdbs/versions.pl @@ -7,7 +7,7 @@ my $version = `dpkg-parsechangelog | awk '/^Version/ {print \$2}'`; my ($version3, $version3_next); my ($version2, $version2_next); -($version3 = $version) =~ s/-[^-]+$//; +($version3 = $version) =~ s/^(([^.]+\.){2}[^.+~-]+)[.+~-]?[^-]*-[^-]+$/$1/; ($version2 = $version3) =~ s/\.[^.]+$//; ($version3_next = $version3) =~ s/(?<=\.)(\d+)[a-z]?$/($1+1)/e; diff --git a/ubuntu/precise/applications/tdeio-locate/debian/cdbs/versions.pl b/ubuntu/precise/applications/tdeio-locate/debian/cdbs/versions.pl index 9ce11d8a3..75c9add4b 100644 --- a/ubuntu/precise/applications/tdeio-locate/debian/cdbs/versions.pl +++ b/ubuntu/precise/applications/tdeio-locate/debian/cdbs/versions.pl @@ -7,7 +7,7 @@ my $version = `dpkg-parsechangelog | awk '/^Version/ {print \$2}'`; my ($version3, $version3_next); my ($version2, $version2_next); -($version3 = $version) =~ s/-[^-]+$//; +($version3 = $version) =~ s/^(([^.]+\.){2}[^.+~-]+)[.+~-]?[^-]*-[^-]+$/$1/; ($version2 = $version3) =~ s/\.[^.]+$//; ($version3_next = $version3) =~ s/(?<=\.)(\d+)[a-z]?$/($1+1)/e; diff --git a/ubuntu/precise/applications/tdeio-umountwrapper/debian/cdbs/versions.pl b/ubuntu/precise/applications/tdeio-umountwrapper/debian/cdbs/versions.pl index 9ce11d8a3..75c9add4b 100644 --- a/ubuntu/precise/applications/tdeio-umountwrapper/debian/cdbs/versions.pl +++ b/ubuntu/precise/applications/tdeio-umountwrapper/debian/cdbs/versions.pl @@ -7,7 +7,7 @@ my $version = `dpkg-parsechangelog | awk '/^Version/ {print \$2}'`; my ($version3, $version3_next); my ($version2, $version2_next); -($version3 = $version) =~ s/-[^-]+$//; +($version3 = $version) =~ s/^(([^.]+\.){2}[^.+~-]+)[.+~-]?[^-]*-[^-]+$/$1/; ($version2 = $version3) =~ s/\.[^.]+$//; ($version3_next = $version3) =~ s/(?<=\.)(\d+)[a-z]?$/($1+1)/e; diff --git a/ubuntu/precise/applications/tdesudo/debian/cdbs/versions.pl b/ubuntu/precise/applications/tdesudo/debian/cdbs/versions.pl index 9ce11d8a3..75c9add4b 100644 --- a/ubuntu/precise/applications/tdesudo/debian/cdbs/versions.pl +++ b/ubuntu/precise/applications/tdesudo/debian/cdbs/versions.pl @@ -7,7 +7,7 @@ my $version = `dpkg-parsechangelog | awk '/^Version/ {print \$2}'`; my ($version3, $version3_next); my ($version2, $version2_next); -($version3 = $version) =~ s/-[^-]+$//; +($version3 = $version) =~ s/^(([^.]+\.){2}[^.+~-]+)[.+~-]?[^-]*-[^-]+$/$1/; ($version2 = $version3) =~ s/\.[^.]+$//; ($version3_next = $version3) =~ s/(?<=\.)(\d+)[a-z]?$/($1+1)/e; diff --git a/ubuntu/precise/applications/tdesvn/debian/cdbs/versions.pl b/ubuntu/precise/applications/tdesvn/debian/cdbs/versions.pl index 9ce11d8a3..75c9add4b 100644 --- a/ubuntu/precise/applications/tdesvn/debian/cdbs/versions.pl +++ b/ubuntu/precise/applications/tdesvn/debian/cdbs/versions.pl @@ -7,7 +7,7 @@ my $version = `dpkg-parsechangelog | awk '/^Version/ {print \$2}'`; my ($version3, $version3_next); my ($version2, $version2_next); -($version3 = $version) =~ s/-[^-]+$//; +($version3 = $version) =~ s/^(([^.]+\.){2}[^.+~-]+)[.+~-]?[^-]*-[^-]+$/$1/; ($version2 = $version3) =~ s/\.[^.]+$//; ($version3_next = $version3) =~ s/(?<=\.)(\d+)[a-z]?$/($1+1)/e; diff --git a/ubuntu/precise/applications/tdmtheme/debian/cdbs/versions.pl b/ubuntu/precise/applications/tdmtheme/debian/cdbs/versions.pl index 9ce11d8a3..75c9add4b 100644 --- a/ubuntu/precise/applications/tdmtheme/debian/cdbs/versions.pl +++ b/ubuntu/precise/applications/tdmtheme/debian/cdbs/versions.pl @@ -7,7 +7,7 @@ my $version = `dpkg-parsechangelog | awk '/^Version/ {print \$2}'`; my ($version3, $version3_next); my ($version2, $version2_next); -($version3 = $version) =~ s/-[^-]+$//; +($version3 = $version) =~ s/^(([^.]+\.){2}[^.+~-]+)[.+~-]?[^-]*-[^-]+$/$1/; ($version2 = $version3) =~ s/\.[^.]+$//; ($version3_next = $version3) =~ s/(?<=\.)(\d+)[a-z]?$/($1+1)/e; diff --git a/ubuntu/precise/applications/twin-style-crystal/debian/cdbs/versions.pl b/ubuntu/precise/applications/twin-style-crystal/debian/cdbs/versions.pl index 9ce11d8a3..75c9add4b 100644 --- a/ubuntu/precise/applications/twin-style-crystal/debian/cdbs/versions.pl +++ b/ubuntu/precise/applications/twin-style-crystal/debian/cdbs/versions.pl @@ -7,7 +7,7 @@ my $version = `dpkg-parsechangelog | awk '/^Version/ {print \$2}'`; my ($version3, $version3_next); my ($version2, $version2_next); -($version3 = $version) =~ s/-[^-]+$//; +($version3 = $version) =~ s/^(([^.]+\.){2}[^.+~-]+)[.+~-]?[^-]*-[^-]+$/$1/; ($version2 = $version3) =~ s/\.[^.]+$//; ($version3_next = $version3) =~ s/(?<=\.)(\d+)[a-z]?$/($1+1)/e; diff --git a/ubuntu/precise/applications/wlassistant/debian/cdbs/versions.pl b/ubuntu/precise/applications/wlassistant/debian/cdbs/versions.pl index 9ce11d8a3..75c9add4b 100644 --- a/ubuntu/precise/applications/wlassistant/debian/cdbs/versions.pl +++ b/ubuntu/precise/applications/wlassistant/debian/cdbs/versions.pl @@ -7,7 +7,7 @@ my $version = `dpkg-parsechangelog | awk '/^Version/ {print \$2}'`; my ($version3, $version3_next); my ($version2, $version2_next); -($version3 = $version) =~ s/-[^-]+$//; +($version3 = $version) =~ s/^(([^.]+\.){2}[^.+~-]+)[.+~-]?[^-]*-[^-]+$/$1/; ($version2 = $version3) =~ s/\.[^.]+$//; ($version3_next = $version3) =~ s/(?<=\.)(\d+)[a-z]?$/($1+1)/e; diff --git a/ubuntu/precise/applications/yakuake/debian/cdbs/versions.pl b/ubuntu/precise/applications/yakuake/debian/cdbs/versions.pl index 9ce11d8a3..75c9add4b 100644 --- a/ubuntu/precise/applications/yakuake/debian/cdbs/versions.pl +++ b/ubuntu/precise/applications/yakuake/debian/cdbs/versions.pl @@ -7,7 +7,7 @@ my $version = `dpkg-parsechangelog | awk '/^Version/ {print \$2}'`; my ($version3, $version3_next); my ($version2, $version2_next); -($version3 = $version) =~ s/-[^-]+$//; +($version3 = $version) =~ s/^(([^.]+\.){2}[^.+~-]+)[.+~-]?[^-]*-[^-]+$/$1/; ($version2 = $version3) =~ s/\.[^.]+$//; ($version3_next = $version3) =~ s/(?<=\.)(\d+)[a-z]?$/($1+1)/e; diff --git a/ubuntu/precise/dependencies/arts/debian/cdbs/versions.pl b/ubuntu/precise/dependencies/arts/debian/cdbs/versions.pl index 9ce11d8a3..75c9add4b 100644 --- a/ubuntu/precise/dependencies/arts/debian/cdbs/versions.pl +++ b/ubuntu/precise/dependencies/arts/debian/cdbs/versions.pl @@ -7,7 +7,7 @@ my $version = `dpkg-parsechangelog | awk '/^Version/ {print \$2}'`; my ($version3, $version3_next); my ($version2, $version2_next); -($version3 = $version) =~ s/-[^-]+$//; +($version3 = $version) =~ s/^(([^.]+\.){2}[^.+~-]+)[.+~-]?[^-]*-[^-]+$/$1/; ($version2 = $version3) =~ s/\.[^.]+$//; ($version3_next = $version3) =~ s/(?<=\.)(\d+)[a-z]?$/($1+1)/e; diff --git a/ubuntu/precise/kdegraphics.automake/debian/cdbs/versions.pl b/ubuntu/precise/kdegraphics.automake/debian/cdbs/versions.pl index 9ce11d8a3..75c9add4b 100644 --- a/ubuntu/precise/kdegraphics.automake/debian/cdbs/versions.pl +++ b/ubuntu/precise/kdegraphics.automake/debian/cdbs/versions.pl @@ -7,7 +7,7 @@ my $version = `dpkg-parsechangelog | awk '/^Version/ {print \$2}'`; my ($version3, $version3_next); my ($version2, $version2_next); -($version3 = $version) =~ s/-[^-]+$//; +($version3 = $version) =~ s/^(([^.]+\.){2}[^.+~-]+)[.+~-]?[^-]*-[^-]+$/$1/; ($version2 = $version3) =~ s/\.[^.]+$//; ($version3_next = $version3) =~ s/(?<=\.)(\d+)[a-z]?$/($1+1)/e; diff --git a/ubuntu/precise/kdevelop.cmake/debian/cdbs/versions.pl b/ubuntu/precise/kdevelop.cmake/debian/cdbs/versions.pl index 9ce11d8a3..75c9add4b 100644 --- a/ubuntu/precise/kdevelop.cmake/debian/cdbs/versions.pl +++ b/ubuntu/precise/kdevelop.cmake/debian/cdbs/versions.pl @@ -7,7 +7,7 @@ my $version = `dpkg-parsechangelog | awk '/^Version/ {print \$2}'`; my ($version3, $version3_next); my ($version2, $version2_next); -($version3 = $version) =~ s/-[^-]+$//; +($version3 = $version) =~ s/^(([^.]+\.){2}[^.+~-]+)[.+~-]?[^-]*-[^-]+$/$1/; ($version2 = $version3) =~ s/\.[^.]+$//; ($version3_next = $version3) =~ s/(?<=\.)(\d+)[a-z]?$/($1+1)/e; diff --git a/ubuntu/precise/libraries/kipi-plugins/debian/cdbs/versions.pl b/ubuntu/precise/libraries/kipi-plugins/debian/cdbs/versions.pl index 9ce11d8a3..75c9add4b 100644 --- a/ubuntu/precise/libraries/kipi-plugins/debian/cdbs/versions.pl +++ b/ubuntu/precise/libraries/kipi-plugins/debian/cdbs/versions.pl @@ -7,7 +7,7 @@ my $version = `dpkg-parsechangelog | awk '/^Version/ {print \$2}'`; my ($version3, $version3_next); my ($version2, $version2_next); -($version3 = $version) =~ s/-[^-]+$//; +($version3 = $version) =~ s/^(([^.]+\.){2}[^.+~-]+)[.+~-]?[^-]*-[^-]+$/$1/; ($version2 = $version3) =~ s/\.[^.]+$//; ($version3_next = $version3) =~ s/(?<=\.)(\d+)[a-z]?$/($1+1)/e; diff --git a/ubuntu/precise/libraries/libkdcraw/debian/cdbs/versions.pl b/ubuntu/precise/libraries/libkdcraw/debian/cdbs/versions.pl index 9ce11d8a3..75c9add4b 100644 --- a/ubuntu/precise/libraries/libkdcraw/debian/cdbs/versions.pl +++ b/ubuntu/precise/libraries/libkdcraw/debian/cdbs/versions.pl @@ -7,7 +7,7 @@ my $version = `dpkg-parsechangelog | awk '/^Version/ {print \$2}'`; my ($version3, $version3_next); my ($version2, $version2_next); -($version3 = $version) =~ s/-[^-]+$//; +($version3 = $version) =~ s/^(([^.]+\.){2}[^.+~-]+)[.+~-]?[^-]*-[^-]+$/$1/; ($version2 = $version3) =~ s/\.[^.]+$//; ($version3_next = $version3) =~ s/(?<=\.)(\d+)[a-z]?$/($1+1)/e; diff --git a/ubuntu/precise/libraries/libkexiv2/debian/cdbs/versions.pl b/ubuntu/precise/libraries/libkexiv2/debian/cdbs/versions.pl index 9ce11d8a3..75c9add4b 100644 --- a/ubuntu/precise/libraries/libkexiv2/debian/cdbs/versions.pl +++ b/ubuntu/precise/libraries/libkexiv2/debian/cdbs/versions.pl @@ -7,7 +7,7 @@ my $version = `dpkg-parsechangelog | awk '/^Version/ {print \$2}'`; my ($version3, $version3_next); my ($version2, $version2_next); -($version3 = $version) =~ s/-[^-]+$//; +($version3 = $version) =~ s/^(([^.]+\.){2}[^.+~-]+)[.+~-]?[^-]*-[^-]+$/$1/; ($version2 = $version3) =~ s/\.[^.]+$//; ($version3_next = $version3) =~ s/(?<=\.)(\d+)[a-z]?$/($1+1)/e; diff --git a/ubuntu/precise/libraries/libkipi/debian/cdbs/versions.pl b/ubuntu/precise/libraries/libkipi/debian/cdbs/versions.pl index 9ce11d8a3..75c9add4b 100644 --- a/ubuntu/precise/libraries/libkipi/debian/cdbs/versions.pl +++ b/ubuntu/precise/libraries/libkipi/debian/cdbs/versions.pl @@ -7,7 +7,7 @@ my $version = `dpkg-parsechangelog | awk '/^Version/ {print \$2}'`; my ($version3, $version3_next); my ($version2, $version2_next); -($version3 = $version) =~ s/-[^-]+$//; +($version3 = $version) =~ s/^(([^.]+\.){2}[^.+~-]+)[.+~-]?[^-]*-[^-]+$/$1/; ($version2 = $version3) =~ s/\.[^.]+$//; ($version3_next = $version3) =~ s/(?<=\.)(\d+)[a-z]?$/($1+1)/e; diff --git a/ubuntu/precise/tdeaccessibility/debian/cdbs/versions.pl b/ubuntu/precise/tdeaccessibility/debian/cdbs/versions.pl index 9ce11d8a3..75c9add4b 100644 --- a/ubuntu/precise/tdeaccessibility/debian/cdbs/versions.pl +++ b/ubuntu/precise/tdeaccessibility/debian/cdbs/versions.pl @@ -7,7 +7,7 @@ my $version = `dpkg-parsechangelog | awk '/^Version/ {print \$2}'`; my ($version3, $version3_next); my ($version2, $version2_next); -($version3 = $version) =~ s/-[^-]+$//; +($version3 = $version) =~ s/^(([^.]+\.){2}[^.+~-]+)[.+~-]?[^-]*-[^-]+$/$1/; ($version2 = $version3) =~ s/\.[^.]+$//; ($version3_next = $version3) =~ s/(?<=\.)(\d+)[a-z]?$/($1+1)/e; diff --git a/ubuntu/precise/tdeaddons/debian/cdbs/versions.pl b/ubuntu/precise/tdeaddons/debian/cdbs/versions.pl index 9ce11d8a3..75c9add4b 100644 --- a/ubuntu/precise/tdeaddons/debian/cdbs/versions.pl +++ b/ubuntu/precise/tdeaddons/debian/cdbs/versions.pl @@ -7,7 +7,7 @@ my $version = `dpkg-parsechangelog | awk '/^Version/ {print \$2}'`; my ($version3, $version3_next); my ($version2, $version2_next); -($version3 = $version) =~ s/-[^-]+$//; +($version3 = $version) =~ s/^(([^.]+\.){2}[^.+~-]+)[.+~-]?[^-]*-[^-]+$/$1/; ($version2 = $version3) =~ s/\.[^.]+$//; ($version3_next = $version3) =~ s/(?<=\.)(\d+)[a-z]?$/($1+1)/e; diff --git a/ubuntu/precise/tdeadmin/debian/cdbs/versions.pl b/ubuntu/precise/tdeadmin/debian/cdbs/versions.pl index 9ce11d8a3..75c9add4b 100644 --- a/ubuntu/precise/tdeadmin/debian/cdbs/versions.pl +++ b/ubuntu/precise/tdeadmin/debian/cdbs/versions.pl @@ -7,7 +7,7 @@ my $version = `dpkg-parsechangelog | awk '/^Version/ {print \$2}'`; my ($version3, $version3_next); my ($version2, $version2_next); -($version3 = $version) =~ s/-[^-]+$//; +($version3 = $version) =~ s/^(([^.]+\.){2}[^.+~-]+)[.+~-]?[^-]*-[^-]+$/$1/; ($version2 = $version3) =~ s/\.[^.]+$//; ($version3_next = $version3) =~ s/(?<=\.)(\d+)[a-z]?$/($1+1)/e; diff --git a/ubuntu/precise/tdeartwork/debian/cdbs/versions.pl b/ubuntu/precise/tdeartwork/debian/cdbs/versions.pl index 9ce11d8a3..75c9add4b 100644 --- a/ubuntu/precise/tdeartwork/debian/cdbs/versions.pl +++ b/ubuntu/precise/tdeartwork/debian/cdbs/versions.pl @@ -7,7 +7,7 @@ my $version = `dpkg-parsechangelog | awk '/^Version/ {print \$2}'`; my ($version3, $version3_next); my ($version2, $version2_next); -($version3 = $version) =~ s/-[^-]+$//; +($version3 = $version) =~ s/^(([^.]+\.){2}[^.+~-]+)[.+~-]?[^-]*-[^-]+$/$1/; ($version2 = $version3) =~ s/\.[^.]+$//; ($version3_next = $version3) =~ s/(?<=\.)(\d+)[a-z]?$/($1+1)/e; diff --git a/ubuntu/precise/tdebase/debian/cdbs/versions.pl b/ubuntu/precise/tdebase/debian/cdbs/versions.pl index 9ce11d8a3..75c9add4b 100644 --- a/ubuntu/precise/tdebase/debian/cdbs/versions.pl +++ b/ubuntu/precise/tdebase/debian/cdbs/versions.pl @@ -7,7 +7,7 @@ my $version = `dpkg-parsechangelog | awk '/^Version/ {print \$2}'`; my ($version3, $version3_next); my ($version2, $version2_next); -($version3 = $version) =~ s/-[^-]+$//; +($version3 = $version) =~ s/^(([^.]+\.){2}[^.+~-]+)[.+~-]?[^-]*-[^-]+$/$1/; ($version2 = $version3) =~ s/\.[^.]+$//; ($version3_next = $version3) =~ s/(?<=\.)(\d+)[a-z]?$/($1+1)/e; diff --git a/ubuntu/precise/tdebindings/debian/cdbs/versions.pl b/ubuntu/precise/tdebindings/debian/cdbs/versions.pl index 9ce11d8a3..75c9add4b 100644 --- a/ubuntu/precise/tdebindings/debian/cdbs/versions.pl +++ b/ubuntu/precise/tdebindings/debian/cdbs/versions.pl @@ -7,7 +7,7 @@ my $version = `dpkg-parsechangelog | awk '/^Version/ {print \$2}'`; my ($version3, $version3_next); my ($version2, $version2_next); -($version3 = $version) =~ s/-[^-]+$//; +($version3 = $version) =~ s/^(([^.]+\.){2}[^.+~-]+)[.+~-]?[^-]*-[^-]+$/$1/; ($version2 = $version3) =~ s/\.[^.]+$//; ($version3_next = $version3) =~ s/(?<=\.)(\d+)[a-z]?$/($1+1)/e; diff --git a/ubuntu/precise/tdeedu/debian/cdbs/versions.pl b/ubuntu/precise/tdeedu/debian/cdbs/versions.pl index 9ce11d8a3..75c9add4b 100644 --- a/ubuntu/precise/tdeedu/debian/cdbs/versions.pl +++ b/ubuntu/precise/tdeedu/debian/cdbs/versions.pl @@ -7,7 +7,7 @@ my $version = `dpkg-parsechangelog | awk '/^Version/ {print \$2}'`; my ($version3, $version3_next); my ($version2, $version2_next); -($version3 = $version) =~ s/-[^-]+$//; +($version3 = $version) =~ s/^(([^.]+\.){2}[^.+~-]+)[.+~-]?[^-]*-[^-]+$/$1/; ($version2 = $version3) =~ s/\.[^.]+$//; ($version3_next = $version3) =~ s/(?<=\.)(\d+)[a-z]?$/($1+1)/e; diff --git a/ubuntu/precise/tdegames/debian/cdbs/versions.pl b/ubuntu/precise/tdegames/debian/cdbs/versions.pl index 9ce11d8a3..75c9add4b 100644 --- a/ubuntu/precise/tdegames/debian/cdbs/versions.pl +++ b/ubuntu/precise/tdegames/debian/cdbs/versions.pl @@ -7,7 +7,7 @@ my $version = `dpkg-parsechangelog | awk '/^Version/ {print \$2}'`; my ($version3, $version3_next); my ($version2, $version2_next); -($version3 = $version) =~ s/-[^-]+$//; +($version3 = $version) =~ s/^(([^.]+\.){2}[^.+~-]+)[.+~-]?[^-]*-[^-]+$/$1/; ($version2 = $version3) =~ s/\.[^.]+$//; ($version3_next = $version3) =~ s/(?<=\.)(\d+)[a-z]?$/($1+1)/e; diff --git a/ubuntu/precise/tdegraphics/debian/cdbs/versions.pl b/ubuntu/precise/tdegraphics/debian/cdbs/versions.pl index 9ce11d8a3..75c9add4b 100644 --- a/ubuntu/precise/tdegraphics/debian/cdbs/versions.pl +++ b/ubuntu/precise/tdegraphics/debian/cdbs/versions.pl @@ -7,7 +7,7 @@ my $version = `dpkg-parsechangelog | awk '/^Version/ {print \$2}'`; my ($version3, $version3_next); my ($version2, $version2_next); -($version3 = $version) =~ s/-[^-]+$//; +($version3 = $version) =~ s/^(([^.]+\.){2}[^.+~-]+)[.+~-]?[^-]*-[^-]+$/$1/; ($version2 = $version3) =~ s/\.[^.]+$//; ($version3_next = $version3) =~ s/(?<=\.)(\d+)[a-z]?$/($1+1)/e; diff --git a/ubuntu/precise/tdelibs/debian/cdbs/versions.pl b/ubuntu/precise/tdelibs/debian/cdbs/versions.pl index 9ce11d8a3..75c9add4b 100644 --- a/ubuntu/precise/tdelibs/debian/cdbs/versions.pl +++ b/ubuntu/precise/tdelibs/debian/cdbs/versions.pl @@ -7,7 +7,7 @@ my $version = `dpkg-parsechangelog | awk '/^Version/ {print \$2}'`; my ($version3, $version3_next); my ($version2, $version2_next); -($version3 = $version) =~ s/-[^-]+$//; +($version3 = $version) =~ s/^(([^.]+\.){2}[^.+~-]+)[.+~-]?[^-]*-[^-]+$/$1/; ($version2 = $version3) =~ s/\.[^.]+$//; ($version3_next = $version3) =~ s/(?<=\.)(\d+)[a-z]?$/($1+1)/e; diff --git a/ubuntu/precise/tdemultimedia/debian/cdbs/versions.pl b/ubuntu/precise/tdemultimedia/debian/cdbs/versions.pl index 9ce11d8a3..75c9add4b 100644 --- a/ubuntu/precise/tdemultimedia/debian/cdbs/versions.pl +++ b/ubuntu/precise/tdemultimedia/debian/cdbs/versions.pl @@ -7,7 +7,7 @@ my $version = `dpkg-parsechangelog | awk '/^Version/ {print \$2}'`; my ($version3, $version3_next); my ($version2, $version2_next); -($version3 = $version) =~ s/-[^-]+$//; +($version3 = $version) =~ s/^(([^.]+\.){2}[^.+~-]+)[.+~-]?[^-]*-[^-]+$/$1/; ($version2 = $version3) =~ s/\.[^.]+$//; ($version3_next = $version3) =~ s/(?<=\.)(\d+)[a-z]?$/($1+1)/e; diff --git a/ubuntu/precise/tdenetwork/debian/cdbs/versions.pl b/ubuntu/precise/tdenetwork/debian/cdbs/versions.pl index 9ce11d8a3..75c9add4b 100644 --- a/ubuntu/precise/tdenetwork/debian/cdbs/versions.pl +++ b/ubuntu/precise/tdenetwork/debian/cdbs/versions.pl @@ -7,7 +7,7 @@ my $version = `dpkg-parsechangelog | awk '/^Version/ {print \$2}'`; my ($version3, $version3_next); my ($version2, $version2_next); -($version3 = $version) =~ s/-[^-]+$//; +($version3 = $version) =~ s/^(([^.]+\.){2}[^.+~-]+)[.+~-]?[^-]*-[^-]+$/$1/; ($version2 = $version3) =~ s/\.[^.]+$//; ($version3_next = $version3) =~ s/(?<=\.)(\d+)[a-z]?$/($1+1)/e; diff --git a/ubuntu/precise/tdepim/debian/cdbs/versions.pl b/ubuntu/precise/tdepim/debian/cdbs/versions.pl index 9ce11d8a3..75c9add4b 100644 --- a/ubuntu/precise/tdepim/debian/cdbs/versions.pl +++ b/ubuntu/precise/tdepim/debian/cdbs/versions.pl @@ -7,7 +7,7 @@ my $version = `dpkg-parsechangelog | awk '/^Version/ {print \$2}'`; my ($version3, $version3_next); my ($version2, $version2_next); -($version3 = $version) =~ s/-[^-]+$//; +($version3 = $version) =~ s/^(([^.]+\.){2}[^.+~-]+)[.+~-]?[^-]*-[^-]+$/$1/; ($version2 = $version3) =~ s/\.[^.]+$//; ($version3_next = $version3) =~ s/(?<=\.)(\d+)[a-z]?$/($1+1)/e; diff --git a/ubuntu/precise/tdesdk/debian/cdbs/versions.pl b/ubuntu/precise/tdesdk/debian/cdbs/versions.pl index 9ce11d8a3..75c9add4b 100644 --- a/ubuntu/precise/tdesdk/debian/cdbs/versions.pl +++ b/ubuntu/precise/tdesdk/debian/cdbs/versions.pl @@ -7,7 +7,7 @@ my $version = `dpkg-parsechangelog | awk '/^Version/ {print \$2}'`; my ($version3, $version3_next); my ($version2, $version2_next); -($version3 = $version) =~ s/-[^-]+$//; +($version3 = $version) =~ s/^(([^.]+\.){2}[^.+~-]+)[.+~-]?[^-]*-[^-]+$/$1/; ($version2 = $version3) =~ s/\.[^.]+$//; ($version3_next = $version3) =~ s/(?<=\.)(\d+)[a-z]?$/($1+1)/e; diff --git a/ubuntu/precise/tdetoys/debian/cdbs/versions.pl b/ubuntu/precise/tdetoys/debian/cdbs/versions.pl index 9ce11d8a3..75c9add4b 100644 --- a/ubuntu/precise/tdetoys/debian/cdbs/versions.pl +++ b/ubuntu/precise/tdetoys/debian/cdbs/versions.pl @@ -7,7 +7,7 @@ my $version = `dpkg-parsechangelog | awk '/^Version/ {print \$2}'`; my ($version3, $version3_next); my ($version2, $version2_next); -($version3 = $version) =~ s/-[^-]+$//; +($version3 = $version) =~ s/^(([^.]+\.){2}[^.+~-]+)[.+~-]?[^-]*-[^-]+$/$1/; ($version2 = $version3) =~ s/\.[^.]+$//; ($version3_next = $version3) =~ s/(?<=\.)(\d+)[a-z]?$/($1+1)/e; diff --git a/ubuntu/precise/tdeutils/debian/cdbs/versions.pl b/ubuntu/precise/tdeutils/debian/cdbs/versions.pl index 9ce11d8a3..75c9add4b 100644 --- a/ubuntu/precise/tdeutils/debian/cdbs/versions.pl +++ b/ubuntu/precise/tdeutils/debian/cdbs/versions.pl @@ -7,7 +7,7 @@ my $version = `dpkg-parsechangelog | awk '/^Version/ {print \$2}'`; my ($version3, $version3_next); my ($version2, $version2_next); -($version3 = $version) =~ s/-[^-]+$//; +($version3 = $version) =~ s/^(([^.]+\.){2}[^.+~-]+)[.+~-]?[^-]*-[^-]+$/$1/; ($version2 = $version3) =~ s/\.[^.]+$//; ($version3_next = $version3) =~ s/(?<=\.)(\d+)[a-z]?$/($1+1)/e; diff --git a/ubuntu/precise/tdevelop/debian/cdbs/versions.pl b/ubuntu/precise/tdevelop/debian/cdbs/versions.pl index 9ce11d8a3..75c9add4b 100644 --- a/ubuntu/precise/tdevelop/debian/cdbs/versions.pl +++ b/ubuntu/precise/tdevelop/debian/cdbs/versions.pl @@ -7,7 +7,7 @@ my $version = `dpkg-parsechangelog | awk '/^Version/ {print \$2}'`; my ($version3, $version3_next); my ($version2, $version2_next); -($version3 = $version) =~ s/-[^-]+$//; +($version3 = $version) =~ s/^(([^.]+\.){2}[^.+~-]+)[.+~-]?[^-]*-[^-]+$/$1/; ($version2 = $version3) =~ s/\.[^.]+$//; ($version3_next = $version3) =~ s/(?<=\.)(\d+)[a-z]?$/($1+1)/e; diff --git a/ubuntu/precise/tdewebdev/debian/cdbs/versions.pl b/ubuntu/precise/tdewebdev/debian/cdbs/versions.pl index 9ce11d8a3..75c9add4b 100644 --- a/ubuntu/precise/tdewebdev/debian/cdbs/versions.pl +++ b/ubuntu/precise/tdewebdev/debian/cdbs/versions.pl @@ -7,7 +7,7 @@ my $version = `dpkg-parsechangelog | awk '/^Version/ {print \$2}'`; my ($version3, $version3_next); my ($version2, $version2_next); -($version3 = $version) =~ s/-[^-]+$//; +($version3 = $version) =~ s/^(([^.]+\.){2}[^.+~-]+)[.+~-]?[^-]*-[^-]+$/$1/; ($version2 = $version3) =~ s/\.[^.]+$//; ($version3_next = $version3) =~ s/(?<=\.)(\d+)[a-z]?$/($1+1)/e; diff --git a/ubuntu/raring/applications/abakus/debian/cdbs/versions.pl b/ubuntu/raring/applications/abakus/debian/cdbs/versions.pl index 9ce11d8a3..75c9add4b 100644 --- a/ubuntu/raring/applications/abakus/debian/cdbs/versions.pl +++ b/ubuntu/raring/applications/abakus/debian/cdbs/versions.pl @@ -7,7 +7,7 @@ my $version = `dpkg-parsechangelog | awk '/^Version/ {print \$2}'`; my ($version3, $version3_next); my ($version2, $version2_next); -($version3 = $version) =~ s/-[^-]+$//; +($version3 = $version) =~ s/^(([^.]+\.){2}[^.+~-]+)[.+~-]?[^-]*-[^-]+$/$1/; ($version2 = $version3) =~ s/\.[^.]+$//; ($version3_next = $version3) =~ s/(?<=\.)(\d+)[a-z]?$/($1+1)/e; diff --git a/ubuntu/raring/applications/adept/debian/cdbs/versions.pl b/ubuntu/raring/applications/adept/debian/cdbs/versions.pl index 9ce11d8a3..75c9add4b 100644 --- a/ubuntu/raring/applications/adept/debian/cdbs/versions.pl +++ b/ubuntu/raring/applications/adept/debian/cdbs/versions.pl @@ -7,7 +7,7 @@ my $version = `dpkg-parsechangelog | awk '/^Version/ {print \$2}'`; my ($version3, $version3_next); my ($version2, $version2_next); -($version3 = $version) =~ s/-[^-]+$//; +($version3 = $version) =~ s/^(([^.]+\.){2}[^.+~-]+)[.+~-]?[^-]*-[^-]+$/$1/; ($version2 = $version3) =~ s/\.[^.]+$//; ($version3_next = $version3) =~ s/(?<=\.)(\d+)[a-z]?$/($1+1)/e; diff --git a/ubuntu/raring/applications/amarok.cmake/debian/cdbs/versions.pl b/ubuntu/raring/applications/amarok.cmake/debian/cdbs/versions.pl index 9ce11d8a3..75c9add4b 100644 --- a/ubuntu/raring/applications/amarok.cmake/debian/cdbs/versions.pl +++ b/ubuntu/raring/applications/amarok.cmake/debian/cdbs/versions.pl @@ -7,7 +7,7 @@ my $version = `dpkg-parsechangelog | awk '/^Version/ {print \$2}'`; my ($version3, $version3_next); my ($version2, $version2_next); -($version3 = $version) =~ s/-[^-]+$//; +($version3 = $version) =~ s/^(([^.]+\.){2}[^.+~-]+)[.+~-]?[^-]*-[^-]+$/$1/; ($version2 = $version3) =~ s/\.[^.]+$//; ($version3_next = $version3) =~ s/(?<=\.)(\d+)[a-z]?$/($1+1)/e; diff --git a/ubuntu/raring/applications/amarok/debian/cdbs/versions.pl b/ubuntu/raring/applications/amarok/debian/cdbs/versions.pl index 9ce11d8a3..75c9add4b 100644 --- a/ubuntu/raring/applications/amarok/debian/cdbs/versions.pl +++ b/ubuntu/raring/applications/amarok/debian/cdbs/versions.pl @@ -7,7 +7,7 @@ my $version = `dpkg-parsechangelog | awk '/^Version/ {print \$2}'`; my ($version3, $version3_next); my ($version2, $version2_next); -($version3 = $version) =~ s/-[^-]+$//; +($version3 = $version) =~ s/^(([^.]+\.){2}[^.+~-]+)[.+~-]?[^-]*-[^-]+$/$1/; ($version2 = $version3) =~ s/\.[^.]+$//; ($version3_next = $version3) =~ s/(?<=\.)(\d+)[a-z]?$/($1+1)/e; diff --git a/ubuntu/raring/applications/bibletime/debian/cdbs/versions.pl b/ubuntu/raring/applications/bibletime/debian/cdbs/versions.pl index 9ce11d8a3..75c9add4b 100644 --- a/ubuntu/raring/applications/bibletime/debian/cdbs/versions.pl +++ b/ubuntu/raring/applications/bibletime/debian/cdbs/versions.pl @@ -7,7 +7,7 @@ my $version = `dpkg-parsechangelog | awk '/^Version/ {print \$2}'`; my ($version3, $version3_next); my ($version2, $version2_next); -($version3 = $version) =~ s/-[^-]+$//; +($version3 = $version) =~ s/^(([^.]+\.){2}[^.+~-]+)[.+~-]?[^-]*-[^-]+$/$1/; ($version2 = $version3) =~ s/\.[^.]+$//; ($version3_next = $version3) =~ s/(?<=\.)(\d+)[a-z]?$/($1+1)/e; diff --git a/ubuntu/raring/applications/compizconfig-backend-tdeconfig/debian/cdbs/versions.pl b/ubuntu/raring/applications/compizconfig-backend-tdeconfig/debian/cdbs/versions.pl index 9ce11d8a3..75c9add4b 100644 --- a/ubuntu/raring/applications/compizconfig-backend-tdeconfig/debian/cdbs/versions.pl +++ b/ubuntu/raring/applications/compizconfig-backend-tdeconfig/debian/cdbs/versions.pl @@ -7,7 +7,7 @@ my $version = `dpkg-parsechangelog | awk '/^Version/ {print \$2}'`; my ($version3, $version3_next); my ($version2, $version2_next); -($version3 = $version) =~ s/-[^-]+$//; +($version3 = $version) =~ s/^(([^.]+\.){2}[^.+~-]+)[.+~-]?[^-]*-[^-]+$/$1/; ($version2 = $version3) =~ s/\.[^.]+$//; ($version3_next = $version3) =~ s/(?<=\.)(\d+)[a-z]?$/($1+1)/e; diff --git a/ubuntu/raring/applications/digikam/debian/cdbs/versions.pl b/ubuntu/raring/applications/digikam/debian/cdbs/versions.pl index 9ce11d8a3..75c9add4b 100644 --- a/ubuntu/raring/applications/digikam/debian/cdbs/versions.pl +++ b/ubuntu/raring/applications/digikam/debian/cdbs/versions.pl @@ -7,7 +7,7 @@ my $version = `dpkg-parsechangelog | awk '/^Version/ {print \$2}'`; my ($version3, $version3_next); my ($version2, $version2_next); -($version3 = $version) =~ s/-[^-]+$//; +($version3 = $version) =~ s/^(([^.]+\.){2}[^.+~-]+)[.+~-]?[^-]*-[^-]+$/$1/; ($version2 = $version3) =~ s/\.[^.]+$//; ($version3_next = $version3) =~ s/(?<=\.)(\d+)[a-z]?$/($1+1)/e; diff --git a/ubuntu/raring/applications/dolphin/debian/cdbs/versions.pl b/ubuntu/raring/applications/dolphin/debian/cdbs/versions.pl index 9ce11d8a3..75c9add4b 100644 --- a/ubuntu/raring/applications/dolphin/debian/cdbs/versions.pl +++ b/ubuntu/raring/applications/dolphin/debian/cdbs/versions.pl @@ -7,7 +7,7 @@ my $version = `dpkg-parsechangelog | awk '/^Version/ {print \$2}'`; my ($version3, $version3_next); my ($version2, $version2_next); -($version3 = $version) =~ s/-[^-]+$//; +($version3 = $version) =~ s/^(([^.]+\.){2}[^.+~-]+)[.+~-]?[^-]*-[^-]+$/$1/; ($version2 = $version3) =~ s/\.[^.]+$//; ($version3_next = $version3) =~ s/(?<=\.)(\d+)[a-z]?$/($1+1)/e; diff --git a/ubuntu/raring/applications/filelight-l10n/debian/cdbs/versions.pl b/ubuntu/raring/applications/filelight-l10n/debian/cdbs/versions.pl index 9ce11d8a3..75c9add4b 100644 --- a/ubuntu/raring/applications/filelight-l10n/debian/cdbs/versions.pl +++ b/ubuntu/raring/applications/filelight-l10n/debian/cdbs/versions.pl @@ -7,7 +7,7 @@ my $version = `dpkg-parsechangelog | awk '/^Version/ {print \$2}'`; my ($version3, $version3_next); my ($version2, $version2_next); -($version3 = $version) =~ s/-[^-]+$//; +($version3 = $version) =~ s/^(([^.]+\.){2}[^.+~-]+)[.+~-]?[^-]*-[^-]+$/$1/; ($version2 = $version3) =~ s/\.[^.]+$//; ($version3_next = $version3) =~ s/(?<=\.)(\d+)[a-z]?$/($1+1)/e; diff --git a/ubuntu/raring/applications/filelight/debian/cdbs/versions.pl b/ubuntu/raring/applications/filelight/debian/cdbs/versions.pl index 9ce11d8a3..75c9add4b 100644 --- a/ubuntu/raring/applications/filelight/debian/cdbs/versions.pl +++ b/ubuntu/raring/applications/filelight/debian/cdbs/versions.pl @@ -7,7 +7,7 @@ my $version = `dpkg-parsechangelog | awk '/^Version/ {print \$2}'`; my ($version3, $version3_next); my ($version2, $version2_next); -($version3 = $version) =~ s/-[^-]+$//; +($version3 = $version) =~ s/^(([^.]+\.){2}[^.+~-]+)[.+~-]?[^-]*-[^-]+$/$1/; ($version2 = $version3) =~ s/\.[^.]+$//; ($version3_next = $version3) =~ s/(?<=\.)(\d+)[a-z]?$/($1+1)/e; diff --git a/ubuntu/raring/applications/gtk-qt-engine/debian/cdbs/versions.pl b/ubuntu/raring/applications/gtk-qt-engine/debian/cdbs/versions.pl index 9ce11d8a3..75c9add4b 100644 --- a/ubuntu/raring/applications/gtk-qt-engine/debian/cdbs/versions.pl +++ b/ubuntu/raring/applications/gtk-qt-engine/debian/cdbs/versions.pl @@ -7,7 +7,7 @@ my $version = `dpkg-parsechangelog | awk '/^Version/ {print \$2}'`; my ($version3, $version3_next); my ($version2, $version2_next); -($version3 = $version) =~ s/-[^-]+$//; +($version3 = $version) =~ s/^(([^.]+\.){2}[^.+~-]+)[.+~-]?[^-]*-[^-]+$/$1/; ($version2 = $version3) =~ s/\.[^.]+$//; ($version3_next = $version3) =~ s/(?<=\.)(\d+)[a-z]?$/($1+1)/e; diff --git a/ubuntu/raring/applications/gwenview-i18n/debian/cdbs/versions.pl b/ubuntu/raring/applications/gwenview-i18n/debian/cdbs/versions.pl index 9ce11d8a3..75c9add4b 100644 --- a/ubuntu/raring/applications/gwenview-i18n/debian/cdbs/versions.pl +++ b/ubuntu/raring/applications/gwenview-i18n/debian/cdbs/versions.pl @@ -7,7 +7,7 @@ my $version = `dpkg-parsechangelog | awk '/^Version/ {print \$2}'`; my ($version3, $version3_next); my ($version2, $version2_next); -($version3 = $version) =~ s/-[^-]+$//; +($version3 = $version) =~ s/^(([^.]+\.){2}[^.+~-]+)[.+~-]?[^-]*-[^-]+$/$1/; ($version2 = $version3) =~ s/\.[^.]+$//; ($version3_next = $version3) =~ s/(?<=\.)(\d+)[a-z]?$/($1+1)/e; diff --git a/ubuntu/raring/applications/gwenview/debian/cdbs/versions.pl b/ubuntu/raring/applications/gwenview/debian/cdbs/versions.pl index 9ce11d8a3..75c9add4b 100644 --- a/ubuntu/raring/applications/gwenview/debian/cdbs/versions.pl +++ b/ubuntu/raring/applications/gwenview/debian/cdbs/versions.pl @@ -7,7 +7,7 @@ my $version = `dpkg-parsechangelog | awk '/^Version/ {print \$2}'`; my ($version3, $version3_next); my ($version2, $version2_next); -($version3 = $version) =~ s/-[^-]+$//; +($version3 = $version) =~ s/^(([^.]+\.){2}[^.+~-]+)[.+~-]?[^-]*-[^-]+$/$1/; ($version2 = $version3) =~ s/\.[^.]+$//; ($version3_next = $version3) =~ s/(?<=\.)(\d+)[a-z]?$/($1+1)/e; diff --git a/ubuntu/raring/applications/k3b/debian/cdbs/versions.pl b/ubuntu/raring/applications/k3b/debian/cdbs/versions.pl index 9ce11d8a3..75c9add4b 100644 --- a/ubuntu/raring/applications/k3b/debian/cdbs/versions.pl +++ b/ubuntu/raring/applications/k3b/debian/cdbs/versions.pl @@ -7,7 +7,7 @@ my $version = `dpkg-parsechangelog | awk '/^Version/ {print \$2}'`; my ($version3, $version3_next); my ($version2, $version2_next); -($version3 = $version) =~ s/-[^-]+$//; +($version3 = $version) =~ s/^(([^.]+\.){2}[^.+~-]+)[.+~-]?[^-]*-[^-]+$/$1/; ($version2 = $version3) =~ s/\.[^.]+$//; ($version3_next = $version3) =~ s/(?<=\.)(\d+)[a-z]?$/($1+1)/e; diff --git a/ubuntu/raring/applications/k9copy/debian/cdbs/versions.pl b/ubuntu/raring/applications/k9copy/debian/cdbs/versions.pl index 9ce11d8a3..75c9add4b 100644 --- a/ubuntu/raring/applications/k9copy/debian/cdbs/versions.pl +++ b/ubuntu/raring/applications/k9copy/debian/cdbs/versions.pl @@ -7,7 +7,7 @@ my $version = `dpkg-parsechangelog | awk '/^Version/ {print \$2}'`; my ($version3, $version3_next); my ($version2, $version2_next); -($version3 = $version) =~ s/-[^-]+$//; +($version3 = $version) =~ s/^(([^.]+\.){2}[^.+~-]+)[.+~-]?[^-]*-[^-]+$/$1/; ($version2 = $version3) =~ s/\.[^.]+$//; ($version3_next = $version3) =~ s/(?<=\.)(\d+)[a-z]?$/($1+1)/e; diff --git a/ubuntu/raring/applications/kaffeine/debian/cdbs/versions.pl b/ubuntu/raring/applications/kaffeine/debian/cdbs/versions.pl index 9ce11d8a3..75c9add4b 100644 --- a/ubuntu/raring/applications/kaffeine/debian/cdbs/versions.pl +++ b/ubuntu/raring/applications/kaffeine/debian/cdbs/versions.pl @@ -7,7 +7,7 @@ my $version = `dpkg-parsechangelog | awk '/^Version/ {print \$2}'`; my ($version3, $version3_next); my ($version2, $version2_next); -($version3 = $version) =~ s/-[^-]+$//; +($version3 = $version) =~ s/^(([^.]+\.){2}[^.+~-]+)[.+~-]?[^-]*-[^-]+$/$1/; ($version2 = $version3) =~ s/\.[^.]+$//; ($version3_next = $version3) =~ s/(?<=\.)(\d+)[a-z]?$/($1+1)/e; diff --git a/ubuntu/raring/applications/katapult/debian/cdbs/versions.pl b/ubuntu/raring/applications/katapult/debian/cdbs/versions.pl index 9ce11d8a3..75c9add4b 100644 --- a/ubuntu/raring/applications/katapult/debian/cdbs/versions.pl +++ b/ubuntu/raring/applications/katapult/debian/cdbs/versions.pl @@ -7,7 +7,7 @@ my $version = `dpkg-parsechangelog | awk '/^Version/ {print \$2}'`; my ($version3, $version3_next); my ($version2, $version2_next); -($version3 = $version) =~ s/-[^-]+$//; +($version3 = $version) =~ s/^(([^.]+\.){2}[^.+~-]+)[.+~-]?[^-]*-[^-]+$/$1/; ($version2 = $version3) =~ s/\.[^.]+$//; ($version3_next = $version3) =~ s/(?<=\.)(\d+)[a-z]?$/($1+1)/e; diff --git a/ubuntu/raring/applications/kbarcode/debian/cdbs/versions.pl b/ubuntu/raring/applications/kbarcode/debian/cdbs/versions.pl index 9ce11d8a3..75c9add4b 100644 --- a/ubuntu/raring/applications/kbarcode/debian/cdbs/versions.pl +++ b/ubuntu/raring/applications/kbarcode/debian/cdbs/versions.pl @@ -7,7 +7,7 @@ my $version = `dpkg-parsechangelog | awk '/^Version/ {print \$2}'`; my ($version3, $version3_next); my ($version2, $version2_next); -($version3 = $version) =~ s/-[^-]+$//; +($version3 = $version) =~ s/^(([^.]+\.){2}[^.+~-]+)[.+~-]?[^-]*-[^-]+$/$1/; ($version2 = $version3) =~ s/\.[^.]+$//; ($version3_next = $version3) =~ s/(?<=\.)(\d+)[a-z]?$/($1+1)/e; diff --git a/ubuntu/raring/applications/kbookreader/debian/cdbs/versions.pl b/ubuntu/raring/applications/kbookreader/debian/cdbs/versions.pl index 9ce11d8a3..75c9add4b 100644 --- a/ubuntu/raring/applications/kbookreader/debian/cdbs/versions.pl +++ b/ubuntu/raring/applications/kbookreader/debian/cdbs/versions.pl @@ -7,7 +7,7 @@ my $version = `dpkg-parsechangelog | awk '/^Version/ {print \$2}'`; my ($version3, $version3_next); my ($version2, $version2_next); -($version3 = $version) =~ s/-[^-]+$//; +($version3 = $version) =~ s/^(([^.]+\.){2}[^.+~-]+)[.+~-]?[^-]*-[^-]+$/$1/; ($version2 = $version3) =~ s/\.[^.]+$//; ($version3_next = $version3) =~ s/(?<=\.)(\d+)[a-z]?$/($1+1)/e; diff --git a/ubuntu/raring/applications/kcpuload/debian/cdbs/versions.pl b/ubuntu/raring/applications/kcpuload/debian/cdbs/versions.pl index 9ce11d8a3..75c9add4b 100644 --- a/ubuntu/raring/applications/kcpuload/debian/cdbs/versions.pl +++ b/ubuntu/raring/applications/kcpuload/debian/cdbs/versions.pl @@ -7,7 +7,7 @@ my $version = `dpkg-parsechangelog | awk '/^Version/ {print \$2}'`; my ($version3, $version3_next); my ($version2, $version2_next); -($version3 = $version) =~ s/-[^-]+$//; +($version3 = $version) =~ s/^(([^.]+\.){2}[^.+~-]+)[.+~-]?[^-]*-[^-]+$/$1/; ($version2 = $version3) =~ s/\.[^.]+$//; ($version3_next = $version3) =~ s/(?<=\.)(\d+)[a-z]?$/($1+1)/e; diff --git a/ubuntu/raring/applications/kdbusnotification/debian/cdbs/versions.pl b/ubuntu/raring/applications/kdbusnotification/debian/cdbs/versions.pl index 9ce11d8a3..75c9add4b 100644 --- a/ubuntu/raring/applications/kdbusnotification/debian/cdbs/versions.pl +++ b/ubuntu/raring/applications/kdbusnotification/debian/cdbs/versions.pl @@ -7,7 +7,7 @@ my $version = `dpkg-parsechangelog | awk '/^Version/ {print \$2}'`; my ($version3, $version3_next); my ($version2, $version2_next); -($version3 = $version) =~ s/-[^-]+$//; +($version3 = $version) =~ s/^(([^.]+\.){2}[^.+~-]+)[.+~-]?[^-]*-[^-]+$/$1/; ($version2 = $version3) =~ s/\.[^.]+$//; ($version3_next = $version3) =~ s/(?<=\.)(\d+)[a-z]?$/($1+1)/e; diff --git a/ubuntu/raring/applications/kdiff3/debian/cdbs/versions.pl b/ubuntu/raring/applications/kdiff3/debian/cdbs/versions.pl index 9ce11d8a3..75c9add4b 100644 --- a/ubuntu/raring/applications/kdiff3/debian/cdbs/versions.pl +++ b/ubuntu/raring/applications/kdiff3/debian/cdbs/versions.pl @@ -7,7 +7,7 @@ my $version = `dpkg-parsechangelog | awk '/^Version/ {print \$2}'`; my ($version3, $version3_next); my ($version2, $version2_next); -($version3 = $version) =~ s/-[^-]+$//; +($version3 = $version) =~ s/^(([^.]+\.){2}[^.+~-]+)[.+~-]?[^-]*-[^-]+$/$1/; ($version2 = $version3) =~ s/\.[^.]+$//; ($version3_next = $version3) =~ s/(?<=\.)(\d+)[a-z]?$/($1+1)/e; diff --git a/ubuntu/raring/applications/kdirstat/debian/cdbs/versions.pl b/ubuntu/raring/applications/kdirstat/debian/cdbs/versions.pl index 9ce11d8a3..75c9add4b 100644 --- a/ubuntu/raring/applications/kdirstat/debian/cdbs/versions.pl +++ b/ubuntu/raring/applications/kdirstat/debian/cdbs/versions.pl @@ -7,7 +7,7 @@ my $version = `dpkg-parsechangelog | awk '/^Version/ {print \$2}'`; my ($version3, $version3_next); my ($version2, $version2_next); -($version3 = $version) =~ s/-[^-]+$//; +($version3 = $version) =~ s/^(([^.]+\.){2}[^.+~-]+)[.+~-]?[^-]*-[^-]+$/$1/; ($version2 = $version3) =~ s/\.[^.]+$//; ($version3_next = $version3) =~ s/(?<=\.)(\d+)[a-z]?$/($1+1)/e; diff --git a/ubuntu/raring/applications/keep/debian/cdbs/versions.pl b/ubuntu/raring/applications/keep/debian/cdbs/versions.pl index 9ce11d8a3..75c9add4b 100644 --- a/ubuntu/raring/applications/keep/debian/cdbs/versions.pl +++ b/ubuntu/raring/applications/keep/debian/cdbs/versions.pl @@ -7,7 +7,7 @@ my $version = `dpkg-parsechangelog | awk '/^Version/ {print \$2}'`; my ($version3, $version3_next); my ($version2, $version2_next); -($version3 = $version) =~ s/-[^-]+$//; +($version3 = $version) =~ s/^(([^.]+\.){2}[^.+~-]+)[.+~-]?[^-]*-[^-]+$/$1/; ($version2 = $version3) =~ s/\.[^.]+$//; ($version3_next = $version3) =~ s/(?<=\.)(\d+)[a-z]?$/($1+1)/e; diff --git a/ubuntu/raring/applications/kerry/debian/cdbs/versions.pl b/ubuntu/raring/applications/kerry/debian/cdbs/versions.pl index 9ce11d8a3..75c9add4b 100644 --- a/ubuntu/raring/applications/kerry/debian/cdbs/versions.pl +++ b/ubuntu/raring/applications/kerry/debian/cdbs/versions.pl @@ -7,7 +7,7 @@ my $version = `dpkg-parsechangelog | awk '/^Version/ {print \$2}'`; my ($version3, $version3_next); my ($version2, $version2_next); -($version3 = $version) =~ s/-[^-]+$//; +($version3 = $version) =~ s/^(([^.]+\.){2}[^.+~-]+)[.+~-]?[^-]*-[^-]+$/$1/; ($version2 = $version3) =~ s/\.[^.]+$//; ($version3_next = $version3) =~ s/(?<=\.)(\d+)[a-z]?$/($1+1)/e; diff --git a/ubuntu/raring/applications/kgtk-qt3/debian/cdbs/versions.pl b/ubuntu/raring/applications/kgtk-qt3/debian/cdbs/versions.pl index 9ce11d8a3..75c9add4b 100644 --- a/ubuntu/raring/applications/kgtk-qt3/debian/cdbs/versions.pl +++ b/ubuntu/raring/applications/kgtk-qt3/debian/cdbs/versions.pl @@ -7,7 +7,7 @@ my $version = `dpkg-parsechangelog | awk '/^Version/ {print \$2}'`; my ($version3, $version3_next); my ($version2, $version2_next); -($version3 = $version) =~ s/-[^-]+$//; +($version3 = $version) =~ s/^(([^.]+\.){2}[^.+~-]+)[.+~-]?[^-]*-[^-]+$/$1/; ($version2 = $version3) =~ s/\.[^.]+$//; ($version3_next = $version3) =~ s/(?<=\.)(\d+)[a-z]?$/($1+1)/e; diff --git a/ubuntu/raring/applications/kile/debian/cdbs/versions.pl b/ubuntu/raring/applications/kile/debian/cdbs/versions.pl index 9ce11d8a3..75c9add4b 100644 --- a/ubuntu/raring/applications/kile/debian/cdbs/versions.pl +++ b/ubuntu/raring/applications/kile/debian/cdbs/versions.pl @@ -7,7 +7,7 @@ my $version = `dpkg-parsechangelog | awk '/^Version/ {print \$2}'`; my ($version3, $version3_next); my ($version2, $version2_next); -($version3 = $version) =~ s/-[^-]+$//; +($version3 = $version) =~ s/^(([^.]+\.){2}[^.+~-]+)[.+~-]?[^-]*-[^-]+$/$1/; ($version2 = $version3) =~ s/\.[^.]+$//; ($version3_next = $version3) =~ s/(?<=\.)(\d+)[a-z]?$/($1+1)/e; diff --git a/ubuntu/raring/applications/kiosktool/debian/cdbs/versions.pl b/ubuntu/raring/applications/kiosktool/debian/cdbs/versions.pl index 9ce11d8a3..75c9add4b 100644 --- a/ubuntu/raring/applications/kiosktool/debian/cdbs/versions.pl +++ b/ubuntu/raring/applications/kiosktool/debian/cdbs/versions.pl @@ -7,7 +7,7 @@ my $version = `dpkg-parsechangelog | awk '/^Version/ {print \$2}'`; my ($version3, $version3_next); my ($version2, $version2_next); -($version3 = $version) =~ s/-[^-]+$//; +($version3 = $version) =~ s/^(([^.]+\.){2}[^.+~-]+)[.+~-]?[^-]*-[^-]+$/$1/; ($version2 = $version3) =~ s/\.[^.]+$//; ($version3_next = $version3) =~ s/(?<=\.)(\d+)[a-z]?$/($1+1)/e; diff --git a/ubuntu/raring/applications/kmplayer/debian/cdbs/versions.pl b/ubuntu/raring/applications/kmplayer/debian/cdbs/versions.pl index 9ce11d8a3..75c9add4b 100644 --- a/ubuntu/raring/applications/kmplayer/debian/cdbs/versions.pl +++ b/ubuntu/raring/applications/kmplayer/debian/cdbs/versions.pl @@ -7,7 +7,7 @@ my $version = `dpkg-parsechangelog | awk '/^Version/ {print \$2}'`; my ($version3, $version3_next); my ($version2, $version2_next); -($version3 = $version) =~ s/-[^-]+$//; +($version3 = $version) =~ s/^(([^.]+\.){2}[^.+~-]+)[.+~-]?[^-]*-[^-]+$/$1/; ($version2 = $version3) =~ s/\.[^.]+$//; ($version3_next = $version3) =~ s/(?<=\.)(\d+)[a-z]?$/($1+1)/e; diff --git a/ubuntu/raring/applications/kmymoney/debian/cdbs/versions.pl b/ubuntu/raring/applications/kmymoney/debian/cdbs/versions.pl index 9ce11d8a3..75c9add4b 100644 --- a/ubuntu/raring/applications/kmymoney/debian/cdbs/versions.pl +++ b/ubuntu/raring/applications/kmymoney/debian/cdbs/versions.pl @@ -7,7 +7,7 @@ my $version = `dpkg-parsechangelog | awk '/^Version/ {print \$2}'`; my ($version3, $version3_next); my ($version2, $version2_next); -($version3 = $version) =~ s/-[^-]+$//; +($version3 = $version) =~ s/^(([^.]+\.){2}[^.+~-]+)[.+~-]?[^-]*-[^-]+$/$1/; ($version2 = $version3) =~ s/\.[^.]+$//; ($version3_next = $version3) =~ s/(?<=\.)(\d+)[a-z]?$/($1+1)/e; diff --git a/ubuntu/raring/applications/knemo/debian/cdbs/versions.pl b/ubuntu/raring/applications/knemo/debian/cdbs/versions.pl index 9ce11d8a3..75c9add4b 100644 --- a/ubuntu/raring/applications/knemo/debian/cdbs/versions.pl +++ b/ubuntu/raring/applications/knemo/debian/cdbs/versions.pl @@ -7,7 +7,7 @@ my $version = `dpkg-parsechangelog | awk '/^Version/ {print \$2}'`; my ($version3, $version3_next); my ($version2, $version2_next); -($version3 = $version) =~ s/-[^-]+$//; +($version3 = $version) =~ s/^(([^.]+\.){2}[^.+~-]+)[.+~-]?[^-]*-[^-]+$/$1/; ($version2 = $version3) =~ s/\.[^.]+$//; ($version3_next = $version3) =~ s/(?<=\.)(\d+)[a-z]?$/($1+1)/e; diff --git a/ubuntu/raring/applications/knetstats/debian/cdbs/versions.pl b/ubuntu/raring/applications/knetstats/debian/cdbs/versions.pl index 9ce11d8a3..75c9add4b 100644 --- a/ubuntu/raring/applications/knetstats/debian/cdbs/versions.pl +++ b/ubuntu/raring/applications/knetstats/debian/cdbs/versions.pl @@ -7,7 +7,7 @@ my $version = `dpkg-parsechangelog | awk '/^Version/ {print \$2}'`; my ($version3, $version3_next); my ($version2, $version2_next); -($version3 = $version) =~ s/-[^-]+$//; +($version3 = $version) =~ s/^(([^.]+\.){2}[^.+~-]+)[.+~-]?[^-]*-[^-]+$/$1/; ($version2 = $version3) =~ s/\.[^.]+$//; ($version3_next = $version3) =~ s/(?<=\.)(\d+)[a-z]?$/($1+1)/e; diff --git a/ubuntu/raring/applications/knetworkmanager.cmake/debian/cdbs/versions.pl b/ubuntu/raring/applications/knetworkmanager.cmake/debian/cdbs/versions.pl index 9ce11d8a3..75c9add4b 100644 --- a/ubuntu/raring/applications/knetworkmanager.cmake/debian/cdbs/versions.pl +++ b/ubuntu/raring/applications/knetworkmanager.cmake/debian/cdbs/versions.pl @@ -7,7 +7,7 @@ my $version = `dpkg-parsechangelog | awk '/^Version/ {print \$2}'`; my ($version3, $version3_next); my ($version2, $version2_next); -($version3 = $version) =~ s/-[^-]+$//; +($version3 = $version) =~ s/^(([^.]+\.){2}[^.+~-]+)[.+~-]?[^-]*-[^-]+$/$1/; ($version2 = $version3) =~ s/\.[^.]+$//; ($version3_next = $version3) =~ s/(?<=\.)(\d+)[a-z]?$/($1+1)/e; diff --git a/ubuntu/raring/applications/knetworkmanager8/debian/cdbs/versions.pl b/ubuntu/raring/applications/knetworkmanager8/debian/cdbs/versions.pl index 9ce11d8a3..75c9add4b 100644 --- a/ubuntu/raring/applications/knetworkmanager8/debian/cdbs/versions.pl +++ b/ubuntu/raring/applications/knetworkmanager8/debian/cdbs/versions.pl @@ -7,7 +7,7 @@ my $version = `dpkg-parsechangelog | awk '/^Version/ {print \$2}'`; my ($version3, $version3_next); my ($version2, $version2_next); -($version3 = $version) =~ s/-[^-]+$//; +($version3 = $version) =~ s/^(([^.]+\.){2}[^.+~-]+)[.+~-]?[^-]*-[^-]+$/$1/; ($version2 = $version3) =~ s/\.[^.]+$//; ($version3_next = $version3) =~ s/(?<=\.)(\d+)[a-z]?$/($1+1)/e; diff --git a/ubuntu/raring/applications/knetworkmanager9/debian/cdbs/versions.pl b/ubuntu/raring/applications/knetworkmanager9/debian/cdbs/versions.pl index 9ce11d8a3..75c9add4b 100644 --- a/ubuntu/raring/applications/knetworkmanager9/debian/cdbs/versions.pl +++ b/ubuntu/raring/applications/knetworkmanager9/debian/cdbs/versions.pl @@ -7,7 +7,7 @@ my $version = `dpkg-parsechangelog | awk '/^Version/ {print \$2}'`; my ($version3, $version3_next); my ($version2, $version2_next); -($version3 = $version) =~ s/-[^-]+$//; +($version3 = $version) =~ s/^(([^.]+\.){2}[^.+~-]+)[.+~-]?[^-]*-[^-]+$/$1/; ($version2 = $version3) =~ s/\.[^.]+$//; ($version3_next = $version3) =~ s/(?<=\.)(\d+)[a-z]?$/($1+1)/e; diff --git a/ubuntu/raring/applications/koffice/debian/cdbs/versions.pl b/ubuntu/raring/applications/koffice/debian/cdbs/versions.pl index 9ce11d8a3..75c9add4b 100644 --- a/ubuntu/raring/applications/koffice/debian/cdbs/versions.pl +++ b/ubuntu/raring/applications/koffice/debian/cdbs/versions.pl @@ -7,7 +7,7 @@ my $version = `dpkg-parsechangelog | awk '/^Version/ {print \$2}'`; my ($version3, $version3_next); my ($version2, $version2_next); -($version3 = $version) =~ s/-[^-]+$//; +($version3 = $version) =~ s/^(([^.]+\.){2}[^.+~-]+)[.+~-]?[^-]*-[^-]+$/$1/; ($version2 = $version3) =~ s/\.[^.]+$//; ($version3_next = $version3) =~ s/(?<=\.)(\d+)[a-z]?$/($1+1)/e; diff --git a/ubuntu/raring/applications/konversation/debian/cdbs/versions.pl b/ubuntu/raring/applications/konversation/debian/cdbs/versions.pl index 9ce11d8a3..75c9add4b 100644 --- a/ubuntu/raring/applications/konversation/debian/cdbs/versions.pl +++ b/ubuntu/raring/applications/konversation/debian/cdbs/versions.pl @@ -7,7 +7,7 @@ my $version = `dpkg-parsechangelog | awk '/^Version/ {print \$2}'`; my ($version3, $version3_next); my ($version2, $version2_next); -($version3 = $version) =~ s/-[^-]+$//; +($version3 = $version) =~ s/^(([^.]+\.){2}[^.+~-]+)[.+~-]?[^-]*-[^-]+$/$1/; ($version2 = $version3) =~ s/\.[^.]+$//; ($version3_next = $version3) =~ s/(?<=\.)(\d+)[a-z]?$/($1+1)/e; diff --git a/ubuntu/raring/applications/kopete-otr/debian/cdbs/versions.pl b/ubuntu/raring/applications/kopete-otr/debian/cdbs/versions.pl index 9ce11d8a3..75c9add4b 100644 --- a/ubuntu/raring/applications/kopete-otr/debian/cdbs/versions.pl +++ b/ubuntu/raring/applications/kopete-otr/debian/cdbs/versions.pl @@ -7,7 +7,7 @@ my $version = `dpkg-parsechangelog | awk '/^Version/ {print \$2}'`; my ($version3, $version3_next); my ($version2, $version2_next); -($version3 = $version) =~ s/-[^-]+$//; +($version3 = $version) =~ s/^(([^.]+\.){2}[^.+~-]+)[.+~-]?[^-]*-[^-]+$/$1/; ($version2 = $version3) =~ s/\.[^.]+$//; ($version3_next = $version3) =~ s/(?<=\.)(\d+)[a-z]?$/($1+1)/e; diff --git a/ubuntu/raring/applications/kpilot/debian/cdbs/versions.pl b/ubuntu/raring/applications/kpilot/debian/cdbs/versions.pl index 9ce11d8a3..75c9add4b 100644 --- a/ubuntu/raring/applications/kpilot/debian/cdbs/versions.pl +++ b/ubuntu/raring/applications/kpilot/debian/cdbs/versions.pl @@ -7,7 +7,7 @@ my $version = `dpkg-parsechangelog | awk '/^Version/ {print \$2}'`; my ($version3, $version3_next); my ($version2, $version2_next); -($version3 = $version) =~ s/-[^-]+$//; +($version3 = $version) =~ s/^(([^.]+\.){2}[^.+~-]+)[.+~-]?[^-]*-[^-]+$/$1/; ($version2 = $version3) =~ s/\.[^.]+$//; ($version3_next = $version3) =~ s/(?<=\.)(\d+)[a-z]?$/($1+1)/e; diff --git a/ubuntu/raring/applications/kpowersave-nohal/debian/cdbs/versions.pl b/ubuntu/raring/applications/kpowersave-nohal/debian/cdbs/versions.pl index 9ce11d8a3..75c9add4b 100644 --- a/ubuntu/raring/applications/kpowersave-nohal/debian/cdbs/versions.pl +++ b/ubuntu/raring/applications/kpowersave-nohal/debian/cdbs/versions.pl @@ -7,7 +7,7 @@ my $version = `dpkg-parsechangelog | awk '/^Version/ {print \$2}'`; my ($version3, $version3_next); my ($version2, $version2_next); -($version3 = $version) =~ s/-[^-]+$//; +($version3 = $version) =~ s/^(([^.]+\.){2}[^.+~-]+)[.+~-]?[^-]*-[^-]+$/$1/; ($version2 = $version3) =~ s/\.[^.]+$//; ($version3_next = $version3) =~ s/(?<=\.)(\d+)[a-z]?$/($1+1)/e; diff --git a/ubuntu/raring/applications/kpowersave.cmake/debian/cdbs/versions.pl b/ubuntu/raring/applications/kpowersave.cmake/debian/cdbs/versions.pl index 9ce11d8a3..75c9add4b 100644 --- a/ubuntu/raring/applications/kpowersave.cmake/debian/cdbs/versions.pl +++ b/ubuntu/raring/applications/kpowersave.cmake/debian/cdbs/versions.pl @@ -7,7 +7,7 @@ my $version = `dpkg-parsechangelog | awk '/^Version/ {print \$2}'`; my ($version3, $version3_next); my ($version2, $version2_next); -($version3 = $version) =~ s/-[^-]+$//; +($version3 = $version) =~ s/^(([^.]+\.){2}[^.+~-]+)[.+~-]?[^-]*-[^-]+$/$1/; ($version2 = $version3) =~ s/\.[^.]+$//; ($version3_next = $version3) =~ s/(?<=\.)(\d+)[a-z]?$/($1+1)/e; diff --git a/ubuntu/raring/applications/kpowersave/debian/cdbs/versions.pl b/ubuntu/raring/applications/kpowersave/debian/cdbs/versions.pl index 9ce11d8a3..75c9add4b 100644 --- a/ubuntu/raring/applications/kpowersave/debian/cdbs/versions.pl +++ b/ubuntu/raring/applications/kpowersave/debian/cdbs/versions.pl @@ -7,7 +7,7 @@ my $version = `dpkg-parsechangelog | awk '/^Version/ {print \$2}'`; my ($version3, $version3_next); my ($version2, $version2_next); -($version3 = $version) =~ s/-[^-]+$//; +($version3 = $version) =~ s/^(([^.]+\.){2}[^.+~-]+)[.+~-]?[^-]*-[^-]+$/$1/; ($version2 = $version3) =~ s/\.[^.]+$//; ($version3_next = $version3) =~ s/(?<=\.)(\d+)[a-z]?$/($1+1)/e; diff --git a/ubuntu/raring/applications/krename/debian/cdbs/versions.pl b/ubuntu/raring/applications/krename/debian/cdbs/versions.pl index 9ce11d8a3..75c9add4b 100644 --- a/ubuntu/raring/applications/krename/debian/cdbs/versions.pl +++ b/ubuntu/raring/applications/krename/debian/cdbs/versions.pl @@ -7,7 +7,7 @@ my $version = `dpkg-parsechangelog | awk '/^Version/ {print \$2}'`; my ($version3, $version3_next); my ($version2, $version2_next); -($version3 = $version) =~ s/-[^-]+$//; +($version3 = $version) =~ s/^(([^.]+\.){2}[^.+~-]+)[.+~-]?[^-]*-[^-]+$/$1/; ($version2 = $version3) =~ s/\.[^.]+$//; ($version3_next = $version3) =~ s/(?<=\.)(\d+)[a-z]?$/($1+1)/e; diff --git a/ubuntu/raring/applications/krusader/debian/cdbs/versions.pl b/ubuntu/raring/applications/krusader/debian/cdbs/versions.pl index 9ce11d8a3..75c9add4b 100644 --- a/ubuntu/raring/applications/krusader/debian/cdbs/versions.pl +++ b/ubuntu/raring/applications/krusader/debian/cdbs/versions.pl @@ -7,7 +7,7 @@ my $version = `dpkg-parsechangelog | awk '/^Version/ {print \$2}'`; my ($version3, $version3_next); my ($version2, $version2_next); -($version3 = $version) =~ s/-[^-]+$//; +($version3 = $version) =~ s/^(([^.]+\.){2}[^.+~-]+)[.+~-]?[^-]*-[^-]+$/$1/; ($version2 = $version3) =~ s/\.[^.]+$//; ($version3_next = $version3) =~ s/(?<=\.)(\d+)[a-z]?$/($1+1)/e; diff --git a/ubuntu/raring/applications/ksystemlog/debian/cdbs/versions.pl b/ubuntu/raring/applications/ksystemlog/debian/cdbs/versions.pl index 9ce11d8a3..75c9add4b 100644 --- a/ubuntu/raring/applications/ksystemlog/debian/cdbs/versions.pl +++ b/ubuntu/raring/applications/ksystemlog/debian/cdbs/versions.pl @@ -7,7 +7,7 @@ my $version = `dpkg-parsechangelog | awk '/^Version/ {print \$2}'`; my ($version3, $version3_next); my ($version2, $version2_next); -($version3 = $version) =~ s/-[^-]+$//; +($version3 = $version) =~ s/^(([^.]+\.){2}[^.+~-]+)[.+~-]?[^-]*-[^-]+$/$1/; ($version2 = $version3) =~ s/\.[^.]+$//; ($version3_next = $version3) =~ s/(?<=\.)(\d+)[a-z]?$/($1+1)/e; diff --git a/ubuntu/raring/applications/ktorrent/debian/cdbs/versions.pl b/ubuntu/raring/applications/ktorrent/debian/cdbs/versions.pl index 9ce11d8a3..75c9add4b 100644 --- a/ubuntu/raring/applications/ktorrent/debian/cdbs/versions.pl +++ b/ubuntu/raring/applications/ktorrent/debian/cdbs/versions.pl @@ -7,7 +7,7 @@ my $version = `dpkg-parsechangelog | awk '/^Version/ {print \$2}'`; my ($version3, $version3_next); my ($version2, $version2_next); -($version3 = $version) =~ s/-[^-]+$//; +($version3 = $version) =~ s/^(([^.]+\.){2}[^.+~-]+)[.+~-]?[^-]*-[^-]+$/$1/; ($version2 = $version3) =~ s/\.[^.]+$//; ($version3_next = $version3) =~ s/(?<=\.)(\d+)[a-z]?$/($1+1)/e; diff --git a/ubuntu/raring/applications/kuickshow/debian/cdbs/versions.pl b/ubuntu/raring/applications/kuickshow/debian/cdbs/versions.pl index 9ce11d8a3..75c9add4b 100644 --- a/ubuntu/raring/applications/kuickshow/debian/cdbs/versions.pl +++ b/ubuntu/raring/applications/kuickshow/debian/cdbs/versions.pl @@ -7,7 +7,7 @@ my $version = `dpkg-parsechangelog | awk '/^Version/ {print \$2}'`; my ($version3, $version3_next); my ($version2, $version2_next); -($version3 = $version) =~ s/-[^-]+$//; +($version3 = $version) =~ s/^(([^.]+\.){2}[^.+~-]+)[.+~-]?[^-]*-[^-]+$/$1/; ($version2 = $version3) =~ s/\.[^.]+$//; ($version3_next = $version3) =~ s/(?<=\.)(\d+)[a-z]?$/($1+1)/e; diff --git a/ubuntu/raring/applications/kvkbd/debian/cdbs/versions.pl b/ubuntu/raring/applications/kvkbd/debian/cdbs/versions.pl index 9ce11d8a3..75c9add4b 100644 --- a/ubuntu/raring/applications/kvkbd/debian/cdbs/versions.pl +++ b/ubuntu/raring/applications/kvkbd/debian/cdbs/versions.pl @@ -7,7 +7,7 @@ my $version = `dpkg-parsechangelog | awk '/^Version/ {print \$2}'`; my ($version3, $version3_next); my ($version2, $version2_next); -($version3 = $version) =~ s/-[^-]+$//; +($version3 = $version) =~ s/^(([^.]+\.){2}[^.+~-]+)[.+~-]?[^-]*-[^-]+$/$1/; ($version2 = $version3) =~ s/\.[^.]+$//; ($version3_next = $version3) =~ s/(?<=\.)(\d+)[a-z]?$/($1+1)/e; diff --git a/ubuntu/raring/applications/rosegarden/debian/cdbs/versions.pl b/ubuntu/raring/applications/rosegarden/debian/cdbs/versions.pl index 9ce11d8a3..75c9add4b 100644 --- a/ubuntu/raring/applications/rosegarden/debian/cdbs/versions.pl +++ b/ubuntu/raring/applications/rosegarden/debian/cdbs/versions.pl @@ -7,7 +7,7 @@ my $version = `dpkg-parsechangelog | awk '/^Version/ {print \$2}'`; my ($version3, $version3_next); my ($version2, $version2_next); -($version3 = $version) =~ s/-[^-]+$//; +($version3 = $version) =~ s/^(([^.]+\.){2}[^.+~-]+)[.+~-]?[^-]*-[^-]+$/$1/; ($version2 = $version3) =~ s/\.[^.]+$//; ($version3_next = $version3) =~ s/(?<=\.)(\d+)[a-z]?$/($1+1)/e; diff --git a/ubuntu/raring/applications/smb4k/debian/cdbs/versions.pl b/ubuntu/raring/applications/smb4k/debian/cdbs/versions.pl index 9ce11d8a3..75c9add4b 100644 --- a/ubuntu/raring/applications/smb4k/debian/cdbs/versions.pl +++ b/ubuntu/raring/applications/smb4k/debian/cdbs/versions.pl @@ -7,7 +7,7 @@ my $version = `dpkg-parsechangelog | awk '/^Version/ {print \$2}'`; my ($version3, $version3_next); my ($version2, $version2_next); -($version3 = $version) =~ s/-[^-]+$//; +($version3 = $version) =~ s/^(([^.]+\.){2}[^.+~-]+)[.+~-]?[^-]*-[^-]+$/$1/; ($version2 = $version3) =~ s/\.[^.]+$//; ($version3_next = $version3) =~ s/(?<=\.)(\d+)[a-z]?$/($1+1)/e; diff --git a/ubuntu/raring/applications/soundkonverter/debian/cdbs/versions.pl b/ubuntu/raring/applications/soundkonverter/debian/cdbs/versions.pl index 9ce11d8a3..75c9add4b 100644 --- a/ubuntu/raring/applications/soundkonverter/debian/cdbs/versions.pl +++ b/ubuntu/raring/applications/soundkonverter/debian/cdbs/versions.pl @@ -7,7 +7,7 @@ my $version = `dpkg-parsechangelog | awk '/^Version/ {print \$2}'`; my ($version3, $version3_next); my ($version2, $version2_next); -($version3 = $version) =~ s/-[^-]+$//; +($version3 = $version) =~ s/^(([^.]+\.){2}[^.+~-]+)[.+~-]?[^-]*-[^-]+$/$1/; ($version2 = $version3) =~ s/\.[^.]+$//; ($version3_next = $version3) =~ s/(?<=\.)(\d+)[a-z]?$/($1+1)/e; diff --git a/ubuntu/raring/applications/tde-style-qtcurve/debian/cdbs/versions.pl b/ubuntu/raring/applications/tde-style-qtcurve/debian/cdbs/versions.pl index 9ce11d8a3..75c9add4b 100644 --- a/ubuntu/raring/applications/tde-style-qtcurve/debian/cdbs/versions.pl +++ b/ubuntu/raring/applications/tde-style-qtcurve/debian/cdbs/versions.pl @@ -7,7 +7,7 @@ my $version = `dpkg-parsechangelog | awk '/^Version/ {print \$2}'`; my ($version3, $version3_next); my ($version2, $version2_next); -($version3 = $version) =~ s/-[^-]+$//; +($version3 = $version) =~ s/^(([^.]+\.){2}[^.+~-]+)[.+~-]?[^-]*-[^-]+$/$1/; ($version2 = $version3) =~ s/\.[^.]+$//; ($version3_next = $version3) =~ s/(?<=\.)(\d+)[a-z]?$/($1+1)/e; diff --git a/ubuntu/raring/applications/tde-systemsettings/debian/cdbs/versions.pl b/ubuntu/raring/applications/tde-systemsettings/debian/cdbs/versions.pl index 9ce11d8a3..75c9add4b 100644 --- a/ubuntu/raring/applications/tde-systemsettings/debian/cdbs/versions.pl +++ b/ubuntu/raring/applications/tde-systemsettings/debian/cdbs/versions.pl @@ -7,7 +7,7 @@ my $version = `dpkg-parsechangelog | awk '/^Version/ {print \$2}'`; my ($version3, $version3_next); my ($version2, $version2_next); -($version3 = $version) =~ s/-[^-]+$//; +($version3 = $version) =~ s/^(([^.]+\.){2}[^.+~-]+)[.+~-]?[^-]*-[^-]+$/$1/; ($version2 = $version3) =~ s/\.[^.]+$//; ($version3_next = $version3) =~ s/(?<=\.)(\d+)[a-z]?$/($1+1)/e; diff --git a/ubuntu/raring/applications/tdeio-apt/debian/cdbs/versions.pl b/ubuntu/raring/applications/tdeio-apt/debian/cdbs/versions.pl index 9ce11d8a3..75c9add4b 100644 --- a/ubuntu/raring/applications/tdeio-apt/debian/cdbs/versions.pl +++ b/ubuntu/raring/applications/tdeio-apt/debian/cdbs/versions.pl @@ -7,7 +7,7 @@ my $version = `dpkg-parsechangelog | awk '/^Version/ {print \$2}'`; my ($version3, $version3_next); my ($version2, $version2_next); -($version3 = $version) =~ s/-[^-]+$//; +($version3 = $version) =~ s/^(([^.]+\.){2}[^.+~-]+)[.+~-]?[^-]*-[^-]+$/$1/; ($version2 = $version3) =~ s/\.[^.]+$//; ($version3_next = $version3) =~ s/(?<=\.)(\d+)[a-z]?$/($1+1)/e; diff --git a/ubuntu/raring/applications/tdeio-locate/debian/cdbs/versions.pl b/ubuntu/raring/applications/tdeio-locate/debian/cdbs/versions.pl index 9ce11d8a3..75c9add4b 100644 --- a/ubuntu/raring/applications/tdeio-locate/debian/cdbs/versions.pl +++ b/ubuntu/raring/applications/tdeio-locate/debian/cdbs/versions.pl @@ -7,7 +7,7 @@ my $version = `dpkg-parsechangelog | awk '/^Version/ {print \$2}'`; my ($version3, $version3_next); my ($version2, $version2_next); -($version3 = $version) =~ s/-[^-]+$//; +($version3 = $version) =~ s/^(([^.]+\.){2}[^.+~-]+)[.+~-]?[^-]*-[^-]+$/$1/; ($version2 = $version3) =~ s/\.[^.]+$//; ($version3_next = $version3) =~ s/(?<=\.)(\d+)[a-z]?$/($1+1)/e; diff --git a/ubuntu/raring/applications/tdeio-umountwrapper/debian/cdbs/versions.pl b/ubuntu/raring/applications/tdeio-umountwrapper/debian/cdbs/versions.pl index 9ce11d8a3..75c9add4b 100644 --- a/ubuntu/raring/applications/tdeio-umountwrapper/debian/cdbs/versions.pl +++ b/ubuntu/raring/applications/tdeio-umountwrapper/debian/cdbs/versions.pl @@ -7,7 +7,7 @@ my $version = `dpkg-parsechangelog | awk '/^Version/ {print \$2}'`; my ($version3, $version3_next); my ($version2, $version2_next); -($version3 = $version) =~ s/-[^-]+$//; +($version3 = $version) =~ s/^(([^.]+\.){2}[^.+~-]+)[.+~-]?[^-]*-[^-]+$/$1/; ($version2 = $version3) =~ s/\.[^.]+$//; ($version3_next = $version3) =~ s/(?<=\.)(\d+)[a-z]?$/($1+1)/e; diff --git a/ubuntu/raring/applications/tdesudo/debian/cdbs/versions.pl b/ubuntu/raring/applications/tdesudo/debian/cdbs/versions.pl index 9ce11d8a3..75c9add4b 100644 --- a/ubuntu/raring/applications/tdesudo/debian/cdbs/versions.pl +++ b/ubuntu/raring/applications/tdesudo/debian/cdbs/versions.pl @@ -7,7 +7,7 @@ my $version = `dpkg-parsechangelog | awk '/^Version/ {print \$2}'`; my ($version3, $version3_next); my ($version2, $version2_next); -($version3 = $version) =~ s/-[^-]+$//; +($version3 = $version) =~ s/^(([^.]+\.){2}[^.+~-]+)[.+~-]?[^-]*-[^-]+$/$1/; ($version2 = $version3) =~ s/\.[^.]+$//; ($version3_next = $version3) =~ s/(?<=\.)(\d+)[a-z]?$/($1+1)/e; diff --git a/ubuntu/raring/applications/tdesvn/debian/cdbs/versions.pl b/ubuntu/raring/applications/tdesvn/debian/cdbs/versions.pl index 9ce11d8a3..75c9add4b 100644 --- a/ubuntu/raring/applications/tdesvn/debian/cdbs/versions.pl +++ b/ubuntu/raring/applications/tdesvn/debian/cdbs/versions.pl @@ -7,7 +7,7 @@ my $version = `dpkg-parsechangelog | awk '/^Version/ {print \$2}'`; my ($version3, $version3_next); my ($version2, $version2_next); -($version3 = $version) =~ s/-[^-]+$//; +($version3 = $version) =~ s/^(([^.]+\.){2}[^.+~-]+)[.+~-]?[^-]*-[^-]+$/$1/; ($version2 = $version3) =~ s/\.[^.]+$//; ($version3_next = $version3) =~ s/(?<=\.)(\d+)[a-z]?$/($1+1)/e; diff --git a/ubuntu/raring/applications/tdmtheme/debian/cdbs/versions.pl b/ubuntu/raring/applications/tdmtheme/debian/cdbs/versions.pl index 9ce11d8a3..75c9add4b 100644 --- a/ubuntu/raring/applications/tdmtheme/debian/cdbs/versions.pl +++ b/ubuntu/raring/applications/tdmtheme/debian/cdbs/versions.pl @@ -7,7 +7,7 @@ my $version = `dpkg-parsechangelog | awk '/^Version/ {print \$2}'`; my ($version3, $version3_next); my ($version2, $version2_next); -($version3 = $version) =~ s/-[^-]+$//; +($version3 = $version) =~ s/^(([^.]+\.){2}[^.+~-]+)[.+~-]?[^-]*-[^-]+$/$1/; ($version2 = $version3) =~ s/\.[^.]+$//; ($version3_next = $version3) =~ s/(?<=\.)(\d+)[a-z]?$/($1+1)/e; diff --git a/ubuntu/raring/applications/twin-style-crystal/debian/cdbs/versions.pl b/ubuntu/raring/applications/twin-style-crystal/debian/cdbs/versions.pl index 9ce11d8a3..75c9add4b 100644 --- a/ubuntu/raring/applications/twin-style-crystal/debian/cdbs/versions.pl +++ b/ubuntu/raring/applications/twin-style-crystal/debian/cdbs/versions.pl @@ -7,7 +7,7 @@ my $version = `dpkg-parsechangelog | awk '/^Version/ {print \$2}'`; my ($version3, $version3_next); my ($version2, $version2_next); -($version3 = $version) =~ s/-[^-]+$//; +($version3 = $version) =~ s/^(([^.]+\.){2}[^.+~-]+)[.+~-]?[^-]*-[^-]+$/$1/; ($version2 = $version3) =~ s/\.[^.]+$//; ($version3_next = $version3) =~ s/(?<=\.)(\d+)[a-z]?$/($1+1)/e; diff --git a/ubuntu/raring/applications/wlassistant/debian/cdbs/versions.pl b/ubuntu/raring/applications/wlassistant/debian/cdbs/versions.pl index 9ce11d8a3..75c9add4b 100644 --- a/ubuntu/raring/applications/wlassistant/debian/cdbs/versions.pl +++ b/ubuntu/raring/applications/wlassistant/debian/cdbs/versions.pl @@ -7,7 +7,7 @@ my $version = `dpkg-parsechangelog | awk '/^Version/ {print \$2}'`; my ($version3, $version3_next); my ($version2, $version2_next); -($version3 = $version) =~ s/-[^-]+$//; +($version3 = $version) =~ s/^(([^.]+\.){2}[^.+~-]+)[.+~-]?[^-]*-[^-]+$/$1/; ($version2 = $version3) =~ s/\.[^.]+$//; ($version3_next = $version3) =~ s/(?<=\.)(\d+)[a-z]?$/($1+1)/e; diff --git a/ubuntu/raring/applications/yakuake/debian/cdbs/versions.pl b/ubuntu/raring/applications/yakuake/debian/cdbs/versions.pl index 9ce11d8a3..75c9add4b 100644 --- a/ubuntu/raring/applications/yakuake/debian/cdbs/versions.pl +++ b/ubuntu/raring/applications/yakuake/debian/cdbs/versions.pl @@ -7,7 +7,7 @@ my $version = `dpkg-parsechangelog | awk '/^Version/ {print \$2}'`; my ($version3, $version3_next); my ($version2, $version2_next); -($version3 = $version) =~ s/-[^-]+$//; +($version3 = $version) =~ s/^(([^.]+\.){2}[^.+~-]+)[.+~-]?[^-]*-[^-]+$/$1/; ($version2 = $version3) =~ s/\.[^.]+$//; ($version3_next = $version3) =~ s/(?<=\.)(\d+)[a-z]?$/($1+1)/e; diff --git a/ubuntu/raring/dependencies/arts/debian/cdbs/versions.pl b/ubuntu/raring/dependencies/arts/debian/cdbs/versions.pl index 9ce11d8a3..75c9add4b 100644 --- a/ubuntu/raring/dependencies/arts/debian/cdbs/versions.pl +++ b/ubuntu/raring/dependencies/arts/debian/cdbs/versions.pl @@ -7,7 +7,7 @@ my $version = `dpkg-parsechangelog | awk '/^Version/ {print \$2}'`; my ($version3, $version3_next); my ($version2, $version2_next); -($version3 = $version) =~ s/-[^-]+$//; +($version3 = $version) =~ s/^(([^.]+\.){2}[^.+~-]+)[.+~-]?[^-]*-[^-]+$/$1/; ($version2 = $version3) =~ s/\.[^.]+$//; ($version3_next = $version3) =~ s/(?<=\.)(\d+)[a-z]?$/($1+1)/e; diff --git a/ubuntu/raring/kdegraphics.automake/debian/cdbs/versions.pl b/ubuntu/raring/kdegraphics.automake/debian/cdbs/versions.pl index 9ce11d8a3..75c9add4b 100644 --- a/ubuntu/raring/kdegraphics.automake/debian/cdbs/versions.pl +++ b/ubuntu/raring/kdegraphics.automake/debian/cdbs/versions.pl @@ -7,7 +7,7 @@ my $version = `dpkg-parsechangelog | awk '/^Version/ {print \$2}'`; my ($version3, $version3_next); my ($version2, $version2_next); -($version3 = $version) =~ s/-[^-]+$//; +($version3 = $version) =~ s/^(([^.]+\.){2}[^.+~-]+)[.+~-]?[^-]*-[^-]+$/$1/; ($version2 = $version3) =~ s/\.[^.]+$//; ($version3_next = $version3) =~ s/(?<=\.)(\d+)[a-z]?$/($1+1)/e; diff --git a/ubuntu/raring/kdevelop.cmake/debian/cdbs/versions.pl b/ubuntu/raring/kdevelop.cmake/debian/cdbs/versions.pl index 9ce11d8a3..75c9add4b 100644 --- a/ubuntu/raring/kdevelop.cmake/debian/cdbs/versions.pl +++ b/ubuntu/raring/kdevelop.cmake/debian/cdbs/versions.pl @@ -7,7 +7,7 @@ my $version = `dpkg-parsechangelog | awk '/^Version/ {print \$2}'`; my ($version3, $version3_next); my ($version2, $version2_next); -($version3 = $version) =~ s/-[^-]+$//; +($version3 = $version) =~ s/^(([^.]+\.){2}[^.+~-]+)[.+~-]?[^-]*-[^-]+$/$1/; ($version2 = $version3) =~ s/\.[^.]+$//; ($version3_next = $version3) =~ s/(?<=\.)(\d+)[a-z]?$/($1+1)/e; diff --git a/ubuntu/raring/libraries/kipi-plugins/debian/cdbs/versions.pl b/ubuntu/raring/libraries/kipi-plugins/debian/cdbs/versions.pl index 9ce11d8a3..75c9add4b 100644 --- a/ubuntu/raring/libraries/kipi-plugins/debian/cdbs/versions.pl +++ b/ubuntu/raring/libraries/kipi-plugins/debian/cdbs/versions.pl @@ -7,7 +7,7 @@ my $version = `dpkg-parsechangelog | awk '/^Version/ {print \$2}'`; my ($version3, $version3_next); my ($version2, $version2_next); -($version3 = $version) =~ s/-[^-]+$//; +($version3 = $version) =~ s/^(([^.]+\.){2}[^.+~-]+)[.+~-]?[^-]*-[^-]+$/$1/; ($version2 = $version3) =~ s/\.[^.]+$//; ($version3_next = $version3) =~ s/(?<=\.)(\d+)[a-z]?$/($1+1)/e; diff --git a/ubuntu/raring/libraries/libkdcraw/debian/cdbs/versions.pl b/ubuntu/raring/libraries/libkdcraw/debian/cdbs/versions.pl index 9ce11d8a3..75c9add4b 100644 --- a/ubuntu/raring/libraries/libkdcraw/debian/cdbs/versions.pl +++ b/ubuntu/raring/libraries/libkdcraw/debian/cdbs/versions.pl @@ -7,7 +7,7 @@ my $version = `dpkg-parsechangelog | awk '/^Version/ {print \$2}'`; my ($version3, $version3_next); my ($version2, $version2_next); -($version3 = $version) =~ s/-[^-]+$//; +($version3 = $version) =~ s/^(([^.]+\.){2}[^.+~-]+)[.+~-]?[^-]*-[^-]+$/$1/; ($version2 = $version3) =~ s/\.[^.]+$//; ($version3_next = $version3) =~ s/(?<=\.)(\d+)[a-z]?$/($1+1)/e; diff --git a/ubuntu/raring/libraries/libkexiv2/debian/cdbs/versions.pl b/ubuntu/raring/libraries/libkexiv2/debian/cdbs/versions.pl index 9ce11d8a3..75c9add4b 100644 --- a/ubuntu/raring/libraries/libkexiv2/debian/cdbs/versions.pl +++ b/ubuntu/raring/libraries/libkexiv2/debian/cdbs/versions.pl @@ -7,7 +7,7 @@ my $version = `dpkg-parsechangelog | awk '/^Version/ {print \$2}'`; my ($version3, $version3_next); my ($version2, $version2_next); -($version3 = $version) =~ s/-[^-]+$//; +($version3 = $version) =~ s/^(([^.]+\.){2}[^.+~-]+)[.+~-]?[^-]*-[^-]+$/$1/; ($version2 = $version3) =~ s/\.[^.]+$//; ($version3_next = $version3) =~ s/(?<=\.)(\d+)[a-z]?$/($1+1)/e; diff --git a/ubuntu/raring/libraries/libkipi/debian/cdbs/versions.pl b/ubuntu/raring/libraries/libkipi/debian/cdbs/versions.pl index 9ce11d8a3..75c9add4b 100644 --- a/ubuntu/raring/libraries/libkipi/debian/cdbs/versions.pl +++ b/ubuntu/raring/libraries/libkipi/debian/cdbs/versions.pl @@ -7,7 +7,7 @@ my $version = `dpkg-parsechangelog | awk '/^Version/ {print \$2}'`; my ($version3, $version3_next); my ($version2, $version2_next); -($version3 = $version) =~ s/-[^-]+$//; +($version3 = $version) =~ s/^(([^.]+\.){2}[^.+~-]+)[.+~-]?[^-]*-[^-]+$/$1/; ($version2 = $version3) =~ s/\.[^.]+$//; ($version3_next = $version3) =~ s/(?<=\.)(\d+)[a-z]?$/($1+1)/e; diff --git a/ubuntu/raring/tdeaccessibility/debian/cdbs/versions.pl b/ubuntu/raring/tdeaccessibility/debian/cdbs/versions.pl index 9ce11d8a3..75c9add4b 100644 --- a/ubuntu/raring/tdeaccessibility/debian/cdbs/versions.pl +++ b/ubuntu/raring/tdeaccessibility/debian/cdbs/versions.pl @@ -7,7 +7,7 @@ my $version = `dpkg-parsechangelog | awk '/^Version/ {print \$2}'`; my ($version3, $version3_next); my ($version2, $version2_next); -($version3 = $version) =~ s/-[^-]+$//; +($version3 = $version) =~ s/^(([^.]+\.){2}[^.+~-]+)[.+~-]?[^-]*-[^-]+$/$1/; ($version2 = $version3) =~ s/\.[^.]+$//; ($version3_next = $version3) =~ s/(?<=\.)(\d+)[a-z]?$/($1+1)/e; diff --git a/ubuntu/raring/tdeaddons/debian/cdbs/versions.pl b/ubuntu/raring/tdeaddons/debian/cdbs/versions.pl index 9ce11d8a3..75c9add4b 100644 --- a/ubuntu/raring/tdeaddons/debian/cdbs/versions.pl +++ b/ubuntu/raring/tdeaddons/debian/cdbs/versions.pl @@ -7,7 +7,7 @@ my $version = `dpkg-parsechangelog | awk '/^Version/ {print \$2}'`; my ($version3, $version3_next); my ($version2, $version2_next); -($version3 = $version) =~ s/-[^-]+$//; +($version3 = $version) =~ s/^(([^.]+\.){2}[^.+~-]+)[.+~-]?[^-]*-[^-]+$/$1/; ($version2 = $version3) =~ s/\.[^.]+$//; ($version3_next = $version3) =~ s/(?<=\.)(\d+)[a-z]?$/($1+1)/e; diff --git a/ubuntu/raring/tdeadmin/debian/cdbs/versions.pl b/ubuntu/raring/tdeadmin/debian/cdbs/versions.pl index 9ce11d8a3..75c9add4b 100644 --- a/ubuntu/raring/tdeadmin/debian/cdbs/versions.pl +++ b/ubuntu/raring/tdeadmin/debian/cdbs/versions.pl @@ -7,7 +7,7 @@ my $version = `dpkg-parsechangelog | awk '/^Version/ {print \$2}'`; my ($version3, $version3_next); my ($version2, $version2_next); -($version3 = $version) =~ s/-[^-]+$//; +($version3 = $version) =~ s/^(([^.]+\.){2}[^.+~-]+)[.+~-]?[^-]*-[^-]+$/$1/; ($version2 = $version3) =~ s/\.[^.]+$//; ($version3_next = $version3) =~ s/(?<=\.)(\d+)[a-z]?$/($1+1)/e; diff --git a/ubuntu/raring/tdeartwork/debian/cdbs/versions.pl b/ubuntu/raring/tdeartwork/debian/cdbs/versions.pl index 9ce11d8a3..75c9add4b 100644 --- a/ubuntu/raring/tdeartwork/debian/cdbs/versions.pl +++ b/ubuntu/raring/tdeartwork/debian/cdbs/versions.pl @@ -7,7 +7,7 @@ my $version = `dpkg-parsechangelog | awk '/^Version/ {print \$2}'`; my ($version3, $version3_next); my ($version2, $version2_next); -($version3 = $version) =~ s/-[^-]+$//; +($version3 = $version) =~ s/^(([^.]+\.){2}[^.+~-]+)[.+~-]?[^-]*-[^-]+$/$1/; ($version2 = $version3) =~ s/\.[^.]+$//; ($version3_next = $version3) =~ s/(?<=\.)(\d+)[a-z]?$/($1+1)/e; diff --git a/ubuntu/raring/tdebase/debian/cdbs/versions.pl b/ubuntu/raring/tdebase/debian/cdbs/versions.pl index 9ce11d8a3..75c9add4b 100644 --- a/ubuntu/raring/tdebase/debian/cdbs/versions.pl +++ b/ubuntu/raring/tdebase/debian/cdbs/versions.pl @@ -7,7 +7,7 @@ my $version = `dpkg-parsechangelog | awk '/^Version/ {print \$2}'`; my ($version3, $version3_next); my ($version2, $version2_next); -($version3 = $version) =~ s/-[^-]+$//; +($version3 = $version) =~ s/^(([^.]+\.){2}[^.+~-]+)[.+~-]?[^-]*-[^-]+$/$1/; ($version2 = $version3) =~ s/\.[^.]+$//; ($version3_next = $version3) =~ s/(?<=\.)(\d+)[a-z]?$/($1+1)/e; diff --git a/ubuntu/raring/tdebindings/debian/cdbs/versions.pl b/ubuntu/raring/tdebindings/debian/cdbs/versions.pl index 9ce11d8a3..75c9add4b 100644 --- a/ubuntu/raring/tdebindings/debian/cdbs/versions.pl +++ b/ubuntu/raring/tdebindings/debian/cdbs/versions.pl @@ -7,7 +7,7 @@ my $version = `dpkg-parsechangelog | awk '/^Version/ {print \$2}'`; my ($version3, $version3_next); my ($version2, $version2_next); -($version3 = $version) =~ s/-[^-]+$//; +($version3 = $version) =~ s/^(([^.]+\.){2}[^.+~-]+)[.+~-]?[^-]*-[^-]+$/$1/; ($version2 = $version3) =~ s/\.[^.]+$//; ($version3_next = $version3) =~ s/(?<=\.)(\d+)[a-z]?$/($1+1)/e; diff --git a/ubuntu/raring/tdeedu/debian/cdbs/versions.pl b/ubuntu/raring/tdeedu/debian/cdbs/versions.pl index 9ce11d8a3..75c9add4b 100644 --- a/ubuntu/raring/tdeedu/debian/cdbs/versions.pl +++ b/ubuntu/raring/tdeedu/debian/cdbs/versions.pl @@ -7,7 +7,7 @@ my $version = `dpkg-parsechangelog | awk '/^Version/ {print \$2}'`; my ($version3, $version3_next); my ($version2, $version2_next); -($version3 = $version) =~ s/-[^-]+$//; +($version3 = $version) =~ s/^(([^.]+\.){2}[^.+~-]+)[.+~-]?[^-]*-[^-]+$/$1/; ($version2 = $version3) =~ s/\.[^.]+$//; ($version3_next = $version3) =~ s/(?<=\.)(\d+)[a-z]?$/($1+1)/e; diff --git a/ubuntu/raring/tdegames/debian/cdbs/versions.pl b/ubuntu/raring/tdegames/debian/cdbs/versions.pl index 9ce11d8a3..75c9add4b 100644 --- a/ubuntu/raring/tdegames/debian/cdbs/versions.pl +++ b/ubuntu/raring/tdegames/debian/cdbs/versions.pl @@ -7,7 +7,7 @@ my $version = `dpkg-parsechangelog | awk '/^Version/ {print \$2}'`; my ($version3, $version3_next); my ($version2, $version2_next); -($version3 = $version) =~ s/-[^-]+$//; +($version3 = $version) =~ s/^(([^.]+\.){2}[^.+~-]+)[.+~-]?[^-]*-[^-]+$/$1/; ($version2 = $version3) =~ s/\.[^.]+$//; ($version3_next = $version3) =~ s/(?<=\.)(\d+)[a-z]?$/($1+1)/e; diff --git a/ubuntu/raring/tdegraphics/debian/cdbs/versions.pl b/ubuntu/raring/tdegraphics/debian/cdbs/versions.pl index 9ce11d8a3..75c9add4b 100644 --- a/ubuntu/raring/tdegraphics/debian/cdbs/versions.pl +++ b/ubuntu/raring/tdegraphics/debian/cdbs/versions.pl @@ -7,7 +7,7 @@ my $version = `dpkg-parsechangelog | awk '/^Version/ {print \$2}'`; my ($version3, $version3_next); my ($version2, $version2_next); -($version3 = $version) =~ s/-[^-]+$//; +($version3 = $version) =~ s/^(([^.]+\.){2}[^.+~-]+)[.+~-]?[^-]*-[^-]+$/$1/; ($version2 = $version3) =~ s/\.[^.]+$//; ($version3_next = $version3) =~ s/(?<=\.)(\d+)[a-z]?$/($1+1)/e; diff --git a/ubuntu/raring/tdelibs/debian/cdbs/versions.pl b/ubuntu/raring/tdelibs/debian/cdbs/versions.pl index 9ce11d8a3..75c9add4b 100644 --- a/ubuntu/raring/tdelibs/debian/cdbs/versions.pl +++ b/ubuntu/raring/tdelibs/debian/cdbs/versions.pl @@ -7,7 +7,7 @@ my $version = `dpkg-parsechangelog | awk '/^Version/ {print \$2}'`; my ($version3, $version3_next); my ($version2, $version2_next); -($version3 = $version) =~ s/-[^-]+$//; +($version3 = $version) =~ s/^(([^.]+\.){2}[^.+~-]+)[.+~-]?[^-]*-[^-]+$/$1/; ($version2 = $version3) =~ s/\.[^.]+$//; ($version3_next = $version3) =~ s/(?<=\.)(\d+)[a-z]?$/($1+1)/e; diff --git a/ubuntu/raring/tdemultimedia/debian/cdbs/versions.pl b/ubuntu/raring/tdemultimedia/debian/cdbs/versions.pl index 9ce11d8a3..75c9add4b 100644 --- a/ubuntu/raring/tdemultimedia/debian/cdbs/versions.pl +++ b/ubuntu/raring/tdemultimedia/debian/cdbs/versions.pl @@ -7,7 +7,7 @@ my $version = `dpkg-parsechangelog | awk '/^Version/ {print \$2}'`; my ($version3, $version3_next); my ($version2, $version2_next); -($version3 = $version) =~ s/-[^-]+$//; +($version3 = $version) =~ s/^(([^.]+\.){2}[^.+~-]+)[.+~-]?[^-]*-[^-]+$/$1/; ($version2 = $version3) =~ s/\.[^.]+$//; ($version3_next = $version3) =~ s/(?<=\.)(\d+)[a-z]?$/($1+1)/e; diff --git a/ubuntu/raring/tdenetwork/debian/cdbs/versions.pl b/ubuntu/raring/tdenetwork/debian/cdbs/versions.pl index 9ce11d8a3..75c9add4b 100644 --- a/ubuntu/raring/tdenetwork/debian/cdbs/versions.pl +++ b/ubuntu/raring/tdenetwork/debian/cdbs/versions.pl @@ -7,7 +7,7 @@ my $version = `dpkg-parsechangelog | awk '/^Version/ {print \$2}'`; my ($version3, $version3_next); my ($version2, $version2_next); -($version3 = $version) =~ s/-[^-]+$//; +($version3 = $version) =~ s/^(([^.]+\.){2}[^.+~-]+)[.+~-]?[^-]*-[^-]+$/$1/; ($version2 = $version3) =~ s/\.[^.]+$//; ($version3_next = $version3) =~ s/(?<=\.)(\d+)[a-z]?$/($1+1)/e; diff --git a/ubuntu/raring/tdepim/debian/cdbs/versions.pl b/ubuntu/raring/tdepim/debian/cdbs/versions.pl index 9ce11d8a3..75c9add4b 100644 --- a/ubuntu/raring/tdepim/debian/cdbs/versions.pl +++ b/ubuntu/raring/tdepim/debian/cdbs/versions.pl @@ -7,7 +7,7 @@ my $version = `dpkg-parsechangelog | awk '/^Version/ {print \$2}'`; my ($version3, $version3_next); my ($version2, $version2_next); -($version3 = $version) =~ s/-[^-]+$//; +($version3 = $version) =~ s/^(([^.]+\.){2}[^.+~-]+)[.+~-]?[^-]*-[^-]+$/$1/; ($version2 = $version3) =~ s/\.[^.]+$//; ($version3_next = $version3) =~ s/(?<=\.)(\d+)[a-z]?$/($1+1)/e; diff --git a/ubuntu/raring/tdesdk/debian/cdbs/versions.pl b/ubuntu/raring/tdesdk/debian/cdbs/versions.pl index 9ce11d8a3..75c9add4b 100644 --- a/ubuntu/raring/tdesdk/debian/cdbs/versions.pl +++ b/ubuntu/raring/tdesdk/debian/cdbs/versions.pl @@ -7,7 +7,7 @@ my $version = `dpkg-parsechangelog | awk '/^Version/ {print \$2}'`; my ($version3, $version3_next); my ($version2, $version2_next); -($version3 = $version) =~ s/-[^-]+$//; +($version3 = $version) =~ s/^(([^.]+\.){2}[^.+~-]+)[.+~-]?[^-]*-[^-]+$/$1/; ($version2 = $version3) =~ s/\.[^.]+$//; ($version3_next = $version3) =~ s/(?<=\.)(\d+)[a-z]?$/($1+1)/e; diff --git a/ubuntu/raring/tdetoys/debian/cdbs/versions.pl b/ubuntu/raring/tdetoys/debian/cdbs/versions.pl index 9ce11d8a3..75c9add4b 100644 --- a/ubuntu/raring/tdetoys/debian/cdbs/versions.pl +++ b/ubuntu/raring/tdetoys/debian/cdbs/versions.pl @@ -7,7 +7,7 @@ my $version = `dpkg-parsechangelog | awk '/^Version/ {print \$2}'`; my ($version3, $version3_next); my ($version2, $version2_next); -($version3 = $version) =~ s/-[^-]+$//; +($version3 = $version) =~ s/^(([^.]+\.){2}[^.+~-]+)[.+~-]?[^-]*-[^-]+$/$1/; ($version2 = $version3) =~ s/\.[^.]+$//; ($version3_next = $version3) =~ s/(?<=\.)(\d+)[a-z]?$/($1+1)/e; diff --git a/ubuntu/raring/tdeutils/debian/cdbs/versions.pl b/ubuntu/raring/tdeutils/debian/cdbs/versions.pl index 9ce11d8a3..75c9add4b 100644 --- a/ubuntu/raring/tdeutils/debian/cdbs/versions.pl +++ b/ubuntu/raring/tdeutils/debian/cdbs/versions.pl @@ -7,7 +7,7 @@ my $version = `dpkg-parsechangelog | awk '/^Version/ {print \$2}'`; my ($version3, $version3_next); my ($version2, $version2_next); -($version3 = $version) =~ s/-[^-]+$//; +($version3 = $version) =~ s/^(([^.]+\.){2}[^.+~-]+)[.+~-]?[^-]*-[^-]+$/$1/; ($version2 = $version3) =~ s/\.[^.]+$//; ($version3_next = $version3) =~ s/(?<=\.)(\d+)[a-z]?$/($1+1)/e; diff --git a/ubuntu/raring/tdevelop/debian/cdbs/versions.pl b/ubuntu/raring/tdevelop/debian/cdbs/versions.pl index 9ce11d8a3..75c9add4b 100644 --- a/ubuntu/raring/tdevelop/debian/cdbs/versions.pl +++ b/ubuntu/raring/tdevelop/debian/cdbs/versions.pl @@ -7,7 +7,7 @@ my $version = `dpkg-parsechangelog | awk '/^Version/ {print \$2}'`; my ($version3, $version3_next); my ($version2, $version2_next); -($version3 = $version) =~ s/-[^-]+$//; +($version3 = $version) =~ s/^(([^.]+\.){2}[^.+~-]+)[.+~-]?[^-]*-[^-]+$/$1/; ($version2 = $version3) =~ s/\.[^.]+$//; ($version3_next = $version3) =~ s/(?<=\.)(\d+)[a-z]?$/($1+1)/e; diff --git a/ubuntu/raring/tdewebdev/debian/cdbs/versions.pl b/ubuntu/raring/tdewebdev/debian/cdbs/versions.pl index 9ce11d8a3..75c9add4b 100644 --- a/ubuntu/raring/tdewebdev/debian/cdbs/versions.pl +++ b/ubuntu/raring/tdewebdev/debian/cdbs/versions.pl @@ -7,7 +7,7 @@ my $version = `dpkg-parsechangelog | awk '/^Version/ {print \$2}'`; my ($version3, $version3_next); my ($version2, $version2_next); -($version3 = $version) =~ s/-[^-]+$//; +($version3 = $version) =~ s/^(([^.]+\.){2}[^.+~-]+)[.+~-]?[^-]*-[^-]+$/$1/; ($version2 = $version3) =~ s/\.[^.]+$//; ($version3_next = $version3) =~ s/(?<=\.)(\d+)[a-z]?$/($1+1)/e; |