rpms/gmyth/devel gmyth-remove-debug.patch, NONE, 1.1 gmyth-upnp-remove-warning.patch, NONE, 1.1 gmyth.spec, 1.10, 1.11

Bastien Nocera hadess at fedoraproject.org
Mon Sep 1 10:08:58 UTC 2008


Author: hadess

Update of /cvs/pkgs/rpms/gmyth/devel
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv6858

Modified Files:
	gmyth.spec 
Added Files:
	gmyth-remove-debug.patch gmyth-upnp-remove-warning.patch 
Log Message:
* Mon Sep 01 2008 - Bastien Nocera <bnocera at redhat.com> - 0.7.1-7
- Remove extraneous debug and warnings


gmyth-remove-debug.patch:

--- NEW FILE gmyth-remove-debug.patch ---
Index: gmyth/gmyth_socket.c
===================================================================
--- gmyth/gmyth_socket.c	(revision 956)
+++ gmyth/gmyth_socket.c	(working copy)
@@ -573,11 +573,12 @@
         /*
          * init socket descriptor 
          */
-
+#if 0
         g_debug ("FAMILY: %d, TYPE: %d, PROTOCOL: %d", 
                  addr_info0->ai_family,
                  addr_info0->ai_socktype,
                  addr_info0->ai_protocol);
+#endif
         gmyth_socket->sd =
             socket(addr_info0->ai_family, addr_info0->ai_socktype,
                    addr_info0->ai_protocol);

gmyth-upnp-remove-warning.patch:

--- NEW FILE gmyth-upnp-remove-warning.patch ---
Index: src/gmyth_upnp.c
===================================================================
--- src/gmyth_upnp.c	(revision 956)
+++ src/gmyth_upnp.c	(working copy)
@@ -429,7 +429,6 @@
 
             if (strcmp (d_event->ServiceType, UPNP_SERVICE_FILTER) != 0)
             {
-                g_warning ("invalid device : %s", d_event->DeviceId);
                 break;
             }
 


Index: gmyth.spec
===================================================================
RCS file: /cvs/pkgs/rpms/gmyth/devel/gmyth.spec,v
retrieving revision 1.10
retrieving revision 1.11
diff -u -r1.10 -r1.11
--- gmyth.spec	28 Aug 2008 22:27:08 -0000	1.10
+++ gmyth.spec	1 Sep 2008 10:08:27 -0000	1.11
@@ -3,13 +3,15 @@
 Summary: MythTV remote access libraries
 Name: gmyth
 Version: 0.7.1
-Release: 6%{?dist}
+Release: 7%{?dist}
 License: LGPLv2+
 Group: System Environment/Libraries
 Source0: http://downloads.sourceforge.net/%{name}/%{name}-%{version}.tar.gz
 # Upstream is bad at pushing stuff to the sourceforge download
 # Source1: http://downloads.sourceforge.net/%{name}/gmyth-upnp_%{gmyth_upnp_version}.tar.gz
 Source1: http://ftp.debian.org/debian/pool/main/g/gmyth-upnp/gmyth-upnp_%{gmyth_upnp_version}.orig.tar.gz
+Patch1: gmyth-remove-debug.patch
+Patch2: gmyth-upnp-remove-warning.patch
 BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
 URL: http://gmyth.sf.net
 BuildRequires: mysql-devel curl-devel libxml2-devel glib2-devel libupnp-devel
@@ -33,7 +35,11 @@
 
 %prep
 %setup -q
+%patch1 -p0 -b .debug
 tar xvzf %{SOURCE1}
+pushd gmyth-upnp-%{gmyth_upnp_version}
+%patch2 -p0 -b .warning
+popd
 
 %build
 %configure
@@ -78,6 +84,9 @@
 %{_libdir}/pkgconfig/*.pc
 
 %changelog
+* Mon Sep 01 2008 - Bastien Nocera <bnocera at redhat.com> - 0.7.1-7
+- Remove extraneous debug and warnings
+
 * Fri Aug 29 2008 Michael Schwendt <mschwendt at fedoraproject.org> - 0.7.1-6
 - Include /usr/include/gmyth-upnp directory
 




More information about the fedora-extras-commits mailing list