SHA256
1
0
forked from pool/matomo

Accepting request 858078 from home:ecsos:server

- Update to 4.1.0
  - No changelog from upstream at this time.

OBS-URL: https://build.opensuse.org/request/show/858078
OBS-URL: https://build.opensuse.org/package/show/network:utilities/matomo?expand=0&rev=88
This commit is contained in:
Eric Schirra 2020-12-22 09:15:51 +00:00 committed by Git OBS Bridge
parent f490eea24a
commit 5d14c04b5d
4 changed files with 15 additions and 10 deletions

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:1bf1983fc70322f28efb983196ede47b0cffb79ef657cc4861f244365b76fd31
size 14798907

3
matomo-4.1.0.tar.gz Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:07dbcc1bde8af5e4ce3249190739ab668e90b2c5df012d5d8002713a5ea5c5c1
size 14720086

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Tue Dec 22 08:24:09 UTC 2020 - ecsos <ecsos@opensuse.org>
- Update to 4.1.0
- No changelog from upstream at this time.
-------------------------------------------------------------------
Mon Dec 14 10:02:54 UTC 2020 - ecsos <ecsos@opensuse.org>

View File

@ -21,7 +21,7 @@
%{!?_tmpfilesdir:%global _tmpfilesdir %{_prefix}/lib/tmpfiles.d}
Name: matomo
Version: 4.0.5
Version: 4.1.0
Release: 0
Summary: Web analytics platform
License: GPL-3.0-or-later
@ -122,13 +122,15 @@ do
sed -i "/\W\"${i}\"\W/d" config/manifest.inc.php
done
# Insert new hashes for chanded files
for file in console 'vendor/leafo/lessphp/plessc' 'vendor/tecnickcom/tcpdf/tools/tcpdf_addfont.php' 'config/global.ini.php' 'core/CliMulti/Output.php' 'plugins/CoreUpdater/Commands/Update.php' 'vendor/matomo/matomo-php-tracker/run_tests.sh'
for file in console 'vendor/tecnickcom/tcpdf/tools/tcpdf_addfont.php' 'config/global.ini.php' 'core/CliMulti/Output.php' 'plugins/CoreUpdater/Commands/Update.php' 'vendor/matomo/matomo-php-tracker/run_tests.sh' 'vendor/wikimedia/less.php/bin/lessc'
do
size=$(ls -l $file | awk '{ print $5 }')
checksum=$(md5sum $file | awk '{ print $1 }')
file2=$(echo "$file" | sed 's/\//\\\//g')
sed -i "/\W\"$file2\"\W/c \"$file\" => array(\"$size\", \"$checksum\")," config/manifest.inc.php
done
# matomo integrity check don't want this file
rm vendor/bin/lessc
%build
# nothing to build
@ -236,15 +238,12 @@ fi
%attr(0770,%{apache_user},%{apache_group}) %{apache_serverroot}/%{name}/misc/log-analytics/import_logs.py
%attr(0770,%{apache_user},%{apache_group}) %{apache_serverroot}/%{name}/misc/composer/clean-xhprof.sh
%attr(0770,%{apache_user},%{apache_group}) %{apache_serverroot}/%{name}/misc/composer/build-xhprof.sh
#%%attr(0770,%%{apache_user},%%{apache_group}) %%{apache_serverroot}/%%{name}/plugins/TestRunner/scripts/on_instance_launch.sh
%attr(0770,%{apache_user},%{apache_group}) %{apache_serverroot}/%{name}/vendor/leafo/lessphp/package.sh
%attr(0770,%{apache_user},%{apache_group}) %{apache_serverroot}/%{name}/vendor/leafo/lessphp/lessify
%attr(0770,%{apache_user},%{apache_group}) %{apache_serverroot}/%{name}/vendor/leafo/lessphp/plessc
%attr(0770,%{apache_user},%{apache_group}) %{apache_serverroot}/%{name}/vendor/pear/archive_tar/sync-php4
%attr(0770,%{apache_user},%{apache_group}) %{apache_serverroot}/%{name}/vendor/szymach/c-pchart/coverage.sh
%attr(0770,%{apache_user},%{apache_group}) %{apache_serverroot}/%{name}/vendor/tecnickcom/tcpdf/tools/tcpdf_addfont.php
%attr(0770,%{apache_user},%{apache_group}) %{apache_serverroot}/%{name}/vendor/twig/twig/drupal_test.sh
%attr(0770,%{apache_user},%{apache_group}) %{apache_serverroot}/%{name}/vendor/matomo/matomo-php-tracker/run_tests.sh
%attr(0770,%{apache_user},%{apache_group}) %{apache_serverroot}/%{name}/vendor/wikimedia/less.php/bin/lessc
%{apache_serverroot}/%{name}/*
%files apache