Switch to Python 3

https://bugzilla.redhat.com/show_bug.cgi?id=1192093
This commit is contained in:
Kalev Lember 2015-07-03 12:03:01 +02:00
parent b9b9ce8b1a
commit 4580416344

View File

@ -1,6 +1,6 @@
Name: gupnp
Version: 0.20.14
Release: 2%{?dist}
Release: 3%{?dist}
Summary: A framework for creating UPnP devices & control points
Group: System Environment/Libraries
@ -55,6 +55,9 @@ This package contains developer documentation for %{name}.
%configure --disable-static --with-context-manager=network-manager
make %{?_smp_mflags} V=1
# Use Python 3
sed -i '1s|^#! /usr/bin/python$|#!/usr/bin/python3|' tools/gupnp-binding-tool
%install
make install DESTDIR=%{buildroot}
@ -86,6 +89,9 @@ make check %{?_smp_mflags} V=1
%doc %{_datadir}/gtk-doc/html/%{name}
%changelog
* Fri Jul 03 2015 Kalev Lember <klember@redhat.com> - 0.20.14-3
- Switch to Python 3 (#1192093)
* Wed Jun 17 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.20.14-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild