From c168cce08e62e9bc774c0eec4fba232a47212bc2 Mon Sep 17 00:00:00 2001 From: Gwyn Ciesla Date: Aug 19 2019 19:56:04 +0000 Subject: include macros. --- diff --git a/sip.spec b/sip.spec index 96d991f..96e9d1c 100644 --- a/sip.spec +++ b/sip.spec @@ -272,7 +272,7 @@ install -D -p -m644 %{SOURCE1} %{buildroot}%{rpm_macros_dir}/macros.sip %{rpm_macros_dir}/macros.sip %files -n python2-sip-devel -%{python2_inc}/sip.h +%{_prefix}/include/python2.7/sip.h %{python2_sitearch}/sipconfig.py* %{python2_sitearch}/sipdistutils.py* @@ -299,7 +299,7 @@ install -D -p -m644 %{SOURCE1} %{buildroot}%{rpm_macros_dir}/macros.sip %if %{with python3} %files -n python%{python3_pkgversion}-sip-devel -%{python3_inc}/sip.h +%{_prefix}/include/python%{python3_version}/sip.h %{python3_sitearch}/sipconfig.py* %{python3_sitearch}/sipdistutils.py* %{python3_sitearch}/__pycache__/*