X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=plcapi.spec;h=749eb185c6ab90fedb127c10729c38c901b14759;hb=79d959a7decd4af5b0b15e660bb3bd5bb5edfcaf;hp=8846023b41ba2b632f2e817fd3a9646ef8f69d3f;hpb=e48b0945a0f03a51019f72399ac9f0eeabb90211;p=plcapi.git diff --git a/plcapi.spec b/plcapi.spec index 8846023..749eb18 100644 --- a/plcapi.spec +++ b/plcapi.spec @@ -1,6 +1,6 @@ %define name plcapi -%define version 5.3 -%define taglevel 11 +%define version 5.4 +%define taglevel 1 %define release %{taglevel}%{?pldistro:.%{pldistro}}%{?date:.%{date}} @@ -52,21 +52,22 @@ Requires: memcached python-memcached ### avoid having yum complain about updates, as stuff is moving around # plc.d/api Conflicts: MyPLC <= 4.3 -# xmlrpc -Requires: php-xmlrpc - -# We use psycopg2 -# -# but we don't need to rebuild it as we depend on distro's packages - baris -# BuildRequires: postgresql-devel - -### # Standard xmlrpc.so that ships with PHP does not marshal NULL -### # for building the wsdl interface we used to require PyXML -### # but this has gone with f20 so turning this off for now -### BuildRequires: php-devel -### #BuildRequires: python-simplejson -### Obsoletes: php-xmlrpc -### Provides: php-xmlrpc + +#################### +# obsolete +#################### +# standard xmlrpc.so that ships with PHP does not marshal NULL +# prior to May 2017 we used to ship our own brew of xmlrpc but +# that does not build anymore on f25 +# So bottom line is: +# * don't use fedora's php-xmlrpc (no support for marshalling NULL) +# * don't use our own that is way too old +# * instead - thank you Ciro - we pull it as a git subtree from +# https://github.com/gggeek/phpxmlrpc.git +# that stuff requires the following though +Requires: php-xml +#################### + # PostgreSQL and SOAPpy are necessary to run the API server, but not # plcsh. Since the only supported method of running the server is via @@ -101,12 +102,6 @@ rm -rf $RPM_BUILD_ROOT mkdir -p $RPM_BUILD_ROOT/%{_bindir} ln -s %{_datadir}/plc_api/plcsh $RPM_BUILD_ROOT/%{_bindir}/plcsh -### mkdir -p $RPM_BUILD_ROOT/%{_sysconfdir}/php.d -### cat > $RPM_BUILD_ROOT/%{_sysconfdir}/php.d/xmlrpc.ini < - plcapi-5.4-1 +- define accessor for site tag disabled_registration (used in plewww-5.2-9) +- set disable_existing_loggers = False in logging config, that otherwise voids sfa logs + +* Sun Jul 16 2017 Thierry Parmentelat - plcapi-5.4-0 +- embed phpxmlrpc as a git subtree from github (OK with fedora24 and 25, probably sooner too) +- logs in /var/log/plcapi.log +- context managers for most open files + * Wed Feb 08 2017 Thierry Parmentelat - plcapi-5.3-11 - mostly issued for the R2lab deployment - *** major