diff --git a/tcl-snack.spec b/tcl-snack.spec index be56876..57925d3 100644 --- a/tcl-snack.spec +++ b/tcl-snack.spec @@ -4,12 +4,11 @@ # (and tclsh) aren't in the default buildroot. %{!?tcl_version: %global tcl_version 8.6} %{!?tcl_sitearch: %global tcl_sitearch %{_libdir}/tcl%{tcl_version}} -%{!?python_sitelib: %global python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")} %global realname snack Name: tcl-%{realname} Version: 2.2.10 -Release: 36%{?dist} +Release: 37%{?dist} Summary: Sound toolkit Group: System Environment/Libraries # generic/snackDecls.h, generic/snackStubInit.c and generic/snackStubLib.c @@ -94,7 +93,7 @@ cd unix/ %configure --disable-static --with-tcl=%{_libdir} --with-tk=%{_libdir} --with-ogg-include=%{_includedir} --with-ogg-lib=%{_libdir} --enable-alsa make %{?_smp_mflags} EXTRACFLAGS="%{optflags}" cd ../python -%{__python} setup.py build +%{__python2} setup.py build %install pushd unix/ @@ -103,7 +102,7 @@ find %{buildroot} -name '*.la' -exec rm -f {} ';' popd pushd python -%{__python} setup.py install --skip-build --root %{buildroot} +%{__python2} setup.py install --skip-build --root %{buildroot} install -d %{buildroot}%{tcl_sitearch} mv %{buildroot}%{_libdir}/%{realname}2.2 %{buildroot}%{tcl_sitearch}/%{realname}2.2 chmod -x %{buildroot}%{tcl_sitearch}/%{realname}2.2/snack.tcl @@ -130,9 +129,12 @@ install -p unix/snackConfig.sh %{buildroot}%{_libdir} %files -n python2-%{realname} %doc doc/python-man.html demos/python/ -%{python_sitelib}/tkSnack* +%{python2_sitelib}/tkSnack* %changelog +* Mon Jul 23 2018 Tom Callaway - 2.2.10-37 +- fix FTBFS + * Sat Jul 14 2018 Fedora Release Engineering - 2.2.10-36 - Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild