author Ryan Kelly <>
Tue, 14 May 2013 12:18:22 +1000
changeset 1045 1c52e9d800a2566da1e598beed1c13612243f7a2
parent 1041 dcab93c5548b88a00606335ebc096e0b7577fea1
child 1048 e7842b89ed581244a0ca1e3fdbe4734f18bd23d6
permissions -rw-r--r--
Bump version number in .spec file

%define name python26-services
%define pythonname Services
%define version 2.13
%define unmangled_version %{version}
%define release 4

Summary: Services core tools
Name: %{name}
Version: %{version}
Release: %{release}
Source0: %{pythonname}-%{unmangled_version}.tar.gz
License: MPL
Group: Development/Libraries
BuildRoot: %{_tmppath}/%{pythonname}-%{version}-%{release}-buildroot
Prefix: %{_prefix}
BuildArch: noarch
Vendor: Tarek Ziade <>
Requires: nginx memcached gunicorn openldap-devel python26 python26-memcached python26-setuptools python26-webob python26-paste python26-pastedeploy python26-sqlalchemy python26-simplejson python26-routes python26-ldap python26-pymysql python26-pymysql_sa python26-cef
Obsoletes: python26-synccore



Core library that provides these features:

- CEF logger
- Config reader/writer
- Plugin system
- Base WSGI application for Services servers
- Error codes for Sync
- Authentication back ends for Services
- Captcha wrappers

%setup -n %{pythonname}-%{unmangled_version} -n %{pythonname}-%{unmangled_version}

python2.6 build

python2.6 install --single-version-externally-managed --root=$RPM_BUILD_ROOT --record=INSTALLED_FILES
# This works around a problem with rpmbuild, where it pre-gnerates .pyo
# files that aren't included in the INSTALLED_FILES list by bdist_rpm.
cat INSTALLED_FILES | grep '.pyc$' | sed 's/.pyc$/.pyo/' >> INSTALLED_FILES