From 5e5e9151b1f32653fa1f9774e94bc0e1dd7a4749 Mon Sep 17 00:00:00 2001 From: DongHun Kwak Date: Mon, 6 Apr 2020 12:18:44 +0900 Subject: [PATCH] Fix build error change python3_sitelib to python3_sitearch python3_sitearch /usr/lib64/python3.7/site-packages python3_sitelib /usr/lib/python3.7/site-packages Change-Id: Ia6718c08f34b0629f3b8e1a758118cc6dad82359 Signed-off-by: DongHun Kwak --- packaging/python3-gobject.spec | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/packaging/python3-gobject.spec b/packaging/python3-gobject.spec index 254fbf6..88ce7b8 100644 --- a/packaging/python3-gobject.spec +++ b/packaging/python3-gobject.spec @@ -80,23 +80,23 @@ cp %{SOURCE1001} . %manifest %{name}.manifest %defattr(-,root,root) %license COPYING -%{python3_sitelib}/gi/ -%{python3_sitelib}/PyGObject-*.egg-info +%{python3_sitearch}/gi/ +%{python3_sitearch}/PyGObject-*.egg-info # Lives in cairo subpackage -%exclude %{python3_sitelib}/gi/_gi_cairo.so +%exclude %{python3_sitearch}/gi/_gi_cairo*.so # Lives in pygtkcompat subpackage -%exclude %{python3_sitelib}/gi/pygtkcompat.py +%exclude %{python3_sitearch}/gi/pygtkcompat.py %files cairo %manifest %{name}.manifest %defattr(-,root,root) -%{python3_sitelib}/gi/_gi_cairo*.so +%{python3_sitearch}/gi/_gi_cairo*.so %files pygtkcompat %manifest %{name}.manifest %defattr(-,root,root) -#%{python3_sitelib}/gi/pygtkcompat.py -%{python3_sitelib}/pygtkcompat +#%{python3_sitearch}/gi/pygtkcompat.py +%{python3_sitearch}/pygtkcompat %files devel %manifest %{name}.manifest -- 2.7.4