%{python_sitearch} → %{python2_sitearch}

Signed-off-by: Igor Gnatenko <ignatenkobrain@fedoraproject.org>
This commit is contained in:
Igor Gnatenko 2018-07-30 00:22:20 +02:00
parent aa3278fa5e
commit 618e9703cb
No known key found for this signature in database
GPG Key ID: 695714BD1BBC5F4C

View File

@ -679,34 +679,34 @@ install -m 644 %{_builddir}/%{buildsubdir}/etc-conf/ca/redhat-uep.pem %{buildroo
%dir %{python_sitearch}/subscription_manager
# code, python modules and packages
%{python_sitearch}/subscription_manager-*.egg-info/*
%{python_sitearch}/subscription_manager/*.py*
%{python_sitearch}/subscription_manager/api/*.py*
%{python_sitearch}/subscription_manager/branding/*.py*
%{python_sitearch}/subscription_manager/model/*.py*
%{python_sitearch}/subscription_manager/plugin/__init__.py*
%{python_sitearch}/subscription_manager/scripts/*.py*
%{python2_sitearch}/subscription_manager-*.egg-info/*
%{python2_sitearch}/subscription_manager/*.py*
%{python2_sitearch}/subscription_manager/api/*.py*
%{python2_sitearch}/subscription_manager/branding/*.py*
%{python2_sitearch}/subscription_manager/model/*.py*
%{python2_sitearch}/subscription_manager/plugin/__init__.py*
%{python2_sitearch}/subscription_manager/scripts/*.py*
%if %{with python3}
%{python_sitearch}/subscription_manager/__pycache__
%{python_sitearch}/subscription_manager/api/__pycache__
%{python_sitearch}/subscription_manager/branding/__pycache__
%{python_sitearch}/subscription_manager/model/__pycache__
%{python_sitearch}/subscription_manager/plugin/__pycache__
%{python_sitearch}/subscription_manager/scripts/__pycache__
%{python2_sitearch}/subscription_manager/__pycache__
%{python2_sitearch}/subscription_manager/api/__pycache__
%{python2_sitearch}/subscription_manager/branding/__pycache__
%{python2_sitearch}/subscription_manager/model/__pycache__
%{python2_sitearch}/subscription_manager/plugin/__pycache__
%{python2_sitearch}/subscription_manager/scripts/__pycache__
%endif
# our gtk2/gtk3 compat modules
%dir %{python_sitearch}/subscription_manager/ga_impls
%{python_sitearch}/subscription_manager/ga_impls/__init__.py*
%{python2_sitearch}/subscription_manager/ga_impls/__init__.py*
%if %{with python3}
%{python_sitearch}/subscription_manager/ga_impls/__pycache__
%{python2_sitearch}/subscription_manager/ga_impls/__pycache__
%endif
%if 0%{?gtk3}
%{python_sitearch}/subscription_manager/ga_impls/ga_gtk3.py*
%{python2_sitearch}/subscription_manager/ga_impls/ga_gtk3.py*
%else
%dir %{python_sitearch}/subscription_manager/ga_impls/ga_gtk2
%{python_sitearch}/subscription_manager/ga_impls/ga_gtk2/*.py*
%{python2_sitearch}/subscription_manager/ga_impls/ga_gtk2/*.py*
%endif
# subscription-manager plugins
@ -730,23 +730,23 @@ install -m 644 %{_builddir}/%{buildsubdir}/etc-conf/ca/redhat-uep.pem %{buildroo
# rhsmlib
%dir %{python_sitearch}/rhsmlib
%{python_sitearch}/rhsmlib/*.py*
%{python_sitearch}/rhsmlib/candlepin/*.py*
%{python_sitearch}/rhsmlib/compat/*.py*
%{python_sitearch}/rhsmlib/facts/*.py*
%{python_sitearch}/rhsmlib/services/*.py*
%{python_sitearch}/rhsmlib/dbus/*.py*
%{python_sitearch}/rhsmlib/dbus/facts/*.py*
%{python_sitearch}/rhsmlib/dbus/objects/*.py*
%{python2_sitearch}/rhsmlib/*.py*
%{python2_sitearch}/rhsmlib/candlepin/*.py*
%{python2_sitearch}/rhsmlib/compat/*.py*
%{python2_sitearch}/rhsmlib/facts/*.py*
%{python2_sitearch}/rhsmlib/services/*.py*
%{python2_sitearch}/rhsmlib/dbus/*.py*
%{python2_sitearch}/rhsmlib/dbus/facts/*.py*
%{python2_sitearch}/rhsmlib/dbus/objects/*.py*
%if %{with python3}
%{python_sitearch}/rhsmlib/__pycache__
%{python_sitearch}/rhsmlib/candlepin/__pycache__
%{python_sitearch}/rhsmlib/compat/__pycache__
%{python_sitearch}/rhsmlib/dbus/__pycache__
%{python_sitearch}/rhsmlib/dbus/facts/__pycache__
%{python_sitearch}/rhsmlib/dbus/objects/__pycache__
%{python_sitearch}/rhsmlib/facts/__pycache__
%{python_sitearch}/rhsmlib/services/__pycache__
%{python2_sitearch}/rhsmlib/__pycache__
%{python2_sitearch}/rhsmlib/candlepin/__pycache__
%{python2_sitearch}/rhsmlib/compat/__pycache__
%{python2_sitearch}/rhsmlib/dbus/__pycache__
%{python2_sitearch}/rhsmlib/dbus/facts/__pycache__
%{python2_sitearch}/rhsmlib/dbus/objects/__pycache__
%{python2_sitearch}/rhsmlib/facts/__pycache__
%{python2_sitearch}/rhsmlib/services/__pycache__
%endif
%{_datadir}/polkit-1/actions/com.redhat.*.policy
@ -764,17 +764,17 @@ install -m 644 %{_builddir}/%{buildsubdir}/etc-conf/ca/redhat-uep.pem %{buildroo
# Incude rt CLI tool
%dir %{python_sitearch}/rct
%{python_sitearch}/rct/*.py*
%{python2_sitearch}/rct/*.py*
%if %{with python3}
%{python_sitearch}/rct/__pycache__
%{python2_sitearch}/rct/__pycache__
%endif
%attr(755,root,root) %{_bindir}/rct
# Include consumer debug CLI tool
%dir %{python_sitearch}/rhsm_debug
%{python_sitearch}/rhsm_debug/*.py*
%{python2_sitearch}/rhsm_debug/*.py*
%if %{with python3}
%{python_sitearch}/rhsm_debug/__pycache__
%{python2_sitearch}/rhsm_debug/__pycache__
%endif
%attr(755,root,root) %{_bindir}/rhsm-debug
@ -790,12 +790,12 @@ install -m 644 %{_builddir}/%{buildsubdir}/etc-conf/ca/redhat-uep.pem %{buildroo
%if %{use_rhsm_gtk}
%files -n rhsm-gtk
%dir %{python_sitearch}/subscription_manager/gui
%{python_sitearch}/subscription_manager/gui/*.py*
%{python_sitearch}/subscription_manager/gui/data/ui/*.ui
%{python_sitearch}/subscription_manager/gui/data/glade/*.glade
%{python_sitearch}/subscription_manager/gui/data/icons/*.svg
%{python2_sitearch}/subscription_manager/gui/*.py*
%{python2_sitearch}/subscription_manager/gui/data/ui/*.ui
%{python2_sitearch}/subscription_manager/gui/data/glade/*.glade
%{python2_sitearch}/subscription_manager/gui/data/icons/*.svg
%if %{with python3}
%{python_sitearch}/subscription_manager/gui/__pycache__
%{python2_sitearch}/subscription_manager/gui/__pycache__
%endif
%endif
@ -877,9 +877,9 @@ install -m 644 %{_builddir}/%{buildsubdir}/etc-conf/ca/redhat-uep.pem %{buildroo
%files -n subscription-manager-migration
%dir %{python_sitearch}/subscription_manager/migrate
%{python_sitearch}/subscription_manager/migrate/*.py*
%{python2_sitearch}/subscription_manager/migrate/*.py*
%if %{with python3}
%{python_sitearch}/subscription_manager/migrate/__pycache__
%{python2_sitearch}/subscription_manager/migrate/__pycache__
%endif
%attr(755,root,root) %{_sbindir}/rhn-migrate-classic-to-rhsm
@ -913,7 +913,7 @@ install -m 644 %{_builddir}/%{buildsubdir}/etc-conf/ca/redhat-uep.pem %{buildroo
%if %{with python3}
%{rhsm_plugins_dir}/__pycache__
%endif
%{python_sitearch}/subscription_manager/plugin/container.py*
%{python2_sitearch}/subscription_manager/plugin/container.py*
# Copying Red Hat CA cert into each directory:
%attr(755,root,root) %dir %{_sysconfdir}/docker/certs.d/cdn.redhat.com
@ -925,9 +925,9 @@ install -m 644 %{_builddir}/%{buildsubdir}/etc-conf/ca/redhat-uep.pem %{buildroo
%files -n subscription-manager-plugin-ostree
%{_sysconfdir}/rhsm/pluginconf.d/ostree_content.OstreeContentPlugin.conf
%{rhsm_plugins_dir}/ostree_content.py*
%{python_sitearch}/subscription_manager/plugin/ostree/*.py*
%{python2_sitearch}/subscription_manager/plugin/ostree/*.py*
%if %{with python3}
%{python_sitearch}/subscription_manager/plugin/ostree/__pycache__
%{python2_sitearch}/subscription_manager/plugin/ostree/__pycache__
%endif
%endif
@ -945,13 +945,13 @@ install -m 644 %{_builddir}/%{buildsubdir}/etc-conf/ca/redhat-uep.pem %{buildroo
%if %use_dnf
%files -n dnf-plugin-subscription-manager
%{python_sitearch}/dnf-plugins/*
%{python2_sitearch}/dnf-plugins/*
%endif
%files -n %{rhsm_package_name}
%dir %{python_sitearch}/rhsm
%{python_sitearch}/rhsm/*
%{python2_sitearch}/rhsm/*
%if %{with python2_rhsm}
%files -n python2-subscription-manager-rhsm