Fix build with python2
This commit is contained in:
parent
21f49de1cd
commit
8aec83c292
@ -18,7 +18,7 @@
|
||||
Summary: Library to access the contents of an iPod
|
||||
Name: libgpod
|
||||
Version: 0.8.3
|
||||
Release: 23%{?dist}
|
||||
Release: 24%{?dist}
|
||||
License: LGPLv2+
|
||||
Group: System Environment/Libraries
|
||||
URL: http://www.gtkpod.org/libgpod.html
|
||||
@ -150,7 +150,7 @@ autoreconf -vif
|
||||
sed -i "s#sharp-2.0#sharp-3.0#g" configure
|
||||
%endif
|
||||
|
||||
%configure --without-hal --enable-udev --with-temp-mount-dir=/run/%{name}
|
||||
%configure --with-python=/usr/bin/python2 --without-hal --enable-udev --with-temp-mount-dir=/run/%{name}
|
||||
make %{?_smp_mflags} V=1
|
||||
|
||||
|
||||
@ -212,7 +212,7 @@ find %{buildroot} -type f -name "*.a" -delete
|
||||
|
||||
%files -n python2-gpod
|
||||
%doc COPYING bindings/python/README bindings/python/examples
|
||||
%{python_sitearch}/gpod
|
||||
%{python2_sitearch}/gpod
|
||||
|
||||
|
||||
%if %{with_mono}
|
||||
@ -225,6 +225,9 @@ find %{buildroot} -type f -name "*.a" -delete
|
||||
%endif
|
||||
|
||||
%changelog
|
||||
* Tue Jul 24 2018 Christophe Fergeau <cfergeau@redhat.com> - 0.8.3-24
|
||||
- Fix build with python2
|
||||
|
||||
* Fri Jul 13 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.8.3-23
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user