From bf0002fa68e9c06f0569cf75b1b8ef85bb1c2697 Mon Sep 17 00:00:00 2001 From: Lukas Slebodnik Date: Mon, 5 Oct 2015 08:06:45 +0200 Subject: BUILD: Avoid symlinks with python modules We need to use different names for python{2,3} modules if we want to build them in the same time with automake (prefix _py2 and _py3). But resulting name need to correspond with name of module because it is used in C import function. We used symbolic links for that purpose but it breaks debian python tools which rename the real modules making symbolic links to point nowhere Resolves: https://fedorahosted.org/sssd/ticket/2814 Reviewed-by: Jakub Hrozek --- contrib/sssd.spec.in | 8 -------- 1 file changed, 8 deletions(-) (limited to 'contrib') diff --git a/contrib/sssd.spec.in b/contrib/sssd.spec.in index 63c107c1e..d377af4c8 100644 --- a/contrib/sssd.spec.in +++ b/contrib/sssd.spec.in @@ -867,25 +867,21 @@ rm -rf $RPM_BUILD_ROOT %files -n python-sss %defattr(-,root,root,-) %{python2_sitearch}/pysss.so -%{python2_sitearch}/_py2sss.so %if (0%{?with_python3} == 1) %files -n python3-sss %defattr(-,root,root,-) %{python3_sitearch}/pysss.so -%{python3_sitearch}/_py3sss.so %endif %files -n python-sss-murmur %defattr(-,root,root,-) %{python2_sitearch}/pysss_murmur.so -%{python2_sitearch}/_py2sss_murmur.so %if (0%{?with_python3} == 1) %files -n python3-sss-murmur %defattr(-,root,root,-) %{python3_sitearch}/pysss_murmur.so -%{python3_sitearch}/_py3sss_murmur.so %endif %files -n libsss_idmap @@ -927,25 +923,21 @@ rm -rf $RPM_BUILD_ROOT %files -n python-libsss_nss_idmap %defattr(-,root,root,-) %{python2_sitearch}/pysss_nss_idmap.so -%{python2_sitearch}/_py2sss_nss_idmap.so %if (0%{?with_python3} == 1) %files -n python3-libsss_nss_idmap %defattr(-,root,root,-) %{python3_sitearch}/pysss_nss_idmap.so -%{python3_sitearch}/_py3sss_nss_idmap.so %endif %files -n python-libipa_hbac %defattr(-,root,root,-) %{python2_sitearch}/pyhbac.so -%{python2_sitearch}/_py2hbac.so %if (0%{?with_python3} == 1) %files -n python3-libipa_hbac %defattr(-,root,root,-) %{python3_sitearch}/pyhbac.so -%{python3_sitearch}/_py3hbac.so %endif %files libwbclient -- cgit