From 9a14e9fcbb4f6c27f85ea7ed2b9214c35c0728e2 Mon Sep 17 00:00:00 2001 From: Michal Minar Date: Thu, 24 Oct 2013 08:53:05 +0200 Subject: spec: use python2_sitelib instead of python_sitelib In the future python3's sitelib will be a default. But we're not ready for python3 yet. --- openlmi-providers.spec | 26 ++++++++++++-------------- 1 file changed, 12 insertions(+), 14 deletions(-) (limited to 'openlmi-providers.spec') diff --git a/openlmi-providers.spec b/openlmi-providers.spec index 30ac5dd..7b3a95e 100644 --- a/openlmi-providers.spec +++ b/openlmi-providers.spec @@ -491,26 +491,24 @@ cp -pr tools/openlmitheme/* $RPM_BUILD_ROOT/%{python_sitelib}/sphinx/themes/open %files -n openlmi-python-base %doc README COPYING -%dir %{python_sitelib}/lmi -%{python_sitelib}/lmi/__init__.py -%{python_sitelib}/lmi/__init__.py[co] -%{python_sitelib}/openlmi-* -%dir %{python_sitelib}/lmi/base -%{python_sitelib}/lmi/base/*.py -%{python_sitelib}/lmi/base/*.py[co] +%dir %{python2_sitelib}/lmi +%{python2_sitelib}/lmi/__init__.py +%{python2_sitelib}/lmi/__init__.py[co] +%{python2_sitelib}/openlmi-* +%{python2_sitelib}/lmi/base/ %files -n openlmi-python-providers %doc README COPYING -%dir %{python_sitelib}/lmi/providers -%{python_sitelib}/lmi/providers/*.py -%{python_sitelib}/lmi/providers/*.py[co] +%dir %{python2_sitelib}/lmi/providers +%{python2_sitelib}/lmi/providers/*.py +%{python2_sitelib}/lmi/providers/*.py[co] %files -n openlmi-software %doc README COPYING %config(noreplace) %{_sysconfdir}/openlmi/software/software.conf %config(noreplace) %{_sysconfdir}/openlmi/software/yum_worker_logging.conf -%{python_sitelib}/lmi/software/ -%{python_sitelib}/openlmi_software-* +%{python2_sitelib}/lmi/software/ +%{python2_sitelib}/openlmi_software-* %{_libexecdir}/pegasus/pycmpiLMI_Software-cimprovagt %{_datadir}/%{name}/60_LMI_Software.mof %{_datadir}/%{name}/60_LMI_Software_MethodParameters.mof @@ -524,8 +522,8 @@ cp -pr tools/openlmitheme/* $RPM_BUILD_ROOT/%{python_sitelib}/sphinx/themes/open %files -n openlmi-pcp %doc README COPYING %{_datadir}/%{name}/60_LMI_PCP.mof -%{python_sitelib}/lmi/pcp/ -%{python_sitelib}/openlmi_pcp-* +%{python2_sitelib}/lmi/pcp/ +%{python2_sitelib}/openlmi_pcp-* %attr(755, root, root) %{_bindir}/openlmi-pcp-generate %attr(755, root, root) %{_sysconfdir}/cron.daily/openlmi-pcp %dir %{_localstatedir}/lib/%{name} -- cgit