Generating rpm macros with commands doesn't seem to work now. Replace them
OBS-URL: https://build.opensuse.org/package/show/network:ha-clustering:Factory/pacemaker?expand=0&rev=57
This commit is contained in:
parent
0df6f39bce
commit
2b929800db
@ -28,8 +28,10 @@
|
|||||||
# Needed so that the -devel package is multilib compliant
|
# Needed so that the -devel package is multilib compliant
|
||||||
%global __os_install_post %(echo '%{__os_install_post}' | sed -e 's!/usr/lib[^[:space:]]*/brp-python-bytecompile[[:space:]].*$!!g')
|
%global __os_install_post %(echo '%{__os_install_post}' | sed -e 's!/usr/lib[^[:space:]]*/brp-python-bytecompile[[:space:]].*$!!g')
|
||||||
|
|
||||||
%global rawhide %(test ! -e /etc/yum.repos.d/fedora-rawhide.repo; echo $?)
|
#%global rawhide %(test ! -e /etc/yum.repos.d/fedora-rawhide.repo; echo $?)
|
||||||
%global cs_version %(pkg-config corosync --modversion | awk -F . '{print $1}')
|
%global rawhide 0
|
||||||
|
#%global cs_version %(pkg-config corosync --modversion | awk -F . '{print $1}')
|
||||||
|
%global cs_version 2
|
||||||
%global py_site %(python -c "from distutils.sysconfig import get_python_lib; print(get_python_lib(1))")
|
%global py_site %(python -c "from distutils.sysconfig import get_python_lib; print(get_python_lib(1))")
|
||||||
|
|
||||||
# Conditionals
|
# Conditionals
|
||||||
@ -736,7 +738,8 @@ fi
|
|||||||
|
|
||||||
%files cts
|
%files cts
|
||||||
%defattr(-,root,root)
|
%defattr(-,root,root)
|
||||||
%{py_site}/cts
|
#%{py_site}/cts
|
||||||
|
%{py_sitedir}/cts
|
||||||
%{_datadir}/pacemaker/tests/cts
|
%{_datadir}/pacemaker/tests/cts
|
||||||
%{_libexecdir}/pacemaker/lrmd_test
|
%{_libexecdir}/pacemaker/lrmd_test
|
||||||
%doc COPYING.LIB
|
%doc COPYING.LIB
|
||||||
|
Loading…
Reference in New Issue
Block a user