Hello community,

here is the log from the commit of package adminer for openSUSE:Factory checked 
in at 2019-05-03 22:47:12
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/adminer (Old)
 and      /work/SRC/openSUSE:Factory/.adminer.new.5148 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "adminer"

Fri May  3 22:47:12 2019 rev:18 rq:700233 version:4.7.1

Changes:
--------
--- /work/SRC/openSUSE:Factory/adminer/adminer.changes  2019-01-25 
22:44:46.887123463 +0100
+++ /work/SRC/openSUSE:Factory/.adminer.new.5148/adminer.changes        
2019-05-03 22:47:19.507892984 +0200
@@ -1,0 +2,6 @@
+Mon Mar 18 21:29:43 UTC 2019 - Jan Engelhardt <[email protected]>
+
+- Replace %__-type macro indirections.
+- Replace bash-specific syntax in scriptlets by POSIX sh.
+
+-------------------------------------------------------------------

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ adminer.spec ++++++
--- /var/tmp/diff_new_pack.hQqZBA/_old  2019-05-03 22:47:20.155894472 +0200
+++ /var/tmp/diff_new_pack.hQqZBA/_new  2019-05-03 22:47:20.159894482 +0200
@@ -48,7 +48,7 @@
 
 %description
 Adminer (formerly phpMinAdmin) is a full-featured database management tool
-written in PHP. Conversely to phpMyAdmin, it consist of a single file ready to
+written in PHP. Conversely to phpMyAdmin, it consists of a single file ready to
 deploy to the target server. Adminer is available for MySQL, PostgreSQL, 
SQLite,
 MS SQL, Oracle, Firebird, SimpleDB, Elasticsearch and MongoDB.
 
@@ -164,19 +164,19 @@
 
 %install
 # Remove version from file names.
-%{__mv} adminer-%{version}.php adminer.php
-%{__mv} editor-%{version}.php editor.php
+mv adminer-%{version}.php adminer.php
+mv editor-%{version}.php editor.php
 
 # Install files in datadir.
-%{__install} -d -m 0755 %{buildroot}%{apache_datadir}/%{name}
-%{__cp} -R adminer.php editor.php designs/ \
+install -d -m 0755 %{buildroot}%{apache_datadir}/%{name}
+cp -R adminer.php editor.php designs/ \
   %{buildroot}%{apache_datadir}/%{name}
 
 # Default to hever theme.
 ln -s %{apache_datadir}/%{name}/designs/hever/adminer.css \
   %{buildroot}%{apache_datadir}/%{name}
 
-%{__install} -D -m 0644 %{SOURCE1} 
%{buildroot}%{apache_sysconfdir}/conf.d/%{name}.conf
+install -D -m 0644 %{SOURCE1} 
%{buildroot}%{apache_sysconfdir}/conf.d/%{name}.conf
 # Fix paths in httpd config.
 sed -i -e "s,@apache_datadir@,%{apache_datadir},g" -e "s,@name@,%{name},g" \
   %{buildroot}%{apache_sysconfdir}/conf.d/%{name}.conf
@@ -189,7 +189,7 @@
 if [ -x /usr/sbin/a2enmod ] ; then
   # Get installed php_version (5 or 7).
   php_version=$(php -v | grep '(cli)' | awk '{print $2}' | awk -F'.' '{print 
$1}')
-  if [[ -n ${php_version} ]]; then
+  if [ -n "$php_version" ]; then
     a2enmod -q php${php_version} || a2enmod php${php_version}
     a2enmod -q version || a2enmod version
   fi
@@ -198,14 +198,14 @@
 %if 0%{?suse_version} < 1310
 %restart_on_update apache2
 #%%else
-#systemctl try-restart apache2 &>/dev/null
+#systemctl try-restart apache2 >/dev/null
 %endif
 
 %postun
 %if 0%{?suse_version} < 1310
 %restart_on_update apache2
 #%%else
-#systemctl try-restart apache2 &>/dev/null
+#systemctl try-restart apache2 >/dev/null
 %endif
 
 %files


Reply via email to