rpms/banshee/F-9 banshee-1-1.4.2-podcast.patch, NONE, 1.1 banshee.spec, 1.59, 1.60

Michel Alexandre Salim salimma at fedoraproject.org
Thu Feb 12 04:14:57 UTC 2009


Author: salimma

Update of /cvs/pkgs/rpms/banshee/F-9
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv473/F-9

Modified Files:
	banshee.spec 
Added Files:
	banshee-1-1.4.2-podcast.patch 
Log Message:
* Tue Feb 10 2009 Michel Salim <salimma at fedoraproject.org> - 1.4.2-2
- Patch to correct timezone handling for podcasts (bz #484766)


banshee-1-1.4.2-podcast.patch:

--- NEW FILE banshee-1-1.4.2-podcast.patch ---
Index: src/Libraries/Migo/Migo.Syndication/Rfc822DateTime.cs
===================================================================
--- src/Libraries/Migo/Migo.Syndication/Rfc822DateTime.cs	(revision 5017)
+++ src/Libraries/Migo/Migo.Syndication/Rfc822DateTime.cs	(revision 5018)
@@ -94,7 +94,7 @@
 				ret = new DateTime (year, month, day, hours, minutes, seconds);
                                 
                 if (timeZone != String.Empty) {
-                    ret += ParseGmtOffset (timeZone);
+                    ret -= ParseGmtOffset (timeZone);
                 }
 				
                 return ret.ToLocalTime ();
Index: src/Libraries/Migo/Migo.Syndication/Tests/XmlTests.cs
===================================================================
--- src/Libraries/Migo/Migo.Syndication/Tests/XmlTests.cs	(revision 5017)
+++ src/Libraries/Migo/Migo.Syndication/Tests/XmlTests.cs	(revision 5018)
@@ -43,16 +43,17 @@
         [Test]
         public void TestParseDates ()
         {
+            // The local timezone for tests is America/Chicago (UTC -06:00)
             TransformPair<string, DateTime> [] pairs = TransformPair<string, DateTime>.GetFrom (
-                "Fri, 22 Feb 2008 16:00:00 EST",        DateTime.Parse ("22/02/2008 5.00.00"),
-                "Fri, 15 Feb 2008 4:10:00 EST",         DateTime.Parse ("14/02/2008 17.10.00"),
-                "Tue, 08 Apr 2008 03:37:04 -0400",      DateTime.Parse ("07/04/2008 18.37.04"),
-                "Tue, 26 Feb 2008 03:28:51 -0500",      DateTime.Parse ("25/02/2008 16.28.51"),
-                "Sun, 11 May 2008 01:33:26 -0400",      DateTime.Parse ("10/05/2008 16.33.26"),
-                "Fri, 16 May 2008 16:09:10 -0500",      DateTime.Parse ("16/05/2008 6.09.10"),
-                "Fri, 14 Mar 2008 13:44:53 -0500",      DateTime.Parse ("14/03/2008 3.44.53"),
-                "Fri, 07 December 2007 17:00:00 EST",   DateTime.Parse ("07/12/2007 6.00.00"),
-                "Sat, 08 Mar 2008 12:00:00 EST",        DateTime.Parse ("08/03/2008 1.00.00"),
+                "Fri, 22 Feb 2008 16:00:00 EST",        DateTime.Parse ("22/02/2008 15.00.00"),
+                "Fri, 15 Feb 2008 4:10:00 EST",         DateTime.Parse ("15/02/2008 3.10.00"),
+                "Tue, 08 Apr 2008 03:37:04 -0400",      DateTime.Parse ("08/04/2008 2.37.04"),
+                "Tue, 26 Feb 2008 03:28:51 -0500",      DateTime.Parse ("26/02/2008 2.28.51"),
+                "Sun, 11 May 2008 01:33:26 -0400",      DateTime.Parse ("11/05/2008 0.33.26"),
+                "Fri, 16 May 2008 16:09:10 -0500",      DateTime.Parse ("16/05/2008 16.09.10"),
+                "Fri, 14 Mar 2008 13:44:53 -0500",      DateTime.Parse ("14/03/2008 13.44.53"),
+                "Fri, 07 December 2007 17:00:00 EST",   DateTime.Parse ("07/12/2007 16.00.00"),
+                "Sat, 08 Mar 2008 12:00:00 EST",        DateTime.Parse ("08/03/2008 11.00.00"),
                 "Sat, 17 May 2008 20:47:57 +0000",      DateTime.Parse ("17/05/2008 15.47.57"),
                 "Sat, 17 May 2008 19:33:42 +0000",      DateTime.Parse ("17/05/2008 14.33.42")
             );



Index: banshee.spec
===================================================================
RCS file: /cvs/pkgs/rpms/banshee/F-9/banshee.spec,v
retrieving revision 1.59
retrieving revision 1.60
diff -u -r1.59 -r1.60
--- banshee.spec	23 Jan 2009 20:52:50 -0000	1.59
+++ banshee.spec	12 Feb 2009 04:14:27 -0000	1.60
@@ -2,14 +2,14 @@
 
 Name:    banshee
 Version: 1.4.2
-Release: 1%{?dist}
+Release: 2%{?dist}
 Summary: Easily import, manage, and play selections from your music collection
 Group:   Applications/Multimedia
 License: MIT
 URL:     http://banshee-project.org/
 Source0: http://banshee-project.org/files/banshee/banshee-1-%{version}.tar.bz2
 Source1: README.Fedora
-# Patch0:  banshee-1-1.4.1-riptags.patch
+Patch0:  banshee-1-1.4.2-podcast.patch
 BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 
 # We only have mono on these arches:
@@ -45,6 +45,8 @@
 
 BuildRequires: desktop-file-utils
 
+# bug 484996: until f-spot stops "providing" mono-addins, we have
+# to explicitly depend on it
 Requires:      mono-addins
 Requires:      podsleuth
 Requires:      libmtp
@@ -99,7 +101,7 @@
 
 %prep
 %setup -q -n %{name}-1-%{version}
-#patch0 -p0 -b .riptags
+%patch0 -p0 -b .podcast
 cp -p %{SOURCE1} .
 
 %build
@@ -180,6 +182,9 @@
 
 
 %changelog
+* Tue Feb 10 2009 Michel Salim <salimma at fedoraproject.org> - 1.4.2-2
+- Patch to correct timezone handling for podcasts (bz #484766)
+
 * Fri Jan 23 2009 Michel Salim <salimma at fedoraproject.org> - 1.4.2-1
 - Update to 1.4.2
 - Require mono-addins




More information about the fedora-extras-commits mailing list