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:
Dominique Leuenberger 2013-09-12 09:51:05 +00:00 committed by Git OBS Bridge
parent bb693fbff7
commit 5b367ba4a3
2 changed files with 2 additions and 2 deletions

View File

@ -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

View File

@ -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