diff --git a/lash.spec b/lash.spec index 83b1221..103410d 100644 --- a/lash.spec +++ b/lash.spec @@ -82,7 +82,7 @@ sed -i 's|1.3.31|3.0.0|g' configure* %endif %build -export am_cv_python_pythondir=%{python_sitearch} +export am_cv_python_pythondir=%{python2_sitearch} CFLAGS="$RPM_OPT_FLAGS -D_GNU_SOURCE" %configure --disable-static --disable-serv-inst make %{?_smp_mflags} @@ -92,10 +92,10 @@ mkdir -p %{buildroot}%{_sysconfdir} make DESTDIR=%{buildroot} install rm -f %{buildroot}%{_infodir}/dir rm -f %{buildroot}%{_libdir}/liblash.la -rm -f %{buildroot}%{python_sitearch}/_lash.la +rm -f %{buildroot}%{python2_sitearch}/_lash.la # Fix permission -chmod -x %{buildroot}%{python_sitearch}/lash.py +chmod -x %{buildroot}%{python2_sitearch}/lash.py # Move icons to the right place mkdir -p %{buildroot}%{_datadir}/icons/hicolor/16x16/apps @@ -116,7 +116,7 @@ chrpath --delete %{buildroot}%{_bindir}/lashd chrpath --delete %{buildroot}%{_bindir}/lash_synth chrpath --delete %{buildroot}%{_bindir}/lash_panel chrpath --delete %{buildroot}%{_bindir}/lash_save_button -chrpath --delete %{buildroot}%{python_sitearch}/_lash.so +chrpath --delete %{buildroot}%{python2_sitearch}/_lash.so # Move the dtd file to our Fedora Friendly place mkdir -p %{buildroot}%{_datadir}/xml/lash/dtds