From 7a351bcb3445349e8a5d96da3e8aad93796fc61e Mon Sep 17 00:00:00 2001 From: Toshio Kuratomi Date: Thu, 5 Nov 2015 18:27:35 -0800 Subject: [PATCH] Modify a shebang in the python3 module so it doesn't drag in /usr/bin/python2. --- avahi.spec | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/avahi.spec b/avahi.spec index ceb0d78..0ac9df7 100644 --- a/avahi.spec +++ b/avahi.spec @@ -20,7 +20,7 @@ Name: avahi Version: 0.6.32 -Release: 0.1.%{beta}%{?dist} +Release: 0.2.%{beta}%{?dist} Summary: Local network service discovery License: LGPLv2+ URL: http://avahi.org @@ -411,6 +411,7 @@ ln -s avahi-compat-libdns_sd/dns_sd.h %{buildroot}/%{_includedir}/ mkdir -p %{buildroot}%{python3_sitelib}/avahi/ cp -r %{buildroot}%{python2_sitelib}/avahi/* %{buildroot}%{python3_sitelib}/avahi/ rm -fv %{buildroot}%{buildroot}%{python3_sitelib}/avahi/*.py{c,o} +sed -i 's!/usr/bin/python!/usr/bin/python3!' %{buildroot}%{python3_sitelib}/avahi/ServiceTypeDatabase.py rm -fv %{buildroot}%{_sysconfdir}/rc.d/init.d/avahi-daemon rm -fv %{buildroot}%{_sysconfdir}/rc.d/init.d/avahi-dnsconfd @@ -663,6 +664,9 @@ exit 0 %{python3_sitelib}/avahi/ %changelog +* Thu Nov 5 2015 Toshio Kuratomi - 0.6.32-0.2.rc +- Modify a shebang in the python3 module so it doesn't drag in /usr/bin/python2. + * Sat Oct 10 2015 Rex Dieter - 0.6.32-0.1.rc - avahi-0.6.32-rc - -devel: move dbus-1/interfaces here