Accepting request 600294 from GNOME:Factory
- 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. (forwarded request 600291 from dimstar) OBS-URL: https://build.opensuse.org/request/show/600294 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/libzypp-plugin-appdata?expand=0&rev=18
This commit is contained in:
commit
05a1ca0381
@ -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
|
||||
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user