* packaging/rhel/sogo.spec: revert last commit. Will be handled in the makefile
Monotone-Parent: 1447a01e5c74f601142742ed11b455e307cc9051 Monotone-Revision: e85beb8f93ffc2c69838b75d3a43926981cbe855 Monotone-Author: jraby@inverse.ca Monotone-Date: 2012-08-14T16:28:19maint-2.0.2
parent
8bcffcfeb5
commit
47555152b8
|
@ -3,13 +3,6 @@
|
||||||
%global oc_build_depends samba4 openchange
|
%global oc_build_depends samba4 openchange
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
%{!?python_sys_pyver: %global python_sys_pyver %(/usr/bin/python -c "import sys; print sys.hexversion")}
|
|
||||||
|
|
||||||
# if hex(sys.hexversion) < 0x02060000
|
|
||||||
%if %{python_sys_pyver} < 33947648
|
|
||||||
%global __python /usr/bin/python2.6
|
|
||||||
%endif
|
|
||||||
|
|
||||||
Summary: SOGo
|
Summary: SOGo
|
||||||
Name: sogo
|
Name: sogo
|
||||||
Version: %{sogo_version}
|
Version: %{sogo_version}
|
||||||
|
@ -140,15 +133,6 @@ SOGo backend for OpenChange
|
||||||
rm -fr ${RPM_BUILD_ROOT}
|
rm -fr ${RPM_BUILD_ROOT}
|
||||||
%setup -q -n SOGo-%{sogo_version}
|
%setup -q -n SOGo-%{sogo_version}
|
||||||
|
|
||||||
# fix python path for python2.4 distro
|
|
||||||
%if %{python_sys_pyver} < 33947648
|
|
||||||
for pyscript in OpenChange/samba-get-config.py; do
|
|
||||||
mv $pyscript $pyscript.orig
|
|
||||||
sed -e 's!/usr/bin/python!/usr/bin/python2.6!' <$pyscript.orig >$pyscript
|
|
||||||
rm $pyscript.orig
|
|
||||||
done
|
|
||||||
%endif
|
|
||||||
|
|
||||||
# ****************************** build ********************************
|
# ****************************** build ********************************
|
||||||
%build
|
%build
|
||||||
. /usr/share/GNUstep/Makefiles/GNUstep.sh
|
. /usr/share/GNUstep/Makefiles/GNUstep.sh
|
||||||
|
|
Loading…
Reference in New Issue