Blame SOURCES/macros.additional.rh-python35

e46afb
# override __os_install_post for this collection
e46afb
# the @scl@* macros are defined in macros.python3.python33 in python33-python-devel
e46afb
# the name is intentionally hardcoded to always provide the same name
e46afb
%@scl@_python_provides /usr/lib/rpm/pythondeps-scl-35.sh --provides %{?scl:@vendorscl@-}
e46afb
%@scl@_python_requires /usr/lib/rpm/pythondeps-scl-35.sh --requires %{?scl:@vendorscl@-}
e46afb
e46afb
%scl_package_override() %{expand:%{?@scl@_os_install_post:%global __os_install_post %@scl@_os_install_post}
e46afb
%global __python_requires %@scl@_python_requires
e46afb
%global __python_provides %@scl@_python_provides
e46afb
# macros commonly used in specfiles
e46afb
%global __python3 %@scl@__python3
e46afb
%global __python %@scl@__python3
e46afb
%global python3_sitelib %@scl@python3_sitelib
e46afb
%global python_sitelib %@scl@python3_sitelib
e46afb
%global python3_sitearch %@scl@python3_sitearch
e46afb
%global python_sitearch %@scl@python3_sitearch
e46afb
%global python3_version %@scl@python3_version
e46afb
%global python_version %@scl@python3_version
e46afb
%global scl_no_vendor @scl@
e46afb
}
e46afb