Blame SOURCES/0003-Remove-empty-avahi_discover-Python-module.patch

4cb3cb
From ffb19d8f3c7f1fe4f31f79f8601dd3079730401b Mon Sep 17 00:00:00 2001
4cb3cb
From: Simon McVittie <smcv@debian.org>
4cb3cb
Date: Fri, 27 Apr 2018 09:01:13 +0100
4cb3cb
Subject: [PATCH] Remove empty avahi_discover Python module
4cb3cb
4cb3cb
The avahi-discover tool no longer has any code outside its main
4cb3cb
executable, so it does not need to install library modules. Its only
4cb3cb
library code was avahi_discover.SimpleGladeApp, which was removed
4cb3cb
in 2009.
4cb3cb
4cb3cb
Signed-off-by: Simon McVittie <smcv@debian.org>
4cb3cb
---
4cb3cb
 avahi-python/avahi-discover/Makefile.am |  6 ------
4cb3cb
 avahi-python/avahi-discover/__init__.py | 18 ------------------
4cb3cb
 2 files changed, 24 deletions(-)
4cb3cb
 delete mode 100755 avahi-python/avahi-discover/__init__.py
4cb3cb
4cb3cb
diff --git a/avahi-python/avahi-discover/Makefile.am b/avahi-python/avahi-discover/Makefile.am
4cb3cb
index 5fc4b25..bb4d717 100644
4cb3cb
--- a/avahi-python/avahi-discover/Makefile.am
4cb3cb
+++ b/avahi-python/avahi-discover/Makefile.am
4cb3cb
@@ -18,7 +18,6 @@
4cb3cb
 AM_CFLAGS=-I$(top_srcdir)
4cb3cb
 
4cb3cb
 EXTRA_DIST = \
4cb3cb
-	__init__.py \
4cb3cb
 	avahi-discover.py \
4cb3cb
 	avahi-discover.desktop.in.in
4cb3cb
 
4cb3cb
@@ -31,15 +30,11 @@ pythonscripts =
4cb3cb
 desktopdir = $(datadir)/applications
4cb3cb
 desktop_DATA =
4cb3cb
 
4cb3cb
-avahi_discoverdir = $(pythondir)/avahi_discover
4cb3cb
-avahi_discover_PYTHON =
4cb3cb
-
4cb3cb
 if HAVE_GDBM
4cb3cb
 pythonscripts += \
4cb3cb
 	avahi-discover
4cb3cb
 desktop_DATA += avahi-discover.desktop
4cb3cb
 @INTLTOOL_DESKTOP_RULE@
4cb3cb
-avahi_discover_PYTHON += __init__.py
4cb3cb
 endif
4cb3cb
 
4cb3cb
 if HAVE_DBM
4cb3cb
@@ -47,7 +42,6 @@ pythonscripts += \
4cb3cb
 	avahi-discover
4cb3cb
 desktop_DATA += avahi-discover.desktop
4cb3cb
 @INTLTOOL_DESKTOP_RULE@
4cb3cb
-avahi_discover_PYTHON += __init__.py
4cb3cb
 endif
4cb3cb
 
4cb3cb
 avahi-discover.desktop.in: avahi-discover.desktop.in.in
4cb3cb
diff --git a/avahi-python/avahi-discover/__init__.py b/avahi-python/avahi-discover/__init__.py
4cb3cb
deleted file mode 100755
4cb3cb
index 6f3ec7f..0000000
4cb3cb
--- a/avahi-python/avahi-discover/__init__.py
4cb3cb
+++ /dev/null
4cb3cb
@@ -1,18 +0,0 @@
4cb3cb
-#!@PYTHON@
4cb3cb
-# -*-python-*-
4cb3cb
-# This file is part of avahi.
4cb3cb
-#
4cb3cb
-# avahi is free software; you can redistribute it and/or modify it
4cb3cb
-# under the terms of the GNU Lesser General Public License as
4cb3cb
-# published by the Free Software Foundation; either version 2 of the
4cb3cb
-# License, or (at your option) any later version.
4cb3cb
-#
4cb3cb
-# avahi is distributed in the hope that it will be useful, but WITHOUT
4cb3cb
-# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
4cb3cb
-# or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public
4cb3cb
-# License for more details.
4cb3cb
-#
4cb3cb
-# You should have received a copy of the GNU Lesser General Public
4cb3cb
-# License along with avahi; if not, write to the Free Software
4cb3cb
-# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307
4cb3cb
-# USA.
4cb3cb
-- 
4cb3cb
2.14.3
4cb3cb