Skip to content
Snippets Groups Projects
Commit e4bda311 authored by Sergey Yakubov's avatar Sergey Yakubov
Browse files

update cmakefiles

parent 70d0e24c
Branches
Tags
No related merge requests found
......@@ -12,13 +12,13 @@ if ("rpm" IN_LIST BUILD_PYTHON_PACKAGES)
ADD_CUSTOM_TARGET(python-rpm-consumer ALL
COMMAND PACKAGE_PREFIX=python- python setup.py bdist_rpm --release=1.${PACKAGE_RELEASE_SUFFIX}
--requires=numpy --binary-only
COMMAND rm -f dist/python*.gz dist/*debuginfo*
COMMAND rm -f dist/python*.gz dist/*debuginfo* dist/*debugsource*
)
ADD_CUSTOM_TARGET(python3-rpm-consumer ALL
COMMAND PACKAGE_PREFIX=python3- python3 setup.py bdist_rpm --release=1.${PACKAGE_RELEASE_SUFFIX}
--requires=python3-numpy --binary-only
COMMAND rm -f dist/python3*.gz dist/*debuginfo*
COMMAND rm -f dist/python3*.gz dist/*debuginfo* dist/*debugsource*
)
ADD_DEPENDENCIES(python3-rpm-consumer copy_python_dist-consumer)
ADD_DEPENDENCIES(python-rpm-consumer copy_python_dist-consumer)
......
......@@ -7,13 +7,13 @@ if ("rpm" IN_LIST BUILD_PYTHON_PACKAGES)
ADD_CUSTOM_TARGET(python-rpm-producer ALL
COMMAND PACKAGE_PREFIX=python- python setup.py bdist_rpm --release=1.${PACKAGE_RELEASE_SUFFIX}
--requires=numpy --binary-only
COMMAND rm -f dist/python*.gz dist/*debuginfo*
COMMAND rm -f dist/python*.gz dist/*debuginfo* dist/*debugsource*
)
ADD_CUSTOM_TARGET(python3-rpm-producer ALL
COMMAND PACKAGE_PREFIX=python3- python3 setup.py bdist_rpm --release=1.${PACKAGE_RELEASE_SUFFIX}
--requires=python3-numpy --binary-only
COMMAND rm -f dist/python3*.gz dist/*debuginfo*
COMMAND rm -f dist/python3*.gz dist/*debuginfo* dist/*debugsource*
)
ADD_DEPENDENCIES(python3-rpm-producer copy_python_dist-producer)
ADD_DEPENDENCIES(python-rpm-producer copy_python_dist-producer)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment