--- rpms/smeserver-mediawiki/contribs10/smeserver-mediawiki.spec 2022/06/03 09:35:35 1.10 +++ rpms/smeserver-mediawiki/contribs10/smeserver-mediawiki.spec 2022/06/08 12:13:07 1.11 @@ -1,9 +1,9 @@ -# $Id: smeserver-mediawiki.spec,v 1.9 2022/06/01 13:28:34 brianr Exp $ +# $Id: smeserver-mediawiki.spec,v 1.10 2022/06/03 09:35:35 brianr Exp $ # Authority: ber_die # Name: Dietmar Berteld %define name smeserver-mediawiki -%define version 1.38.0 +%define version 1.38.1 %define release 1 Summary: Mediawiki Web Application for SME Server 7.x based on Mediawiki 1.38.0 @@ -13,6 +13,7 @@ Release: %{release}%{?dist} License: GPL Group: /Web/Applications Source: %{name}-%{version}.tar.gz +Patch0: smeserver-mediawiki-1.38.0-fix-up-sql-create.patch #Patch0: smeserver-mediawiki-1.37.2-Fix-up-password-generation-and-localsettings.patch #Patch1: smeserver-mediawiki-1.6.10-Update-to-SME10.patch @@ -31,6 +32,12 @@ After installation open your webbrowser http://your_e-smith-server_adress/wiki %changelog +* Wed Jun 08 2022 Brian Read 1.38.0-2.sme +- Update version to Mediawiki-1.38.1 [sme: 11987] + +* Fri Jun 03 2022 Brian Read 1.38.0-2.sme +- update sql create [SME: 11987] + * Fri Jun 03 2022 Brian Read 1.38.0-1.sme - Rollup tar file to include mediawiki 1.38.0 [SME: 11987] @@ -93,7 +100,8 @@ rm -rf $RPM_BUILD_ROOT %setup -#%patch0 -p1 +%patch0 -p1 + #%patch1 -p1 %build @@ -151,7 +159,7 @@ rm -rf lang* #Untar application echo "Decompressing files..." mkdir -p $HTMLDIR -tar xzf $INSTALLDIR/mediawiki-1.37.2.tar.gz -C /opt +tar xzf $INSTALLDIR/mediawiki-$MEDIAWIKIVERSION.tar.gz -C /opt case $UPDATE in 0) mv -f /opt/mediawiki-$MEDIAWIKIVERSION/* $HTMLDIR ;; *) cp -ufR /opt/mediawiki-$MEDIAWIKIVERSION/* $HTMLDIR --reply=yes ;; @@ -247,6 +255,7 @@ echo "For more details, see http://wiki. echo "-------------------------------------------------------------------------------" %preun +MEDIAWIKIVERSION='1.38.0' INSTALLDIR=/usr/share/doc/mediawiki-$MEDIAWIKIVERSION/Sources if [ $1 = 0 ] ; then mv $INSTALLDIR/DO_NOT_USE_OR_DELETE/MW-Full-Uninstall.sh /root/