rpms/avahi/devel avahi-0.6.21-avahi-browse-help-fix.patch, NONE, 1.1 avahi.spec, 1.91, 1.92

Lennart Poettering (lennart) fedora-extras-commits at redhat.com
Sun Aug 12 19:42:21 UTC 2007


Author: lennart

Update of /cvs/pkgs/rpms/avahi/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv27050

Modified Files:
	avahi.spec 
Added Files:
	avahi-0.6.21-avahi-browse-help-fix.patch 
Log Message:
Fix avahi-browse --help output

avahi-0.6.21-avahi-browse-help-fix.patch:

--- NEW FILE avahi-0.6.21-avahi-browse-help-fix.patch ---
Index: avahi-utils/avahi-browse.c
===================================================================
--- avahi-utils/avahi-browse.c	(revision 1518)
+++ avahi-utils/avahi-browse.c	(revision 1519)
@@ -586,9 +586,12 @@
                 "%s [options] -a\n"
                 "%s [options] -D\n"
 #if defined(HAVE_GDBM) || defined(HAVE_DBM)
-                "%s [options] -b\n",
+                "%s [options] -b\n"
 #endif
                 "\n",
+#if defined(HAVE_GDBM) || defined(HAVE_DBM)
+                argv0,
+#endif
                 argv0, argv0, argv0);
 
             fprintf(f, 


Index: avahi.spec
===================================================================
RCS file: /cvs/pkgs/rpms/avahi/devel/avahi.spec,v
retrieving revision 1.91
retrieving revision 1.92
diff -u -r1.91 -r1.92
--- avahi.spec	12 Aug 2007 16:44:54 -0000	1.91
+++ avahi.spec	12 Aug 2007 19:41:49 -0000	1.92
@@ -6,7 +6,7 @@
 %endif
 Name:           avahi
 Version:        0.6.21
-Release:        1%{?dist}
+Release:        2%{?dist}
 Summary:        Local network service discovery 
 Group:          System Environment/Base
 License:        LGPL
@@ -36,7 +36,8 @@
 Obsoletes:            howl
 Source0:        http://avahi.org/download/%{name}-%{version}.tar.gz
 # enable mono's mcs to work in beehive buildroot:
-Patch6:     avahi-0.6.3-MONO_SHARED_DIR.patch
+Patch1:     avahi-0.6.21-avahi-browse-help-fix.patch
+Patch2:     avahi-0.6.3-MONO_SHARED_DIR.patch
 
 %description
 Avahi is a system which facilitates service discovery on
@@ -206,8 +207,9 @@
 
 %prep
 %setup -q
+%patch1 -p0 -b .avahi-browse-help-fix
 %if %{WITH_MONO}
-%patch6 -p1 -b .MONO_SHARED_DIR
+%patch2 -p1 -b .MONO_SHARED_DIR
 %endif
 
 %build
@@ -462,6 +464,9 @@
 %endif
 
 %changelog
+* Sun Aug 12 2007 Lennart Poettering <lpoetter at redhat.com> - 0.6.21-2
+- Fix avahi-browse --help output
+
 * Sun Aug 12 2007 Lennart Poettering <lpoetter at redhat.com> - 0.6.21-1
 - New upstream release
 




More information about the scm-commits mailing list