rpms/hellanzb/F-9 hellanzb-0.13-dont-attempt-multiple-groups.diff, NONE, 1.1 hellanzb.spec, 1.1, 1.2
Conrad Meyer
konradm at fedoraproject.org
Thu Oct 16 15:49:24 UTC 2008
Author: konradm
Update of /cvs/pkgs/rpms/hellanzb/F-9
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv9695
Modified Files:
hellanzb.spec
Added Files:
hellanzb-0.13-dont-attempt-multiple-groups.diff
Log Message:
Patch to do multiple groups ok
hellanzb-0.13-dont-attempt-multiple-groups.diff:
--- NEW FILE hellanzb-0.13-dont-attempt-multiple-groups.diff ---
--- Hellanzb/NZBLeecher/NZBParser.py.orig 2008-10-15 20:05:11.000000000 -0700
+++ Hellanzb/NZBLeecher/NZBParser.py 2008-10-15 20:10:32.000000000 -0700
@@ -148,11 +148,12 @@
self.file = None
self.fileNeedsDownload = None
elif name == 'group':
newsgroup = self.parseUnicode(''.join(self.chars))
- self.file.groups.append(newsgroup)
+ #self.file.groups.append(newsgroup)
+ self.file.group = newsgroup
self.chars = None
elif name == 'segment':
if self.number in self.segmentNumbers:
Index: hellanzb.spec
===================================================================
RCS file: /cvs/pkgs/rpms/hellanzb/F-9/hellanzb.spec,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- hellanzb.spec 10 Aug 2008 15:38:56 -0000 1.1
+++ hellanzb.spec 16 Oct 2008 15:48:54 -0000 1.2
@@ -2,7 +2,7 @@
Name: hellanzb
Version: 0.13
-Release: 5%{?dist}
+Release: 6%{?dist}
Summary: Hands-free nzb downloader and post processor
Group: Applications/Internet
@@ -17,6 +17,9 @@
Patch1: hellanzb-unrar-is-optional.patch
# Remove a bogus shebang from a library that rpmlint doesn't like.
Patch2: hellanzb-remove-bogus-shebang.patch
+# Multiple group support is broken, so only take the last one
+# See: https://bugzilla.redhat.com/show_bug.cgi?id=467032
+Patch3: hellanzb-0.13-dont-attempt-multiple-groups.diff
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildRequires: python-devel
BuildRequires: python-setuptools
@@ -43,6 +46,7 @@
sed --in-place 's|\*PKGNAME\*|%{name}|' Hellanzb/Core.py
%patch1
%patch2
+%patch3
%build
@@ -73,6 +77,9 @@
%changelog
+* Wed Oct 15 2008 Conrad Meyer <konrad at tylerc.org> - 0.13-6
+- Don't allow multiple groups as support for that is broken.
+
* Wed Aug 6 2008 Conrad Meyer <konrad at tylerc.org> - 0.13-5
- Re-seperated unrar and configuration patches.
More information about the fedora-extras-commits
mailing list