fix python packaging
This commit is contained in:
parent
4fa35738f1
commit
879cb6dcca
@ -1,7 +1,7 @@
|
||||
%define po_package gnome-menus
|
||||
%define enable_debugging 0
|
||||
|
||||
%{!?python_sitelib: %define python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")}
|
||||
{!?python_sitearch: %define python_sitearch %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib(1)")}
|
||||
|
||||
Summary: A menu system for the GNOME project
|
||||
Name: gnome-menus
|
||||
@ -82,8 +82,8 @@ rm -rf $RPM_BUILD_ROOT
|
||||
%defattr(-,root,root,-)
|
||||
%doc
|
||||
%{_libdir}/libgnome-menu.so.*
|
||||
%{python_sitelib}/gmenu.so
|
||||
%{python_sitelib}/GMenuSimpleEditor/*
|
||||
%{python_sitearch}/gmenu.so
|
||||
%{python_sitearch}/GMenuSimpleEditor/*
|
||||
%{_datadir}/gnome-menus/glade/gmenu-simple-editor.glade
|
||||
%{_datadir}/applications/gmenu-simple-editor.desktop
|
||||
%{_datadir}/desktop-directories
|
||||
|
Loading…
Reference in New Issue
Block a user