X-Git-Url: http://git.onelab.eu/?p=plewww.git;a=blobdiff_plain;f=plewww.spec;h=b98ba01dd7dc88cc0d14786fce8f11ca9ee1c066;hp=b11d033b249b4edabd5c5b614a265a2f0d17b51b;hb=HEAD;hpb=aa46be90d7bdda86444bbac5381505b89821f6d1 diff --git a/plewww.spec b/plewww.spec index b11d033..39e421e 100644 --- a/plewww.spec +++ b/plewww.spec @@ -1,10 +1,9 @@ # what the myplc rpm requires %define name plewww -%define version 5.2 -%define taglevel 9 +%define version 5.3 +%define taglevel 0 # no need to mention pldistro as this module differs in both distros -#%define release %{taglevel}%{?pldistro:.%{pldistro}}%{?date:.%{date}} %define release %{taglevel}%{?date:.%{date}} Summary: PlanetLab Europe (PLC) Web Pages @@ -17,6 +16,8 @@ Source0: %{name}-%{version}.tar.gz BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root BuildArch: noarch BuildRequires: python +# for patching drupal session code +BuildRequires: ed Vendor: OneLab Packager: OneLab @@ -106,9 +107,14 @@ for module in user node; do cp -f /var/www/html/drupal-hacks/${module}.module /var/www/html/modules/${module}.module done popd +# hack drupal's session handler for php8 +pushd /var/www/html/includes +bash /var/www/html/drupal-hacks/patch-session-inc.sh +popd # create myslice.log and change its ownership -touch /var/log/myslice.log -chown apache:apache /var/log/myslice.log +mkdir -p /var/log/myslice +touch /var/log/myslice/myslice.log +chown apache:apache /var/log/myslice/myslice.log %clean rm -rf $RPM_BUILD_ROOT @@ -125,6 +131,9 @@ rm -rf $RPM_BUILD_ROOT /var/www/html/plekit %changelog +* Sat Apr 30 2022 Thierry Parmentelat - plewww-5.3-0 +- for php8 on fedora35 + * Wed May 16 2018 Thierry - plewww-5.2-9 - not too clean patches for r2lab: - * search for a file named /etc/planetlab/php/person-registration.txt