Swap to python2 sitearch macro

This commit is contained in:
leigh123linux 2018-07-16 16:55:28 +01:00
parent aeb9534179
commit ce34722532

View File

@ -13,7 +13,7 @@
Name: pygtk2 Name: pygtk2
Version: 2.24.0 Version: 2.24.0
Release: 22%{?dist} Release: 23%{?dist}
License: LGPLv2+ License: LGPLv2+
Group: Development/Languages Group: Development/Languages
Summary: Python bindings for GTK+ Summary: Python bindings for GTK+
@ -125,15 +125,15 @@ find %{buildroot} -name '*.la' -or -name '*.a' | xargs rm -f
%license COPYING %license COPYING
%{_bindir}/pygtk-demo %{_bindir}/pygtk-demo
%{_libdir}/pygtk/ %{_libdir}/pygtk/
%dir %{python_sitearch}/gtk-2.0 %dir %{python2_sitearch}/gtk-2.0
%dir %{python_sitearch}/gtk-2.0/gtk %dir %{python2_sitearch}/gtk-2.0/gtk
%{python_sitearch}/gtk-2.0/gtk/*.py* %{python2_sitearch}/gtk-2.0/gtk/*.py*
%{python_sitearch}/gtk-2.0/gtk/_gtk.so %{python2_sitearch}/gtk-2.0/gtk/_gtk.so
%{python_sitearch}/gtk-2.0/*.so %{python2_sitearch}/gtk-2.0/*.so
%if %{buildglade} %if %{buildglade}
%files libglade %files libglade
%{python_sitearch}/gtk-2.0/gtk/glade.so %{python2_sitearch}/gtk-2.0/gtk/glade.so
%endif %endif
%files codegen %files codegen
@ -149,6 +149,9 @@ find %{buildroot} -name '*.la' -or -name '*.a' | xargs rm -f
%{_datadir}/gtk-doc/html/pygtk/ %{_datadir}/gtk-doc/html/pygtk/
%changelog %changelog
* Mon Jul 16 2018 Leigh Scott <leigh123linux@googlemail.com> - 2.24.0-23
- Swap to python2 sitearch macro
* Fri Jul 13 2018 Fedora Release Engineering <releng@fedoraproject.org> - 2.24.0-22 * Fri Jul 13 2018 Fedora Release Engineering <releng@fedoraproject.org> - 2.24.0-22
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild - Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild