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/maverick/applications/abakus/debian/cdbs/versions.pl | 2 +- ubuntu/maverick/applications/adept/debian/cdbs/versions.pl | 2 +- ubuntu/maverick/applications/amarok.cmake/debian/cdbs/versions.pl | 2 +- ubuntu/maverick/applications/amarok/debian/cdbs/versions.pl | 2 +- ubuntu/maverick/applications/bibletime/debian/cdbs/versions.pl | 2 +- .../applications/compizconfig-backend-tdeconfig/debian/cdbs/versions.pl | 2 +- ubuntu/maverick/applications/digikam/debian/cdbs/versions.pl | 2 +- ubuntu/maverick/applications/dolphin/debian/cdbs/versions.pl | 2 +- ubuntu/maverick/applications/filelight-l10n/debian/cdbs/versions.pl | 2 +- ubuntu/maverick/applications/filelight/debian/cdbs/versions.pl | 2 +- ubuntu/maverick/applications/gtk-qt-engine/debian/cdbs/versions.pl | 2 +- ubuntu/maverick/applications/gwenview-i18n/debian/cdbs/versions.pl | 2 +- ubuntu/maverick/applications/gwenview/debian/cdbs/versions.pl | 2 +- ubuntu/maverick/applications/k3b/debian/cdbs/versions.pl | 2 +- ubuntu/maverick/applications/k9copy/debian/cdbs/versions.pl | 2 +- ubuntu/maverick/applications/kaffeine/debian/cdbs/versions.pl | 2 +- ubuntu/maverick/applications/katapult/debian/cdbs/versions.pl | 2 +- ubuntu/maverick/applications/kbarcode/debian/cdbs/versions.pl | 2 +- ubuntu/maverick/applications/kbookreader/debian/cdbs/versions.pl | 2 +- ubuntu/maverick/applications/kcpuload/debian/cdbs/versions.pl | 2 +- ubuntu/maverick/applications/kdbusnotification/debian/cdbs/versions.pl | 2 +- ubuntu/maverick/applications/kdiff3/debian/cdbs/versions.pl | 2 +- ubuntu/maverick/applications/kdirstat/debian/cdbs/versions.pl | 2 +- ubuntu/maverick/applications/keep/debian/cdbs/versions.pl | 2 +- ubuntu/maverick/applications/kerry/debian/cdbs/versions.pl | 2 +- ubuntu/maverick/applications/kgtk-qt3/debian/cdbs/versions.pl | 2 +- ubuntu/maverick/applications/kile/debian/cdbs/versions.pl | 2 +- ubuntu/maverick/applications/kiosktool/debian/cdbs/versions.pl | 2 +- ubuntu/maverick/applications/kmplayer/debian/cdbs/versions.pl | 2 +- ubuntu/maverick/applications/kmymoney/debian/cdbs/versions.pl | 2 +- ubuntu/maverick/applications/knemo/debian/cdbs/versions.pl | 2 +- ubuntu/maverick/applications/knetstats/debian/cdbs/versions.pl | 2 +- .../maverick/applications/knetworkmanager.cmake/debian/cdbs/versions.pl | 2 +- ubuntu/maverick/applications/knetworkmanager8/debian/cdbs/versions.pl | 2 +- ubuntu/maverick/applications/knetworkmanager9/debian/cdbs/versions.pl | 2 +- ubuntu/maverick/applications/koffice/debian/cdbs/versions.pl | 2 +- ubuntu/maverick/applications/konversation/debian/cdbs/versions.pl | 2 +- ubuntu/maverick/applications/kopete-otr/debian/cdbs/versions.pl | 2 +- ubuntu/maverick/applications/kpilot/debian/cdbs/versions.pl | 2 +- ubuntu/maverick/applications/kpowersave-nohal/debian/cdbs/versions.pl | 2 +- ubuntu/maverick/applications/kpowersave.cmake/debian/cdbs/versions.pl | 2 +- ubuntu/maverick/applications/kpowersave/debian/cdbs/versions.pl | 2 +- ubuntu/maverick/applications/krename/debian/cdbs/versions.pl | 2 +- ubuntu/maverick/applications/krusader/debian/cdbs/versions.pl | 2 +- ubuntu/maverick/applications/ksystemlog/debian/cdbs/versions.pl | 2 +- ubuntu/maverick/applications/ktorrent/debian/cdbs/versions.pl | 2 +- ubuntu/maverick/applications/kuickshow/debian/cdbs/versions.pl | 2 +- ubuntu/maverick/applications/kvkbd/debian/cdbs/versions.pl | 2 +- ubuntu/maverick/applications/rosegarden/debian/cdbs/versions.pl | 2 +- ubuntu/maverick/applications/smb4k/debian/cdbs/versions.pl | 2 +- ubuntu/maverick/applications/soundkonverter/debian/cdbs/versions.pl | 2 +- ubuntu/maverick/applications/tde-style-qtcurve/debian/cdbs/versions.pl | 2 +- ubuntu/maverick/applications/tde-systemsettings/debian/cdbs/versions.pl | 2 +- ubuntu/maverick/applications/tdeio-apt/debian/cdbs/versions.pl | 2 +- ubuntu/maverick/applications/tdeio-locate/debian/cdbs/versions.pl | 2 +- .../maverick/applications/tdeio-umountwrapper/debian/cdbs/versions.pl | 2 +- ubuntu/maverick/applications/tdesudo/debian/cdbs/versions.pl | 2 +- ubuntu/maverick/applications/tdesvn/debian/cdbs/versions.pl | 2 +- ubuntu/maverick/applications/tdmtheme/debian/cdbs/versions.pl | 2 +- ubuntu/maverick/applications/twin-style-crystal/debian/cdbs/versions.pl | 2 +- ubuntu/maverick/applications/wlassistant/debian/cdbs/versions.pl | 2 +- ubuntu/maverick/applications/yakuake/debian/cdbs/versions.pl | 2 +- ubuntu/maverick/dependencies/arts/debian/cdbs/versions.pl | 2 +- ubuntu/maverick/kdegraphics.automake/debian/cdbs/versions.pl | 2 +- ubuntu/maverick/kdevelop.cmake/debian/cdbs/versions.pl | 2 +- ubuntu/maverick/libraries/kipi-plugins/debian/cdbs/versions.pl | 2 +- ubuntu/maverick/libraries/libkdcraw/debian/cdbs/versions.pl | 2 +- ubuntu/maverick/libraries/libkexiv2/debian/cdbs/versions.pl | 2 +- ubuntu/maverick/libraries/libkipi/debian/cdbs/versions.pl | 2 +- ubuntu/maverick/tdeaccessibility/debian/cdbs/versions.pl | 2 +- ubuntu/maverick/tdeaddons/debian/cdbs/versions.pl | 2 +- ubuntu/maverick/tdeadmin/debian/cdbs/versions.pl | 2 +- ubuntu/maverick/tdeartwork/debian/cdbs/versions.pl | 2 +- ubuntu/maverick/tdebase/debian/cdbs/versions.pl | 2 +- ubuntu/maverick/tdebindings/debian/cdbs/versions.pl | 2 +- ubuntu/maverick/tdeedu/debian/cdbs/versions.pl | 2 +- ubuntu/maverick/tdegames/debian/cdbs/versions.pl | 2 +- ubuntu/maverick/tdegraphics/debian/cdbs/versions.pl | 2 +- ubuntu/maverick/tdelibs/debian/cdbs/versions.pl | 2 +- ubuntu/maverick/tdemultimedia/debian/cdbs/versions.pl | 2 +- ubuntu/maverick/tdenetwork/debian/cdbs/versions.pl | 2 +- ubuntu/maverick/tdepim/debian/cdbs/versions.pl | 2 +- ubuntu/maverick/tdesdk/debian/cdbs/versions.pl | 2 +- ubuntu/maverick/tdetoys/debian/cdbs/versions.pl | 2 +- ubuntu/maverick/tdeutils/debian/cdbs/versions.pl | 2 +- ubuntu/maverick/tdevelop/debian/cdbs/versions.pl | 2 +- ubuntu/maverick/tdewebdev/debian/cdbs/versions.pl | 2 +- 87 files changed, 87 insertions(+), 87 deletions(-) (limited to 'ubuntu/maverick') 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; -- cgit v1.2.1