X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=PLCAPI.spec;h=a5acecf1efa81257cfb3a0096f5402f71697a534;hb=f8c9967b0ba08726cca5a5783e62bc50d307374c;hp=1e989263c4ffe2aa218b3ce5a2a3c31239da6fdb;hpb=51ba38387b55d21a159e84b20a12bdcf961180b1;p=plcapi.git diff --git a/PLCAPI.spec b/PLCAPI.spec index 1e98926..a5acecf 100644 --- a/PLCAPI.spec +++ b/PLCAPI.spec @@ -43,7 +43,9 @@ Requires: python-twisted-words Requires: python-twisted-web # ldap Requires: python-ldap - +# for memcache +Requires: python-memcached +Requires: memcached ### avoid having yum complain about updates, as stuff is moving around # plc.d/api Conflicts: MyPLC <= 4.3 @@ -117,6 +119,10 @@ install -D -m 755 omf/omf_slicemgr.py $RPM_BUILD_ROOT/usr/bin/omf_slicemgr.py install -D -m 755 omf/reset_xmpp_pubsub_nodes.py $RPM_BUILD_ROOT/usr/bin/reset_xmpp_pubsub_nodes.py mkdir -p $RPM_BUILD_ROOT/var/log/omf +# Install ratelimit log +touch $RPM_BUILD_ROOT/var/log/plc_api_ratelimit.log +chown apache:apache $RPM_BUILD_ROOT/var/log/plc_api_ratelimit.log + %clean rm -rf $RPM_BUILD_ROOT @@ -136,6 +142,7 @@ rm -rf $RPM_BUILD_ROOT /var/www/html/wsdl/plcapi.wsdl /usr/bin/omf_slicemgr.py* /usr/bin/reset_xmpp_pubsub_nodes.py* +/var/log/plc_api_ratelimit.log %changelog