Modify a shebang in the python3 module so it doesn't drag in /usr/bin/python2.
This commit is contained in:
parent
cd3de26229
commit
7a351bcb34
@ -20,7 +20,7 @@
|
|||||||
|
|
||||||
Name: avahi
|
Name: avahi
|
||||||
Version: 0.6.32
|
Version: 0.6.32
|
||||||
Release: 0.1.%{beta}%{?dist}
|
Release: 0.2.%{beta}%{?dist}
|
||||||
Summary: Local network service discovery
|
Summary: Local network service discovery
|
||||||
License: LGPLv2+
|
License: LGPLv2+
|
||||||
URL: http://avahi.org
|
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/
|
mkdir -p %{buildroot}%{python3_sitelib}/avahi/
|
||||||
cp -r %{buildroot}%{python2_sitelib}/avahi/* %{buildroot}%{python3_sitelib}/avahi/
|
cp -r %{buildroot}%{python2_sitelib}/avahi/* %{buildroot}%{python3_sitelib}/avahi/
|
||||||
rm -fv %{buildroot}%{buildroot}%{python3_sitelib}/avahi/*.py{c,o}
|
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-daemon
|
||||||
rm -fv %{buildroot}%{_sysconfdir}/rc.d/init.d/avahi-dnsconfd
|
rm -fv %{buildroot}%{_sysconfdir}/rc.d/init.d/avahi-dnsconfd
|
||||||
@ -663,6 +664,9 @@ exit 0
|
|||||||
%{python3_sitelib}/avahi/
|
%{python3_sitelib}/avahi/
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Thu Nov 5 2015 Toshio Kuratomi <toshio@fedoraproject.org> - 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 <rdieter@fedoraproject.org> - 0.6.32-0.1.rc
|
* Sat Oct 10 2015 Rex Dieter <rdieter@fedoraproject.org> - 0.6.32-0.1.rc
|
||||||
- avahi-0.6.32-rc
|
- avahi-0.6.32-rc
|
||||||
- -devel: move dbus-1/interfaces here
|
- -devel: move dbus-1/interfaces here
|
||||||
|
Loading…
Reference in New Issue
Block a user