Your message dated Wed, 27 May 2015 08:59:01 +0200
with message-id <[email protected]>
and subject line Re: Bug#786945: FTBS with python-rpm 4.12.0.1
has caused the Debian Bug report #786945,
regarding FTBS with python-rpm 4.12.0.1
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)


-- 
786945: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=786945
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: git-buildpackage
Version: 0.6.28
Severity: important
Tags: patch

In the latest version of python-rpm in sid, support for the experimental
Collections tag in spec files has been dropped, so git-buildpackage
fails to build if DEB_BUILD_OPTIONS does not specify nocheck.

My fix forces this tag to be ignored.  I'm not sure if it would be
preferable to remove the Collections tag from test cases completely.

Best regards,

Carlos

-- System Information:
Debian Release: stretch/sid
  APT prefers unstable
  APT policy: (990, 'unstable'), (500, 'testing'), (1, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 3.16.0-4-amd64 (SMP w/2 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages git-buildpackage depends on:
ii  devscripts            2.15.4
ii  git                   1:2.1.4-2.1
ii  man-db                2.7.0.2-5
ii  python                2.7.9-1
ii  python-dateutil       2.2-2
ii  python-pkg-resources  16.0-2
ii  python-six            1.9.0-3

Versions of packages git-buildpackage recommends:
ii  cowbuilder       0.73
ii  pristine-tar     1.33
ii  python-requests  2.4.3-6

Versions of packages git-buildpackage suggests:
ii  python-notify  0.1.1-4
ii  unzip          6.0-17

-- no debconf information
>From f200f0786856e49269249a8021335b8119ee9b14 Mon Sep 17 00:00:00 2001
From: Carlos Maddela <[email protected]>
Date: Wed, 27 May 2015 04:09:35 +1000
Subject: [PATCH] Fixed FTBS with python-rpm 4.12.0.1, since support for
 experimental Collections tag in spec files has been dropped.

---
 gbp/rpm/__init__.py | 5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)

diff --git a/gbp/rpm/__init__.py b/gbp/rpm/__init__.py
index 5784a7a..5df101e 100644
--- a/gbp/rpm/__init__.py
+++ b/gbp/rpm/__init__.py
@@ -144,15 +144,14 @@ class SpecFile(object):
 
         # Use rpm-python to parse the spec file content
         self._filtertags = ("excludearch", "excludeos", "exclusivearch",
-                            "exclusiveos","buildarch")
+                            "exclusiveos", "buildarch", "collections")
         self._listtags = self._filtertags + ('source', 'patch',
                                   'requires', 'conflicts', 'recommends',
                                   'suggests', 'supplements', 'enhances',
                                   'provides', 'obsoletes', 'buildrequires',
                                   'buildconflicts', 'buildrecommends',
                                   'buildsuggests', 'buildsupplements',
-                                  'buildenhances', 'collections',
-                                  'nosource', 'nopatch')
+                                  'buildenhances', 'nosource', 'nopatch')
         self._specinfo = self._parse_filtered_spec(self._filtertags)
 
         # Other initializations
-- 
2.1.4


--- End Message ---
--- Begin Message ---
Version: 0.6.29

On Wed, May 27, 2015 at 01:45:35PM +1000, Carlos Maddela wrote:
> Package: git-buildpackage
> Version: 0.6.28
> Severity: important
> Tags: patch
> 
> In the latest version of python-rpm in sid, support for the experimental
> Collections tag in spec files has been dropped, so git-buildpackage
> fails to build if DEB_BUILD_OPTIONS does not specify nocheck.
> 
> My fix forces this tag to be ignored.  I'm not sure if it would be
> preferable to remove the Collections tag from test cases completely.

You're a couple of minutes late, already fixed in 0.6.29. But thanks for
the patch!
 -- Guido

--- End Message ---

Reply via email to