[SCM] Debian Qt/KDE packaging tools branch, master, updated. debian/0.6.4

Modestas Vainius modax at alioth.debian.org
Tue Feb 16 00:57:02 UTC 2010


The following commit has been merged in the master branch:
commit a781c49723da636c1010584bc46e9923f27888b4
Author: Modestas Vainius <modestas at vainius.eu>
Date:   Tue Feb 16 02:46:38 2010 +0200

    `pkgkde-symbolshelper create`: make it work with a single input symbol file.
---
 debian/changelog                                   |    2 ++
 .../PkgKde/SymbolsHelper/SymbolFileCollection.pm   |    5 ++---
 2 files changed, 4 insertions(+), 3 deletions(-)

diff --git a/debian/changelog b/debian/changelog
index 510a6eb..e4e99d9 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -2,6 +2,8 @@ pkg-kde-tools (0.6.4~pre1) UNRELEASED; urgency=low
 
   * Add -q option to pkgkde-gensymbols. -c0 will never fail but still generate
     a diff. Use -c0 -q to keep pkgkde-gensymbols completely quiet as before.
+  * `pkgkde-symbolshelper create`: make it work with a single input symbol
+    file.
 
  -- Modestas Vainius <modax at debian.org>  Tue, 16 Feb 2010 01:33:48 +0200
 
diff --git a/symbolshelper/Debian/PkgKde/SymbolsHelper/SymbolFileCollection.pm b/symbolshelper/Debian/PkgKde/SymbolsHelper/SymbolFileCollection.pm
index ef3a682..64bf2c1 100644
--- a/symbolshelper/Debian/PkgKde/SymbolsHelper/SymbolFileCollection.pm
+++ b/symbolshelper/Debian/PkgKde/SymbolsHelper/SymbolFileCollection.pm
@@ -121,6 +121,8 @@ sub add_confirmed_arches {
     push @{$self->{versions}{$self->get_symfile()->get_confirmed_version()}},
 	@arches;
     push @{$self->{confirmed_arches}}, @arches;
+    $self->{latest} = $self->get_symfile()->get_confirmed_version()
+	unless defined $self->{latest};
 }
 
 sub get_confirmed_arches {
@@ -205,12 +207,9 @@ sub select_group {
 sub create_template {
     my ($self, %opts) = @_;
 
-    return undef unless $self->get_symfiles();
-
     my $orig = $self->get_symfile();
     my $orig_arch = $orig->get_arch();
     my $template = $orig->fork_empty();
-    my $symfiles = $self->{symfiles};
 
     # Prepare original template and other arch specific symbol files (virtual
     # table stuff etc.).

-- 
Debian Qt/KDE packaging tools



More information about the pkg-kde-commits mailing list