diff --git a/libzypp-plugin-appdata.changes b/libzypp-plugin-appdata.changes index 0f7b89b..0bf5073 100644 --- a/libzypp-plugin-appdata.changes +++ b/libzypp-plugin-appdata.changes @@ -1,3 +1,11 @@ +------------------------------------------------------------------- +Fri Apr 20 13:45:17 UTC 2018 - dimstar@opensuse.org + +- 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. + ------------------------------------------------------------------- Tue Mar 27 11:26:55 UTC 2018 - dimstar@opensuse.org diff --git a/libzypp-plugin-appdata.spec b/libzypp-plugin-appdata.spec index ba70aba..aaac340 100644 --- a/libzypp-plugin-appdata.spec +++ b/libzypp-plugin-appdata.spec @@ -70,17 +70,6 @@ cp appdata-extra/*/* %{buildroot}%{_datadir}/appdata-extra/ 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