diff options
author | Lukas Slebodnik <lslebodn@redhat.com> | 2015-10-05 08:06:45 +0200 |
---|---|---|
committer | Jakub Hrozek <jhrozek@redhat.com> | 2015-10-12 09:37:48 +0200 |
commit | bf0002fa68e9c06f0569cf75b1b8ef85bb1c2697 (patch) | |
tree | 5e9562dc31ee726d198d40280d36925e37a3e9c2 /contrib | |
parent | c4d2fc3c12656faeb3fb7ca20c922ca62edf13a0 (diff) | |
download | sssd-bf0002fa68e9c06f0569cf75b1b8ef85bb1c2697.tar.gz sssd-bf0002fa68e9c06f0569cf75b1b8ef85bb1c2697.tar.xz sssd-bf0002fa68e9c06f0569cf75b1b8ef85bb1c2697.zip |
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 <jhrozek@redhat.com>
Diffstat (limited to 'contrib')
-rw-r--r-- | contrib/sssd.spec.in | 8 |
1 files changed, 0 insertions, 8 deletions
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 |