* 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:19
maint-2.0.2
Jean Raby 2012-08-14 16:28:19 +00:00
parent 8bcffcfeb5
commit 47555152b8
1 changed files with 0 additions and 16 deletions

View File

@ -3,13 +3,6 @@
%global oc_build_depends samba4 openchange
%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
Name: sogo
Version: %{sogo_version}
@ -140,15 +133,6 @@ SOGo backend for OpenChange
rm -fr ${RPM_BUILD_ROOT}
%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
. /usr/share/GNUstep/Makefiles/GNUstep.sh