Hello community,
here is the log from the commit of package libzypp-plugin-appdata for
openSUSE:Factory checked in at 2018-04-26 13:22:09
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/libzypp-plugin-appdata (Old)
and /work/SRC/openSUSE:Factory/.libzypp-plugin-appdata.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "libzypp-plugin-appdata"
Thu Apr 26 13:22:09 2018 rev:18 rq:600294 version:1.0.1+git.20180327
Changes:
--------
---
/work/SRC/openSUSE:Factory/libzypp-plugin-appdata/libzypp-plugin-appdata.changes
2018-03-30 11:57:37.446993272 +0200
+++
/work/SRC/openSUSE:Factory/.libzypp-plugin-appdata.new/libzypp-plugin-appdata.changes
2018-04-26 13:22:13.650812872 +0200
@@ -1,0 +2,8 @@
+Fri Apr 20 13:45:17 UTC 2018 - [email protected]
+
+- Drop the post scriptlet attempting to fix boo#1009745: at the
+ time this script is executed on a fresh install, the repos are
+ not yet setup in the chroot, resulting in the zypper lr call to
+ fail and the AS data still not being initialzied.
+
+-------------------------------------------------------------------
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ libzypp-plugin-appdata.spec ++++++
--- /var/tmp/diff_new_pack.NmNdZ2/_old 2018-04-26 13:22:15.722737030 +0200
+++ /var/tmp/diff_new_pack.NmNdZ2/_new 2018-04-26 13:22:15.722737030 +0200
@@ -70,17 +70,6 @@
install -Dm 0755 InstallAppdata.sh
%{buildroot}%{_prefix}/lib/zypp/plugins/appdata/InstallAppdata.sh
install -Dm 0755 AsHelper.py %{buildroot}%{_libexecdir}/AsHelper
-%post
-# On initial installation, we enforce an AppStream refresh
-# ZYPP_PLUGIN_APPDATA_FORCE_COLLECT=1 instructs zypper to fire off the appdata
plugin
-# which normally would only happen on repo refresh; but for 'non-rolling'
products,
-# the default repos are all static and don't refresh. This would leave
software centers
-# in a unusable state
-# Addresses https://bugzilla.opensuse.org/show_bug.cgi?id=1009745
-if [ $1 = 1 ]; then
- ZYPP_PLUGIN_APPDATA_FORCE_COLLECT=1 zypper -n lr >/dev/null 2>&1
-fi
-
%files
# zypp plugin triggering AppData update on repo refresh
%dir %{_prefix}/lib/zypp