deleting pygtk is not py3 related.. move it out of the %if
OBS-URL: https://build.opensuse.org/package/show/GNOME:Factory/python-gobject?expand=0&rev=15
This commit is contained in:
parent
bb693fbff7
commit
5b367ba4a3
@ -118,10 +118,10 @@ find $RPM_BUILD_ROOT -name '*.la' -or -name '*.a' | xargs rm -f
|
||||
# Those files are python-version agnostic... so it does not matter.
|
||||
rm -r %{buildroot}%{_includedir}/pygobject-3.0/pygobject.h
|
||||
rm %{buildroot}%{_libdir}/pkgconfig/pygobject-3.0.pc
|
||||
%endif
|
||||
# Drop pygtkcompat layer.it's useless and we lack other stuff for it to work
|
||||
rm %{buildroot}%{local_py_sitedir}/gi/pygtkcompat.py
|
||||
rm -r %{buildroot}%{local_py_sitedir}/pygtkcompat/
|
||||
%endif
|
||||
rm examples/Makefile*
|
||||
%fdupes $RPM_BUILD_ROOT
|
||||
|
||||
|
@ -118,10 +118,10 @@ find $RPM_BUILD_ROOT -name '*.la' -or -name '*.a' | xargs rm -f
|
||||
# Those files are python-version agnostic... so it does not matter.
|
||||
rm -r %{buildroot}%{_includedir}/pygobject-3.0/pygobject.h
|
||||
rm %{buildroot}%{_libdir}/pkgconfig/pygobject-3.0.pc
|
||||
%endif
|
||||
# Drop pygtkcompat layer.it's useless and we lack other stuff for it to work
|
||||
rm %{buildroot}%{local_py_sitedir}/gi/pygtkcompat.py
|
||||
rm -r %{buildroot}%{local_py_sitedir}/pygtkcompat/
|
||||
%endif
|
||||
rm examples/Makefile*
|
||||
%fdupes $RPM_BUILD_ROOT
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user