From 6e70fa33ca99b1020f68a09481317b854e31de66 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sl=C3=A1vek=20Banko?= Date: Sun, 21 Apr 2013 19:42:09 +0200 Subject: Cutting off the fourth number, or preliminary version number in counting versions for dependencies on Debian and Ubuntu --- ubuntu/precise/applications/abakus/debian/cdbs/versions.pl | 2 +- ubuntu/precise/applications/adept/debian/cdbs/versions.pl | 2 +- ubuntu/precise/applications/amarok.cmake/debian/cdbs/versions.pl | 2 +- ubuntu/precise/applications/amarok/debian/cdbs/versions.pl | 2 +- ubuntu/precise/applications/bibletime/debian/cdbs/versions.pl | 2 +- .../applications/compizconfig-backend-tdeconfig/debian/cdbs/versions.pl | 2 +- ubuntu/precise/applications/digikam/debian/cdbs/versions.pl | 2 +- ubuntu/precise/applications/dolphin/debian/cdbs/versions.pl | 2 +- ubuntu/precise/applications/filelight-l10n/debian/cdbs/versions.pl | 2 +- ubuntu/precise/applications/filelight/debian/cdbs/versions.pl | 2 +- ubuntu/precise/applications/gtk-qt-engine/debian/cdbs/versions.pl | 2 +- ubuntu/precise/applications/gwenview-i18n/debian/cdbs/versions.pl | 2 +- ubuntu/precise/applications/gwenview/debian/cdbs/versions.pl | 2 +- ubuntu/precise/applications/k3b/debian/cdbs/versions.pl | 2 +- ubuntu/precise/applications/k9copy/debian/cdbs/versions.pl | 2 +- ubuntu/precise/applications/kaffeine/debian/cdbs/versions.pl | 2 +- ubuntu/precise/applications/katapult/debian/cdbs/versions.pl | 2 +- ubuntu/precise/applications/kbarcode/debian/cdbs/versions.pl | 2 +- ubuntu/precise/applications/kbookreader/debian/cdbs/versions.pl | 2 +- ubuntu/precise/applications/kcpuload/debian/cdbs/versions.pl | 2 +- ubuntu/precise/applications/kdbusnotification/debian/cdbs/versions.pl | 2 +- ubuntu/precise/applications/kdiff3/debian/cdbs/versions.pl | 2 +- ubuntu/precise/applications/kdirstat/debian/cdbs/versions.pl | 2 +- ubuntu/precise/applications/keep/debian/cdbs/versions.pl | 2 +- ubuntu/precise/applications/kerry/debian/cdbs/versions.pl | 2 +- ubuntu/precise/applications/kgtk-qt3/debian/cdbs/versions.pl | 2 +- ubuntu/precise/applications/kile/debian/cdbs/versions.pl | 2 +- ubuntu/precise/applications/kiosktool/debian/cdbs/versions.pl | 2 +- ubuntu/precise/applications/kmplayer/debian/cdbs/versions.pl | 2 +- ubuntu/precise/applications/kmymoney/debian/cdbs/versions.pl | 2 +- ubuntu/precise/applications/knemo/debian/cdbs/versions.pl | 2 +- ubuntu/precise/applications/knetstats/debian/cdbs/versions.pl | 2 +- .../precise/applications/knetworkmanager.cmake/debian/cdbs/versions.pl | 2 +- ubuntu/precise/applications/knetworkmanager8/debian/cdbs/versions.pl | 2 +- ubuntu/precise/applications/knetworkmanager9/debian/cdbs/versions.pl | 2 +- ubuntu/precise/applications/koffice/debian/cdbs/versions.pl | 2 +- ubuntu/precise/applications/konversation/debian/cdbs/versions.pl | 2 +- ubuntu/precise/applications/kopete-otr/debian/cdbs/versions.pl | 2 +- ubuntu/precise/applications/kpilot/debian/cdbs/versions.pl | 2 +- ubuntu/precise/applications/kpowersave-nohal/debian/cdbs/versions.pl | 2 +- ubuntu/precise/applications/kpowersave.cmake/debian/cdbs/versions.pl | 2 +- ubuntu/precise/applications/kpowersave/debian/cdbs/versions.pl | 2 +- ubuntu/precise/applications/krename/debian/cdbs/versions.pl | 2 +- ubuntu/precise/applications/krusader/debian/cdbs/versions.pl | 2 +- ubuntu/precise/applications/ksystemlog/debian/cdbs/versions.pl | 2 +- ubuntu/precise/applications/ktorrent/debian/cdbs/versions.pl | 2 +- ubuntu/precise/applications/kuickshow/debian/cdbs/versions.pl | 2 +- ubuntu/precise/applications/kvkbd/debian/cdbs/versions.pl | 2 +- ubuntu/precise/applications/rosegarden/debian/cdbs/versions.pl | 2 +- ubuntu/precise/applications/smb4k/debian/cdbs/versions.pl | 2 +- ubuntu/precise/applications/soundkonverter/debian/cdbs/versions.pl | 2 +- ubuntu/precise/applications/tde-style-qtcurve/debian/cdbs/versions.pl | 2 +- ubuntu/precise/applications/tde-systemsettings/debian/cdbs/versions.pl | 2 +- ubuntu/precise/applications/tdeio-apt/debian/cdbs/versions.pl | 2 +- ubuntu/precise/applications/tdeio-locate/debian/cdbs/versions.pl | 2 +- ubuntu/precise/applications/tdeio-umountwrapper/debian/cdbs/versions.pl | 2 +- ubuntu/precise/applications/tdesudo/debian/cdbs/versions.pl | 2 +- ubuntu/precise/applications/tdesvn/debian/cdbs/versions.pl | 2 +- ubuntu/precise/applications/tdmtheme/debian/cdbs/versions.pl | 2 +- ubuntu/precise/applications/twin-style-crystal/debian/cdbs/versions.pl | 2 +- ubuntu/precise/applications/wlassistant/debian/cdbs/versions.pl | 2 +- ubuntu/precise/applications/yakuake/debian/cdbs/versions.pl | 2 +- 62 files changed, 62 insertions(+), 62 deletions(-) (limited to 'ubuntu/precise/applications') 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; -- cgit v1.2.3