Blame SOURCES/macros.additional.python27

be9dcc
# override __os_install_post for this collection
be9dcc
# the python27_os_install_post macro is defined in macros.python2.python27 in python27-python-devel
be9dcc
# the name is intentionally hardcoded to always provide the same name
e3e5b5
%@scl@_python_provides /usr/lib/rpm/pythondeps-scl-27.sh --provides %{?scl:@vendorscl@-}
e3e5b5
%@scl@_python_requires /usr/lib/rpm/pythondeps-scl-27.sh --requires %{?scl:@vendorscl@-}
e3e5b5
be9dcc
%scl_package_override() %{expand:%{?@scl@_os_install_post:%global __os_install_post %@scl@_os_install_post}
be9dcc
%global __python_requires %@scl@_python_requires
be9dcc
%global __python_provides %@scl@_python_provides
be9dcc
# macros commonly used in specfiles
be9dcc
%global __python2 %@scl@__python2
be9dcc
%global __python %@scl@__python2
be9dcc
%global python2_sitelib %@scl@python2_sitelib
be9dcc
%global python_sitelib %@scl@python2_sitelib
be9dcc
%global python2_sitearch %@scl@python2_sitearch
be9dcc
%global python_sitearch %@scl@python2_sitearch
be9dcc
%global python2_version %@scl@python2_version
be9dcc
%global python_version %@scl@python2_version
e3e5b5
%global scl_no_vendor @scl@
be9dcc
}