commit libzypp-plugin-appdata for openSUSE:Factory
Hello community, here is the log from the commit of package libzypp-plugin-appdata for openSUSE:Factory checked in at 2020-09-09 17:46:22 Comparing /work/SRC/openSUSE:Factory/libzypp-plugin-appdata (Old) and /work/SRC/openSUSE:Factory/.libzypp-plugin-appdata.new.3399 (New) Package is "libzypp-plugin-appdata" Wed Sep 9 17:46:22 2020 rev:22 rq:832499 version:1.0.1+git.20180426 Changes: --- /work/SRC/openSUSE:Factory/libzypp-plugin-appdata/libzypp-plugin-appdata.changes 2019-04-01 12:32:08.425778832 +0200 +++ /work/SRC/openSUSE:Factory/.libzypp-plugin-appdata.new.3399/libzypp-plugin-appdata.changes 2020-09-09 17:46:40.202413319 +0200 @@ -1,0 +2,6 @@ +Fri Sep 4 12:46:34 UTC 2020 - Dominique Leuenberger + +- Install ASHelper to %{_prefix}/lib: the scripts hardcode this + path. + +--- Other differences: -- ++ libzypp-plugin-appdata.spec ++ --- /var/tmp/diff_new_pack.m3aiVQ/_old 2020-09-09 17:46:40.818413820 +0200 +++ /var/tmp/diff_new_pack.m3aiVQ/_new 2020-09-09 17:46:40.818413820 +0200 @@ -1,7 +1,7 @@ # # spec file for package libzypp-plugin-appdata # -# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2020 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -12,7 +12,7 @@ # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. -# Please submit bugfixes or comments via http://bugs.opensuse.org/ +# Please submit bugfixes or comments via https://bugs.opensuse.org/ # @@ -69,7 +69,7 @@ # Install AppData zypp plugin install -Dm 0755 InstallAppdata.py %{buildroot}%{_prefix}/lib/zypp/plugins/appdata/InstallAppdata -install -Dm 0755 AsHelper.py %{buildroot}%{_libexecdir}/AsHelper +install -Dm 0755 AsHelper.py %{buildroot}%{_prefix}/lib/AsHelper # Install zypper helper command install -Dm 0755 zypper-appstream-cache %{buildroot}%{_prefix}/lib/zypper/commands/zypper-appstream-cache @@ -99,7 +99,7 @@ %dir %{_prefix}/lib/zypper %dir %{_prefix}/lib/zypper/commands %{_prefix}/lib/zypper/commands/zypper-appstream-cache -%{_libexecdir}/AsHelper +%{_prefix}/lib/AsHelper %{_unitdir}/appstream-sync-cache.service %files -n openSUSE-appdata-extra
commit libzypp-plugin-appdata for openSUSE:Factory
Hello community, here is the log from the commit of package libzypp-plugin-appdata for openSUSE:Factory checked in at 2019-04-01 12:32:06 Comparing /work/SRC/openSUSE:Factory/libzypp-plugin-appdata (Old) and /work/SRC/openSUSE:Factory/.libzypp-plugin-appdata.new.25356 (New) Package is "libzypp-plugin-appdata" Mon Apr 1 12:32:06 2019 rev:21 rq:689473 version:1.0.1+git.20180426 Changes: --- /work/SRC/openSUSE:Factory/libzypp-plugin-appdata/libzypp-plugin-appdata.changes 2018-05-07 14:50:36.139799485 +0200 +++ /work/SRC/openSUSE:Factory/.libzypp-plugin-appdata.new.25356/libzypp-plugin-appdata.changes 2019-04-01 12:32:08.425778832 +0200 @@ -1,0 +2,10 @@ +Thu Mar 28 12:54:44 UTC 2019 - Dominique Leuenberger + +- Only Recommend instead of require AppStream: Allow distros like + SLE not to ship AppStream as part of the main channel, but only + in PK for example. SLE only ships GNOME Software, which does not + rely on the xapian database, so we don't need this cache being + refreshed. On SLE+PH or openSUSE, we also have KDE Discover, + where xapian becomes a topic (boo#1125898). + +--- Other differences: -- ++ libzypp-plugin-appdata.spec ++ --- /var/tmp/diff_new_pack.YJbPVb/_old 2019-04-01 12:32:08.993779008 +0200 +++ /var/tmp/diff_new_pack.YJbPVb/_new 2019-04-01 12:32:09.001779011 +0200 @@ -25,8 +25,8 @@ URL:https://wiki.gnome.org/Design/Apps/Software Source0:openSUSE-appstream-%{version}.tar.xz Source99: libzypp-plugin-appdata-rpmlintrc -# appstreamcli is provided by the AppStream package -Requires: AppStream +# appstreamcli is provided by the AppStream package. Let's pull it in when available, but ignore its absence +Recommends: AppStream # appstream-glib >= 0.3.6 is the first to correctly to appstream-util uninstall in /var/cache Requires: appstream-glib >= 0.3.6 # appdata hook was introduced in libzypp 14.29.4
commit libzypp-plugin-appdata for openSUSE:Factory
Hello community, here is the log from the commit of package libzypp-plugin-appdata for openSUSE:Factory checked in at 2018-05-07 14:50:33 Comparing /work/SRC/openSUSE:Factory/libzypp-plugin-appdata (Old) and /work/SRC/openSUSE:Factory/.libzypp-plugin-appdata.new (New) Package is "libzypp-plugin-appdata" Mon May 7 14:50:33 2018 rev:20 rq:602998 version:1.0.1+git.20180426 Changes: --- /work/SRC/openSUSE:Factory/libzypp-plugin-appdata/libzypp-plugin-appdata.changes 2018-04-30 22:49:50.112390916 +0200 +++ /work/SRC/openSUSE:Factory/.libzypp-plugin-appdata.new/libzypp-plugin-appdata.changes 2018-05-07 14:50:36.139799485 +0200 @@ -1,0 +2,5 @@ +Mon Apr 30 15:16:07 UTC 2018 - jeng...@inai.de + +- Switch summary to a noun phrase. + +--- Other differences: -- ++ libzypp-plugin-appdata.spec ++ --- /var/tmp/diff_new_pack.uVZ1WT/_old 2018-05-07 14:50:37.323762541 +0200 +++ /var/tmp/diff_new_pack.uVZ1WT/_new 2018-05-07 14:50:37.331762291 +0200 @@ -19,7 +19,7 @@ Name: libzypp-plugin-appdata Version:1.0.1+git.20180426 Release:0 -Summary:Extend libzypp to handle AppStream metadata +Summary:libzypp extension to handle AppStream metadata License:MIT AND CC0-1.0 Group: System/Libraries URL:https://wiki.gnome.org/Design/Apps/Software
commit libzypp-plugin-appdata for openSUSE:Factory
Hello community, here is the log from the commit of package libzypp-plugin-appdata for openSUSE:Factory checked in at 2018-04-30 22:49:48 Comparing /work/SRC/openSUSE:Factory/libzypp-plugin-appdata (Old) and /work/SRC/openSUSE:Factory/.libzypp-plugin-appdata.new (New) Package is "libzypp-plugin-appdata" Mon Apr 30 22:49:48 2018 rev:19 rq:601527 version:1.0.1+git.20180426 Changes: --- /work/SRC/openSUSE:Factory/libzypp-plugin-appdata/libzypp-plugin-appdata.changes 2018-04-26 13:22:13.650812872 +0200 +++ /work/SRC/openSUSE:Factory/.libzypp-plugin-appdata.new/libzypp-plugin-appdata.changes 2018-04-30 22:49:50.112390916 +0200 @@ -1,0 +2,14 @@ +Thu Apr 26 08:01:48 UTC 2018 - dims...@opensuse.org + +- Update to version 1.0.1+git.20180426: + * systemd-service: we only need local filesystem, no network. + +--- +Wed Apr 25 16:03:37 UTC 2018 - dims...@opensuse.org + +- Update to version 1.0.1+git.20180425: + * Rewrite InstallAppdata in python, having slightly better +control over the execution + * Add systemd service to resync the repodata cache (boo#1009745). + +--- Old: openSUSE-appstream-1.0.1+git.20180327.tar.xz New: libzypp-plugin-appdata-rpmlintrc openSUSE-appstream-1.0.1+git.20180426.tar.xz Other differences: -- ++ libzypp-plugin-appdata.spec ++ --- /var/tmp/diff_new_pack.0IIgWT/_old 2018-04-30 22:49:51.196351367 +0200 +++ /var/tmp/diff_new_pack.0IIgWT/_new 2018-04-30 22:49:51.204351075 +0200 @@ -17,13 +17,14 @@ Name: libzypp-plugin-appdata -Version:1.0.1+git.20180327 +Version:1.0.1+git.20180426 Release:0 Summary:Extend libzypp to handle AppStream metadata License:MIT AND CC0-1.0 Group: System/Libraries URL:https://wiki.gnome.org/Design/Apps/Software Source0:openSUSE-appstream-%{version}.tar.xz +Source99: libzypp-plugin-appdata-rpmlintrc # appstreamcli is provided by the AppStream package Requires: AppStream # appstream-glib >= 0.3.6 is the first to correctly to appstream-util uninstall in /var/cache @@ -67,16 +68,39 @@ cp appdata-extra/*/* %{buildroot}%{_datadir}/appdata-extra/ # Install AppData zypp plugin -install -Dm 0755 InstallAppdata.sh %{buildroot}%{_prefix}/lib/zypp/plugins/appdata/InstallAppdata.sh +install -Dm 0755 InstallAppdata.py %{buildroot}%{_prefix}/lib/zypp/plugins/appdata/InstallAppdata install -Dm 0755 AsHelper.py %{buildroot}%{_libexecdir}/AsHelper +# Install zypper helper command +install -Dm 0755 zypper-appstream-cache %{buildroot}%{_prefix}/lib/zypper/commands/zypper-appstream-cache + +# Install the systemd service, which triggers when /var/cache/app-info/xmls does not yet exist during a boot +install -dm 0755 %{buildroot}%{_unitdir} +install -m 0644 appstream-sync-cache.service %{buildroot}%{_unitdir} + +%preun +%service_del_preun appstream-sync-cache.service + +%pre +%service_add_pre appstream-sync-cache.service + +%post +%service_add_post appstream-sync-cache.service + +%postun +%service_del_postun appstream-sync-cache.service + %files # zypp plugin triggering AppData update on repo refresh %dir %{_prefix}/lib/zypp %dir %{_prefix}/lib/zypp/plugins %dir %{_prefix}/lib/zypp/plugins/appdata/ -%{_prefix}/lib/zypp/plugins/appdata/InstallAppdata.sh +%{_prefix}/lib/zypp/plugins/appdata/InstallAppdata +%dir %{_prefix}/lib/zypper +%dir %{_prefix}/lib/zypper/commands +%{_prefix}/lib/zypper/commands/zypper-appstream-cache %{_libexecdir}/AsHelper +%{_unitdir}/appstream-sync-cache.service %files -n openSUSE-appdata-extra %{_datadir}/appdata-extra/ ++ _servicedata ++ --- /var/tmp/diff_new_pack.0IIgWT/_old 2018-04-30 22:49:51.248349470 +0200 +++ /var/tmp/diff_new_pack.0IIgWT/_new 2018-04-30 22:49:51.248349470 +0200 @@ -1,4 +1,4 @@ https://github.com/DimStar77/openSUSE-appstream.git - 4852b6d6bcdc33e1d8c315657e3ffb8dfbf81410 \ No newline at end of file + 8708ff5b3330e28eefb228a78d719871ff5bd6da \ No newline at end of file ++ libzypp-plugin-appdata-rpmlintrc ++ # W: shlib-policy-missing-lib: false positive: this integrates with libzypp, name is correct addFilter("shlib-policy-missing-lib"); # W: suse-missing-rclink: the service is not meant to be manually started, hence the rcFOO link makes no sense addFilter("suse-missing-rclink"); ++ openSUSE-appstream-1.0.1+git.20180327.tar.xz -> openSUSE-appstream-1.0.1+git.20180426.tar.xz ++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore'
commit libzypp-plugin-appdata for openSUSE:Factory
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 - dims...@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. + +--- 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
commit libzypp-plugin-appdata for openSUSE:Factory
Hello community, here is the log from the commit of package libzypp-plugin-appdata for openSUSE:Factory checked in at 2018-03-30 11:57:33 Comparing /work/SRC/openSUSE:Factory/libzypp-plugin-appdata (Old) and /work/SRC/openSUSE:Factory/.libzypp-plugin-appdata.new (New) Package is "libzypp-plugin-appdata" Fri Mar 30 11:57:33 2018 rev:17 rq:592387 version:1.0.1+git.20180327 Changes: --- /work/SRC/openSUSE:Factory/libzypp-plugin-appdata/libzypp-plugin-appdata.changes 2018-03-24 16:08:20.906706308 +0100 +++ /work/SRC/openSUSE:Factory/.libzypp-plugin-appdata.new/libzypp-plugin-appdata.changes 2018-03-30 11:57:37.446993272 +0200 @@ -1,0 +2,19 @@ +Tue Mar 27 11:26:55 UTC 2018 - dims...@opensuse.org + +- Update to version 1.0.1+git.20180327: + * AsHelper: normalize the repo alias names + +--- +Tue Mar 27 08:27:00 UTC 2018 - dims...@opensuse.org + +- Start zypper lr with ZYPP_PLUGIN_APPDATA_FORCE_COLLECT=1 post + installation (boo#1009745). +- Add relevant Requires(post) to ensure packages are installed in + the right order: + + appstream-glib >= 0.3.6 + + python3-cmdln + + python3-createrepo_c + + libzypp >= 16.13.1 + + zypper + +--- Old: openSUSE-appstream-1.0.1+git.20180321.tar.xz New: openSUSE-appstream-1.0.1+git.20180327.tar.xz Other differences: -- ++ libzypp-plugin-appdata.spec ++ --- /var/tmp/diff_new_pack.IzaYyh/_old 2018-03-30 11:57:38.778945102 +0200 +++ /var/tmp/diff_new_pack.IzaYyh/_new 2018-03-30 11:57:38.782944958 +0200 @@ -17,7 +17,7 @@ Name: libzypp-plugin-appdata -Version:1.0.1+git.20180321 +Version:1.0.1+git.20180327 Release:0 Summary:Extend libzypp to handle AppStream metadata License:MIT AND CC0-1.0 @@ -30,9 +30,15 @@ Requires: appstream-glib >= 0.3.6 # appdata hook was introduced in libzypp 14.29.4 Requires: libzypp >= 14.29.4 -Requires: python3-cmdln # AsHelper is a python program with few dependencies +Requires: python3-cmdln Requires: python3-createrepo_c +Requires(post): appstream-glib >= 0.3.6 +# libzypp 16.13.1 was the version gaingin support for ZYPP_PLUGIN_APPDATA_FORCE_COLLECT +Requires(post): libzypp >= 16.13.1 +Requires(post): python3-cmdln +Requires(post): python3-createrepo_c +Requires(post): zypper # This is one way of providing valid appstream metadata to applications (currently the only implemented one) Provides: appstream-provider BuildArch: noarch @@ -64,6 +70,17 @@ 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 ++ _servicedata ++ --- /var/tmp/diff_new_pack.IzaYyh/_old 2018-03-30 11:57:38.830943222 +0200 +++ /var/tmp/diff_new_pack.IzaYyh/_new 2018-03-30 11:57:38.830943222 +0200 @@ -1,4 +1,4 @@ https://github.com/DimStar77/openSUSE-appstream.git - 58e1e4e128dfe67484342418afcc61efe6e592bf \ No newline at end of file + 4852b6d6bcdc33e1d8c315657e3ffb8dfbf81410 \ No newline at end of file ++ openSUSE-appstream-1.0.1+git.20180321.tar.xz -> openSUSE-appstream-1.0.1+git.20180327.tar.xz ++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/openSUSE-appstream-1.0.1+git.20180321/AsHelper.py new/openSUSE-appstream-1.0.1+git.20180327/AsHelper.py --- old/openSUSE-appstream-1.0.1+git.20180321/AsHelper.py 2018-03-21 20:05:22.0 +0100 +++ new/openSUSE-appstream-1.0.1+git.20180327/AsHelper.py 2018-03-27 13:24:05.0 +0200 @@ -64,7 +64,7 @@ print("Repotype %s unknown" % opts.type) if RET: - os.system(CMD.format(NAME=opts.alias, APPDATA=RET['appdata'], ICONS=RET['appdata-icons'])) + os.system(CMD.format(NAME=opts.alias.replace(':','_'), APPDATA=RET['appdata'], ICONS=RET['appdata-icons'])) else: print("could not find appdata tarball and/or icons") @@
commit libzypp-plugin-appdata for openSUSE:Factory
Hello community, here is the log from the commit of package libzypp-plugin-appdata for openSUSE:Factory checked in at 2018-03-24 16:08:19 Comparing /work/SRC/openSUSE:Factory/libzypp-plugin-appdata (Old) and /work/SRC/openSUSE:Factory/.libzypp-plugin-appdata.new (New) Package is "libzypp-plugin-appdata" Sat Mar 24 16:08:19 2018 rev:16 rq:590704 version:1.0.1+git.20180321 Changes: --- /work/SRC/openSUSE:Factory/libzypp-plugin-appdata/libzypp-plugin-appdata.changes 2018-03-08 10:50:24.392657590 +0100 +++ /work/SRC/openSUSE:Factory/.libzypp-plugin-appdata.new/libzypp-plugin-appdata.changes 2018-03-24 16:08:20.906706308 +0100 @@ -1,0 +2,7 @@ +Wed Mar 21 19:15:14 UTC 2018 - dims...@opensuse.org + +- Update to version 1.0.1+git.20180321: + * ZYpp AsHelper: install AS data into system cache: new python +helper to be a bit smarter (part of boo#996896). + +--- Old: InstallAppdata.sh openSUSE-appstream-1.0.1+git.20170629.tar.xz New: _servicedata openSUSE-appstream-1.0.1+git.20180321.tar.xz Other differences: -- ++ libzypp-plugin-appdata.spec ++ --- /var/tmp/diff_new_pack.BH5sxx/_old 2018-03-24 16:08:21.742676171 +0100 +++ /var/tmp/diff_new_pack.BH5sxx/_new 2018-03-24 16:08:21.742676171 +0100 @@ -17,22 +17,22 @@ Name: libzypp-plugin-appdata -Version:1.0.1+git.20170629 +Version:1.0.1+git.20180321 Release:0 Summary:Extend libzypp to handle AppStream metadata License:MIT AND CC0-1.0 Group: System/Libraries URL:https://wiki.gnome.org/Design/Apps/Software Source0:openSUSE-appstream-%{version}.tar.xz -Source2:InstallAppdata.sh # appstreamcli is provided by the AppStream package Requires: AppStream # appstream-glib >= 0.3.6 is the first to correctly to appstream-util uninstall in /var/cache Requires: appstream-glib >= 0.3.6 -# The script uses awk to find the right filename for the appdata.xml.gz file -Requires: awk # appdata hook was introduced in libzypp 14.29.4 Requires: libzypp >= 14.29.4 +Requires: python3-cmdln +# AsHelper is a python program with few dependencies +Requires: python3-createrepo_c # This is one way of providing valid appstream metadata to applications (currently the only implemented one) Provides: appstream-provider BuildArch: noarch @@ -60,8 +60,9 @@ install -m 0755 -d %{buildroot}%{_datadir}/appdata-extra cp appdata-extra/*/* %{buildroot}%{_datadir}/appdata-extra/ -# Install AppData zypp plugin - temporarily disabled in favor of static AppStream metadata -install -Dm 0755 %{SOURCE2} %{buildroot}%{_prefix}/lib/zypp/plugins/appdata/$(basename %{SOURCE2}) +# Install AppData zypp plugin +install -Dm 0755 InstallAppdata.sh %{buildroot}%{_prefix}/lib/zypp/plugins/appdata/InstallAppdata.sh +install -Dm 0755 AsHelper.py %{buildroot}%{_libexecdir}/AsHelper %files # zypp plugin triggering AppData update on repo refresh @@ -69,6 +70,7 @@ %dir %{_prefix}/lib/zypp/plugins %dir %{_prefix}/lib/zypp/plugins/appdata/ %{_prefix}/lib/zypp/plugins/appdata/InstallAppdata.sh +%{_libexecdir}/AsHelper %files -n openSUSE-appdata-extra %{_datadir}/appdata-extra/ ++ _service ++ --- /var/tmp/diff_new_pack.BH5sxx/_old 2018-03-24 16:08:21.786674586 +0100 +++ /var/tmp/diff_new_pack.BH5sxx/_new 2018-03-24 16:08:21.786674586 +0100 @@ -2,6 +2,7 @@ https://github.com/DimStar77/openSUSE-appstream.git git +enable 1.0.1+git.%cd ++ _servicedata ++ https://github.com/DimStar77/openSUSE-appstream.git 58e1e4e128dfe67484342418afcc61efe6e592bf++ openSUSE-appstream-1.0.1+git.20170629.tar.xz -> openSUSE-appstream-1.0.1+git.20180321.tar.xz ++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/openSUSE-appstream-1.0.1+git.20170629/AsHelper.py new/openSUSE-appstream-1.0.1+git.20180321/AsHelper.py --- old/openSUSE-appstream-1.0.1+git.20170629/AsHelper.py 1970-01-01 01:00:00.0 +0100 +++ new/openSUSE-appstream-1.0.1+git.20180321/AsHelper.py 2018-03-21 20:05:22.0 +0100 @@ -0,0 +1,86 @@ +#!/usr/bin/python3 + +# Copyright (c) 2018 Dominique Leuenberger, Muhen, Switzerland + +# Permission is hereby granted, free of charge, to any person obtaining +# a copy of this software and associated documentation files (the +# "Software"), to deal in the Software without restriction, including +# without limitation the rights to use, copy, modify, merge, publish, +# distribute, sublicense, and/or sell copies of the Software, and to +# permit persons to whom the Software
commit libzypp-plugin-appdata for openSUSE:Factory
Hello community, here is the log from the commit of package libzypp-plugin-appdata for openSUSE:Factory checked in at 2018-03-08 10:50:22 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 Mar 8 10:50:22 2018 rev:15 rq:582902 version:1.0.1+git.20170629 Changes: --- /work/SRC/openSUSE:Factory/libzypp-plugin-appdata/libzypp-plugin-appdata.changes 2017-10-04 11:40:19.277794781 +0200 +++ /work/SRC/openSUSE:Factory/.libzypp-plugin-appdata.new/libzypp-plugin-appdata.changes 2018-03-08 10:50:24.392657590 +0100 @@ -1,0 +2,5 @@ +Wed Feb 28 16:36:57 UTC 2018 - dims...@opensuse.org + +- Modernize spec-file by calling spec-cleaner + +--- Other differences: -- ++ libzypp-plugin-appdata.spec ++ --- /var/tmp/diff_new_pack.Q668x3/_old 2018-03-08 10:50:25.140630662 +0100 +++ /var/tmp/diff_new_pack.Q668x3/_new 2018-03-08 10:50:25.144630518 +0100 @@ -1,7 +1,7 @@ # # spec file for package libzypp-plugin-appdata # -# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -22,20 +22,20 @@ Summary:Extend libzypp to handle AppStream metadata License:MIT AND CC0-1.0 Group: System/Libraries -Url:https://wiki.gnome.org/Design/Apps/Software +URL:https://wiki.gnome.org/Design/Apps/Software Source0:openSUSE-appstream-%{version}.tar.xz Source2:InstallAppdata.sh -BuildArch: noarch -# appstream-glib >= 0.3.6 is the first to correctly to appstream-util uninstall in /var/cache -Requires: appstream-glib >= 0.3.6 -# appdata hook was introduced in libzypp 14.29.4 -Requires: libzypp >= 14.29.4 # appstreamcli is provided by the AppStream package Requires: AppStream +# appstream-glib >= 0.3.6 is the first to correctly to appstream-util uninstall in /var/cache +Requires: appstream-glib >= 0.3.6 # The script uses awk to find the right filename for the appdata.xml.gz file Requires: awk +# appdata hook was introduced in libzypp 14.29.4 +Requires: libzypp >= 14.29.4 # This is one way of providing valid appstream metadata to applications (currently the only implemented one) Provides: appstream-provider +BuildArch: noarch %description This plugin extends libzypp to install AppStream metadata, as extracted from the @@ -45,7 +45,7 @@ %package -n openSUSE-appdata-extra Summary:Additional Appstream Metadata License:CC0-1.0 -Group: System +Group: Metapackages %description -n openSUSE-appdata-extra This package contains extra appstream metadata to be used by appstream-builder @@ -61,10 +61,9 @@ cp appdata-extra/*/* %{buildroot}%{_datadir}/appdata-extra/ # Install AppData zypp plugin - temporarily disabled in favor of static AppStream metadata -install -Dm 0755 %{S:2} %{buildroot}%{_prefix}/lib/zypp/plugins/appdata/$(basename %{S:2}) +install -Dm 0755 %{SOURCE2} %{buildroot}%{_prefix}/lib/zypp/plugins/appdata/$(basename %{SOURCE2}) %files -%defattr(-,root,root) # zypp plugin triggering AppData update on repo refresh %dir %{_prefix}/lib/zypp %dir %{_prefix}/lib/zypp/plugins @@ -72,7 +71,6 @@ %{_prefix}/lib/zypp/plugins/appdata/InstallAppdata.sh %files -n openSUSE-appdata-extra -%defattr(-,root,root) %{_datadir}/appdata-extra/ %changelog
commit libzypp-plugin-appdata for openSUSE:Factory
Hello community, here is the log from the commit of package libzypp-plugin-appdata for openSUSE:Factory checked in at 2017-10-04 11:40:17 Comparing /work/SRC/openSUSE:Factory/libzypp-plugin-appdata (Old) and /work/SRC/openSUSE:Factory/.libzypp-plugin-appdata.new (New) Package is "libzypp-plugin-appdata" Wed Oct 4 11:40:17 2017 rev:14 rq: version:1.0.1+git.20170629 Changes: --- /work/SRC/openSUSE:Factory/libzypp-plugin-appdata/libzypp-plugin-appdata.changes 2017-07-17 09:00:02.713839317 +0200 +++ /work/SRC/openSUSE:Factory/.libzypp-plugin-appdata.new/libzypp-plugin-appdata.changes 2017-10-04 11:40:19.277794781 +0200 @@ -1,0 +2,5 @@ +Wed Oct 4 09:39:20 UTC 2017 - dleuenber...@suse.com + +- Do not consider appdata-ignore.xml.gz as appdata to be installed. + +--- Other differences: -- ++ InstallAppdata.sh ++ --- /var/tmp/diff_new_pack.WkB68v/_old 2017-10-04 11:40:20.121675942 +0200 +++ /var/tmp/diff_new_pack.WkB68v/_new 2017-10-04 11:40:20.125675379 +0200 @@ -44,7 +44,7 @@ # We do not validate an appdata.xml.gz in a yast2 repo: those are created by appstream-builder, and we can trust them #if appstream-util validate-relax --nonet "$6$YAST2/appdata.xml.gz" 2>&1 > /dev/null; then # get the real appdata.xml.gz file name out of content - APPDATA=$(awk '/appdata.*xml.gz/ && !/failed/ {print $4}' "$6/content") + APPDATA=$(awk '/appdata.*xml.gz/ && !/failed|ignore/ {print $4}' "$6/content") appstream-util install-origin "$2" "$6$YAST2/${APPDATA}" "$6$YAST2/"appdata-icons*.tar.gz 2>&1 > /dev/null #fi ;;
commit libzypp-plugin-appdata for openSUSE:Factory
Hello community, here is the log from the commit of package libzypp-plugin-appdata for openSUSE:Factory checked in at 2017-07-17 08:59:58 Comparing /work/SRC/openSUSE:Factory/libzypp-plugin-appdata (Old) and /work/SRC/openSUSE:Factory/.libzypp-plugin-appdata.new (New) Package is "libzypp-plugin-appdata" Mon Jul 17 08:59:58 2017 rev:13 rq:510243 version:1.0.1+git.20170629 Changes: --- /work/SRC/openSUSE:Factory/libzypp-plugin-appdata/libzypp-plugin-appdata.changes 2017-06-30 18:39:30.906157832 +0200 +++ /work/SRC/openSUSE:Factory/.libzypp-plugin-appdata.new/libzypp-plugin-appdata.changes 2017-07-17 09:00:02.713839317 +0200 @@ -1,0 +2,7 @@ +Fri Jul 14 08:49:26 UTC 2017 - dims...@opensuse.org + +- Bump version to 1.0.1+git.20170629: We were originally at 1.0.1 + before switching to a git based source service, then 'downgraded' + to 1.0+git, which was a mistake. + +--- Old: openSUSE-appstream-1.0+git.20150408.tar.xz New: openSUSE-appstream-1.0.1+git.20170629.tar.xz Other differences: -- ++ libzypp-plugin-appdata.spec ++ --- /var/tmp/diff_new_pack.R8StZ4/_old 2017-07-17 09:00:05.105502554 +0200 +++ /var/tmp/diff_new_pack.R8StZ4/_new 2017-07-17 09:00:05.109501991 +0200 @@ -17,7 +17,7 @@ Name: libzypp-plugin-appdata -Version:1.0+git.20150408 +Version:1.0.1+git.20170629 Release:0 Summary:Extend libzypp to handle AppStream metadata License:MIT AND CC0-1.0 ++ _service ++ --- /var/tmp/diff_new_pack.R8StZ4/_old 2017-07-17 09:00:05.153495796 +0200 +++ /var/tmp/diff_new_pack.R8StZ4/_new 2017-07-17 09:00:05.153495796 +0200 @@ -2,7 +2,7 @@ https://github.com/DimStar77/openSUSE-appstream.git git -1.0+git.%cd +1.0.1+git.%cd *.tar ++ openSUSE-appstream-1.0+git.20150408.tar.xz -> openSUSE-appstream-1.0.1+git.20170629.tar.xz ++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/openSUSE-appstream-1.0+git.20150408/LICENSE new/openSUSE-appstream-1.0.1+git.20170629/LICENSE --- old/openSUSE-appstream-1.0+git.20150408/LICENSE 2015-04-08 12:23:29.0 +0200 +++ new/openSUSE-appstream-1.0.1+git.20170629/LICENSE 1970-01-01 01:00:00.0 +0100 @@ -1,339 +0,0 @@ -GNU GENERAL PUBLIC LICENSE - Version 2, June 1991 - - Copyright (C) 1989, 1991 Free Software Foundation, Inc., - 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - Everyone is permitted to copy and distribute verbatim copies - of this license document, but changing it is not allowed. - -Preamble - - The licenses for most software are designed to take away your -freedom to share and change it. By contrast, the GNU General Public -License is intended to guarantee your freedom to share and change free -software--to make sure the software is free for all its users. This -General Public License applies to most of the Free Software -Foundation's software and to any other program whose authors commit to -using it. (Some other Free Software Foundation software is covered by -the GNU Lesser General Public License instead.) You can apply it to -your programs, too. - - When we speak of free software, we are referring to freedom, not -price. Our General Public Licenses are designed to make sure that you -have the freedom to distribute copies of free software (and charge for -this service if you wish), that you receive source code or can get it -if you want it, that you can change the software or use pieces of it -in new free programs; and that you know you can do these things. - - To protect your rights, we need to make restrictions that forbid -anyone to deny you these rights or to ask you to surrender the rights. -These restrictions translate to certain responsibilities for you if you -distribute copies of the software, or if you modify it. - - For example, if you distribute copies of such a program, whether -gratis or for a fee, you must give the recipients all the rights that -you have. You must make sure that they, too, receive or can get the -source code. And you must show them these terms so they know their -rights. - - We protect your rights with two steps: (1) copyright the software, and -(2) offer you this license which gives you legal permission to copy, -distribute and/or modify the software. - - Also, for each author's protection and ours, we want to make certain -that everyone understands that there is no warranty for this free -software. If the software is modified by someone else and passed on, we -want its recipients to know that what they have is not the original, so
commit libzypp-plugin-appdata for openSUSE:Factory
Hello community, here is the log from the commit of package libzypp-plugin-appdata for openSUSE:Factory checked in at 2017-06-30 18:39:13 Comparing /work/SRC/openSUSE:Factory/libzypp-plugin-appdata (Old) and /work/SRC/openSUSE:Factory/.libzypp-plugin-appdata.new (New) Package is "libzypp-plugin-appdata" Fri Jun 30 18:39:13 2017 rev:12 rq:506830 version:1.0+git.20150408 Changes: --- /work/SRC/openSUSE:Factory/libzypp-plugin-appdata/libzypp-plugin-appdata.changes 2016-07-15 12:55:12.0 +0200 +++ /work/SRC/openSUSE:Factory/.libzypp-plugin-appdata.new/libzypp-plugin-appdata.changes 2017-06-30 18:39:30.906157832 +0200 @@ -1,0 +2,25 @@ +Wed Jun 28 11:55:21 UTC 2017 - dims...@opensuse.org + +- Update to version 1.0+git.20150408: + + Drop the irrelevant LICENSE file from git. +- Update License tag to be MIT (InstallAppdata.sh) AND CC0-1.0 (the + appdata metafiles). + +--- +Mon Jun 26 15:02:47 UTC 2017 - dims...@opensuse.org + +- Provide 'appstream-provider': we might want to implement + different methods of providing AppStream metadata to + applications, and the frontends should not have to care about the + technical details in the background. Software Centers like GNOME + Software and Discover are supposed to use the new symbol. + +--- +Fri Jun 23 12:21:44 UTC 2017 - dims...@opensuse.org + +- Update InstallAppdata.sh: use appstreamcli refresh-cache instead + of refresh-index (boo#1044114). +- Drop GNOME software mention from the description. There are other + frontends out there by now. + +--- Old: openSUSE-appstream-1.0.tar.xz New: openSUSE-appstream-1.0+git.20150408.tar.xz Other differences: -- ++ libzypp-plugin-appdata.spec ++ --- /var/tmp/diff_new_pack.jy96GL/_old 2017-06-30 18:39:32.441941816 +0200 +++ /var/tmp/diff_new_pack.jy96GL/_new 2017-06-30 18:39:32.445941253 +0200 @@ -1,7 +1,7 @@ # # spec file for package libzypp-plugin-appdata # -# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -17,13 +17,13 @@ Name: libzypp-plugin-appdata -Version:1.0.1 +Version:1.0+git.20150408 Release:0 Summary:Extend libzypp to handle AppStream metadata -License:MIT +License:MIT AND CC0-1.0 Group: System/Libraries Url:https://wiki.gnome.org/Design/Apps/Software -Source0:openSUSE-appstream-1.0.tar.xz +Source0:openSUSE-appstream-%{version}.tar.xz Source2:InstallAppdata.sh BuildArch: noarch # appstream-glib >= 0.3.6 is the first to correctly to appstream-util uninstall in /var/cache @@ -34,23 +34,24 @@ Requires: AppStream # The script uses awk to find the right filename for the appdata.xml.gz file Requires: awk +# This is one way of providing valid appstream metadata to applications (currently the only implemented one) +Provides: appstream-provider %description This plugin extends libzypp to install AppStream metadata, as extracted from the repository metadata, onto the file system in order to be picked up by software centers. -At this moment, gnome-software is the only known implementation making use of it. - %package -n openSUSE-appdata-extra Summary:Additional Appstream Metadata +License:CC0-1.0 Group: System %description -n openSUSE-appdata-extra This package contains extra appstream metadata to be used by appstream-builder %prep -%setup -q -n openSUSE-appstream-1.0 +%setup -q -n openSUSE-appstream-%{version} %build ++ InstallAppdata.sh ++ --- /var/tmp/diff_new_pack.jy96GL/_old 2017-06-30 18:39:32.473937316 +0200 +++ /var/tmp/diff_new_pack.jy96GL/_new 2017-06-30 18:39:32.473937316 +0200 @@ -58,5 +58,5 @@ chmod 755 /var/cache/app-info/icons/* # (Re)create the Xapian database required by the KDE tools -appstreamcli refresh-index +appstreamcli refresh-cache ++ _service ++ --- /var/tmp/diff_new_pack.jy96GL/_old 2017-06-30 18:39:32.493934503 +0200 +++ /var/tmp/diff_new_pack.jy96GL/_new 2017-06-30 18:39:32.497933940 +0200 @@ -2,10 +2,11 @@ https://github.com/DimStar77/openSUSE-appstream.git git -1.0 +1.0+git.%cd *.tar xz +
commit libzypp-plugin-appdata for openSUSE:Factory
Hello community, here is the log from the commit of package libzypp-plugin-appdata for openSUSE:Factory checked in at 2016-07-15 12:55:00 Comparing /work/SRC/openSUSE:Factory/libzypp-plugin-appdata (Old) and /work/SRC/openSUSE:Factory/.libzypp-plugin-appdata.new (New) Package is "libzypp-plugin-appdata" Changes: --- /work/SRC/openSUSE:Factory/libzypp-plugin-appdata/libzypp-plugin-appdata.changes 2016-05-04 08:18:49.0 +0200 +++ /work/SRC/openSUSE:Factory/.libzypp-plugin-appdata.new/libzypp-plugin-appdata.changes 2016-07-15 12:55:12.0 +0200 @@ -1,0 +2,9 @@ +Fri Jul 15 07:25:08 UTC 2016 - dims...@opensuse.org + +- InstallAppdata.sh: do not stumble over the presence of the + appdata-failed.xml.gz file: this is for debug purpose and does + not contain valid applications (boo#989031). +- Add awk Requires, as the latest modification relies on awk to + find the right filenames. + +--- Other differences: -- ++ libzypp-plugin-appdata.spec ++ --- /var/tmp/diff_new_pack.f7IP0m/_old 2016-07-15 12:55:14.0 +0200 +++ /var/tmp/diff_new_pack.f7IP0m/_new 2016-07-15 12:55:14.0 +0200 @@ -32,6 +32,8 @@ Requires: libzypp >= 14.29.4 # appstreamcli is provided by the AppStream package Requires: AppStream +# The script uses awk to find the right filename for the appdata.xml.gz file +Requires: awk %description This plugin extends libzypp to install AppStream metadata, as extracted from the ++ InstallAppdata.sh ++ --- /var/tmp/diff_new_pack.f7IP0m/_old 2016-07-15 12:55:14.0 +0200 +++ /var/tmp/diff_new_pack.f7IP0m/_new 2016-07-15 12:55:14.0 +0200 @@ -43,7 +43,9 @@ yast2) # We do not validate an appdata.xml.gz in a yast2 repo: those are created by appstream-builder, and we can trust them #if appstream-util validate-relax --nonet "$6$YAST2/appdata.xml.gz" 2>&1 > /dev/null; then -appstream-util install-origin "$2" "$6$YAST2/"appdata*.xml.gz "$6$YAST2/"appdata-icons*.tar.gz 2>&1 > /dev/null + # get the real appdata.xml.gz file name out of content + APPDATA=$(awk '/appdata.*xml.gz/ && !/failed/ {print $4}' "$6/content") +appstream-util install-origin "$2" "$6$YAST2/${APPDATA}" "$6$YAST2/"appdata-icons*.tar.gz 2>&1 > /dev/null #fi ;; *)
commit libzypp-plugin-appdata for openSUSE:Factory
Hello community, here is the log from the commit of package libzypp-plugin-appdata for openSUSE:Factory checked in at 2016-05-04 08:18:48 Comparing /work/SRC/openSUSE:Factory/libzypp-plugin-appdata (Old) and /work/SRC/openSUSE:Factory/.libzypp-plugin-appdata.new (New) Package is "libzypp-plugin-appdata" Changes: --- /work/SRC/openSUSE:Factory/libzypp-plugin-appdata/libzypp-plugin-appdata.changes 2016-02-28 02:27:34.0 +0100 +++ /work/SRC/openSUSE:Factory/.libzypp-plugin-appdata.new/libzypp-plugin-appdata.changes 2016-05-04 08:18:49.0 +0200 @@ -1,0 +2,7 @@ +Tue May 3 14:13:12 UTC 2016 - dims...@opensuse.org + +- InstallAppdata.sh: prepare for YaST type repositories to receive + appdata.xml.gz and appdata-icons.tar.gz with a hashed filename in + order to allow mirrorbrain to distribute it. + +--- Other differences: -- ++ InstallAppdata.sh ++ --- /var/tmp/diff_new_pack.9YpXaf/_old 2016-05-04 08:18:51.0 +0200 +++ /var/tmp/diff_new_pack.9YpXaf/_new 2016-05-04 08:18:51.0 +0200 @@ -43,7 +43,7 @@ yast2) # We do not validate an appdata.xml.gz in a yast2 repo: those are created by appstream-builder, and we can trust them #if appstream-util validate-relax --nonet "$6$YAST2/appdata.xml.gz" 2>&1 > /dev/null; then -appstream-util install-origin "$2" "$6$YAST2/appdata.xml.gz" "$6$YAST2/appdata-icons.tar.gz" 2>&1 > /dev/null +appstream-util install-origin "$2" "$6$YAST2/"appdata*.xml.gz "$6$YAST2/"appdata-icons*.tar.gz 2>&1 > /dev/null #fi ;; *)
commit libzypp-plugin-appdata for openSUSE:Factory
Hello community, here is the log from the commit of package libzypp-plugin-appdata for openSUSE:Factory checked in at 2016-02-28 02:27:28 Comparing /work/SRC/openSUSE:Factory/libzypp-plugin-appdata (Old) and /work/SRC/openSUSE:Factory/.libzypp-plugin-appdata.new (New) Package is "libzypp-plugin-appdata" Changes: --- /work/SRC/openSUSE:Factory/libzypp-plugin-appdata/libzypp-plugin-appdata.changes 2015-05-15 07:42:35.0 +0200 +++ /work/SRC/openSUSE:Factory/.libzypp-plugin-appdata.new/libzypp-plugin-appdata.changes 2016-02-28 02:27:34.0 +0100 @@ -1,0 +2,10 @@ +Fri Feb 5 13:36:42 UTC 2016 - tittiatc...@gmail.com + +- Expand the InstallAppdata.sh so that it (re)builds the Xapian + database for the available appdata. This Xapian database is + required by the KDE tools (Muon/Discover) to show the + installed software + * Add Requires on AppStream package as that this provides the +appstreamcli binary + +--- Other differences: -- ++ libzypp-plugin-appdata.spec ++ --- /var/tmp/diff_new_pack.9nwF5K/_old 2016-02-28 02:27:36.0 +0100 +++ /var/tmp/diff_new_pack.9nwF5K/_new 2016-02-28 02:27:36.0 +0100 @@ -1,7 +1,7 @@ # # spec file for package libzypp-plugin-appdata # -# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -30,6 +30,8 @@ Requires: appstream-glib >= 0.3.6 # appdata hook was introduced in libzypp 14.29.4 Requires: libzypp >= 14.29.4 +# appstreamcli is provided by the AppStream package +Requires: AppStream %description This plugin extends libzypp to install AppStream metadata, as extracted from the ++ InstallAppdata.sh ++ --- /var/tmp/diff_new_pack.9nwF5K/_old 2016-02-28 02:27:36.0 +0100 +++ /var/tmp/diff_new_pack.9nwF5K/_new 2016-02-28 02:27:36.0 +0100 @@ -1,6 +1,7 @@ #!/bin/bash # Copyright (c) 2014 Dominique Leuenberger, Amsterdam, The Netherlands +# Copyright (c) 2016 Raymond Wooninck, Vienna, Austria # Permission is hereby granted, free of charge, to any person obtaining # a copy of this software and associated documentation files (the @@ -54,3 +55,6 @@ # Fixup icon that might have uncompressed with odd permissions chmod 755 /var/cache/app-info/icons/* +# (Re)create the Xapian database required by the KDE tools +appstreamcli refresh-index +
commit libzypp-plugin-appdata for openSUSE:Factory
Hello community, here is the log from the commit of package libzypp-plugin-appdata for openSUSE:Factory checked in at 2015-05-15 07:42:34 Comparing /work/SRC/openSUSE:Factory/libzypp-plugin-appdata (Old) and /work/SRC/openSUSE:Factory/.libzypp-plugin-appdata.new (New) Package is libzypp-plugin-appdata Changes: --- /work/SRC/openSUSE:Factory/libzypp-plugin-appdata/libzypp-plugin-appdata.changes 2015-04-25 16:47:06.0 +0200 +++ /work/SRC/openSUSE:Factory/.libzypp-plugin-appdata.new/libzypp-plugin-appdata.changes 2015-05-15 07:42:35.0 +0200 @@ -1,0 +2,6 @@ +Fri May 8 20:08:01 UTC 2015 - dims...@opensuse.org + +- Fix installation of rpm-md provided metadata (expanding globs + inside quotes does not work). + +--- Other differences: -- ++ InstallAppdata.sh ++ --- /var/tmp/diff_new_pack.Nozt2B/_old 2015-05-15 07:42:36.0 +0200 +++ /var/tmp/diff_new_pack.Nozt2B/_new 2015-05-15 07:42:36.0 +0200 @@ -22,7 +22,7 @@ # WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. -RPMMD=/repodata/ +RPMMD=/repodata YAST2=/suse/setup/descr # Cleanup existing appdata found on the system @@ -35,8 +35,8 @@ while ([ $1 = -R ]); do case $4 in rpm-md) - if appstream-util validate-relax --nonet $6$RPMMD/*appdata.xml.gz 21 /dev/null; then -appstream-util install-origin $2 $6$RPMMD/*appdata.xml.gz $6$RPMMD/*app-icons.tar.gz 21 /dev/null + if appstream-util validate-relax --nonet $6$RPMMD/*appdata.xml.gz 21 /dev/null; then +appstream-util install-origin $2 $6$RPMMD/*appdata.xml.gz $6$RPMMD/*app-icons.tar.gz 21 /dev/null fi ;; yast2)
commit libzypp-plugin-appdata for openSUSE:Factory
Hello community, here is the log from the commit of package libzypp-plugin-appdata for openSUSE:Factory checked in at 2015-04-25 16:47:04 Comparing /work/SRC/openSUSE:Factory/libzypp-plugin-appdata (Old) and /work/SRC/openSUSE:Factory/.libzypp-plugin-appdata.new (New) Package is libzypp-plugin-appdata Changes: --- /work/SRC/openSUSE:Factory/libzypp-plugin-appdata/libzypp-plugin-appdata.changes 2015-04-10 09:47:06.0 +0200 +++ /work/SRC/openSUSE:Factory/.libzypp-plugin-appdata.new/libzypp-plugin-appdata.changes 2015-04-25 16:47:06.0 +0200 @@ -1,0 +2,7 @@ +Thu Apr 23 07:23:16 UTC 2015 - dims...@opensuse.org + +- No need to validate appdata.xml.gz in a yast2 repo: those are + created by kiwi, which in turn spanws appstream-builder: we can + trust that it creates valid enough metadata. + +--- Other differences: -- ++ InstallAppdata.sh ++ --- /var/tmp/diff_new_pack.GQ17nz/_old 2015-04-25 16:47:07.0 +0200 +++ /var/tmp/diff_new_pack.GQ17nz/_new 2015-04-25 16:47:07.0 +0200 @@ -40,9 +40,10 @@ fi ;; yast2) - if appstream-util validate-relax --nonet $6$YAST2/appdata.xml.gz 21 /dev/null; then + # We do not validate an appdata.xml.gz in a yast2 repo: those are created by appstream-builder, and we can trust them + #if appstream-util validate-relax --nonet $6$YAST2/appdata.xml.gz 21 /dev/null; then appstream-util install-origin $2 $6$YAST2/appdata.xml.gz $6$YAST2/appdata-icons.tar.gz 21 /dev/null - fi + #fi ;; *) echo unknown repo type - Appstream data not considered
commit libzypp-plugin-appdata for openSUSE:Factory
Hello community, here is the log from the commit of package libzypp-plugin-appdata for openSUSE:Factory checked in at 2015-04-03 14:34:24 Comparing /work/SRC/openSUSE:Factory/libzypp-plugin-appdata (Old) and /work/SRC/openSUSE:Factory/.libzypp-plugin-appdata.new (New) Package is libzypp-plugin-appdata Changes: --- /work/SRC/openSUSE:Factory/libzypp-plugin-appdata/libzypp-plugin-appdata.changes 2015-03-18 13:02:56.0 +0100 +++ /work/SRC/openSUSE:Factory/.libzypp-plugin-appdata.new/libzypp-plugin-appdata.changes 2015-04-03 14:34:25.0 +0200 @@ -1,0 +2,20 @@ +Thu Apr 2 13:38:08 UTC 2015 - dims...@opensuse.org + +- InstallAppdata.sh: pass --nonet to appstream-util when + validating appstream.xml.gz. + +--- +Tue Mar 31 13:41:00 UTC 2015 - dims...@opensuse.org + +- InstallAppdata.sh: only install AppStream metadata, that + validates. + +--- +Fri Mar 20 12:55:38 UTC 2015 - dims...@opensuse.org + +- Re-enable the actual libzypp plugin in place of shipping a static + version of appstream metadata (last updated for 13.2). We can do + this, as Tumbleweed now produces valid metadata. 3rd party repos + are not yet able to produce valid metadata it seems. + +--- Old: openSUSE-13.2-icons.tar.gz openSUSE-13.2.xml.gz Other differences: -- ++ libzypp-plugin-appdata.spec ++ --- /var/tmp/diff_new_pack.mBUwoE/_old 2015-04-03 14:34:28.0 +0200 +++ /var/tmp/diff_new_pack.mBUwoE/_new 2015-04-03 14:34:28.0 +0200 @@ -19,7 +19,6 @@ Name: libzypp-plugin-appdata Version:1.0.1 Release:0 -%define gs_plugin_api 7 Summary:Extend libzypp to handle AppStream metadata License:MIT Group: System/Libraries @@ -27,13 +26,11 @@ Source0:openSUSE-appstream-1.0.tar.xz Source1:openSUSE-appstream-process Source2:InstallAppdata.sh -Source10: openSUSE-13.2.xml.gz -Source11: openSUSE-13.2-icons.tar.gz BuildArch: noarch BuildRequires: appstream-glib = 0.2.4 BuildRequires: fdupes -# Requires appstream-glib = 0.2.4 for appstream-util install-basename -Requires: appstream-glib = 0.2.4 +# appstream-glib = 0.3.6 is the first to correctly to appstream-util uninstall in /var/cache +Requires: appstream-glib 0.3.5 # appdata hook was introduced in libzypp 14.29.4 Requires: libzypp = 14.29.4 @@ -79,28 +76,15 @@ done # Install AppData zypp plugin - temporarily disabled in favor of static AppStream metadata -#%%install -Dm 0755 %%{S:1} %%{buildroot}%%{_prefix}/lib/zypp/plugins/appdata/$(basename %%{S:1}) -DESTDIR=%{buildroot} appstream-util install %{S:10} %{S:11} -# marker, that we do no longer have to be aggressive in cleaning up remaining metadata in pre -touch %{buildroot}%{_datadir}/app-info/.zypp_plugin-1.0.1 - -# Link the few icons that are installed with different names -%fdupes %{buildroot}%{_datadir}/app-info/icons - -%pre -# In case we come from an old version of the plugin, we ensure to clean out any dynamic cache -if [ ! -f %{_datadir}/app-info/.zypp_plugin-1.0.1 ]; then - rm -rf %{_datadir}/app-info/ -fi +install -Dm 0755 %{S:2} %{buildroot}%{_prefix}/lib/zypp/plugins/appdata/$(basename %{S:2}) %files %defattr(-,root,root) # zypp plugin triggering AppData update on repo refresh -#dir %{_prefix}/lib/zypp -#dir %{_prefix}/lib/zypp/plugins -#dir %{_prefix}/lib/zypp/plugins/appdata/ -#{_prefix}/lib/zypp/plugins/appdata/InstallAppdata.sh -%{_datadir}/app-info/ +%dir %{_prefix}/lib/zypp +%dir %{_prefix}/lib/zypp/plugins +%dir %{_prefix}/lib/zypp/plugins/appdata/ +%{_prefix}/lib/zypp/plugins/appdata/InstallAppdata.sh %files -n openSUSE-appstream-process %defattr(-,root,root) ++ InstallAppdata.sh ++ --- /var/tmp/diff_new_pack.mBUwoE/_old 2015-04-03 14:34:28.0 +0200 +++ /var/tmp/diff_new_pack.mBUwoE/_new 2015-04-03 14:34:28.0 +0200 @@ -26,7 +26,7 @@ YAST2=/suse/setup/descr # Cleanup existing appdata found on the system -for list in $(find /var/cache/app-info/xmls/*.xml.gz); do +for list in $(find /var/cache/app-info/xmls/*.xml.gz 2 /dev/null); do appdata=$(basename ${list} .xml.gz) appstream-util uninstall ${appdata} 21 /dev/null done @@ -34,18 +34,22 @@ # Install new appdata files while ([ $1 = -R ]); do case $4 in - rpm-md) - appstream-util install-origin $2 $6$RPMMD/*appdata.xml.gz $6$RPMMD/*app-icons.tar.gz 21 /dev/null - ;; - yast2) - appstream-util install-origin $2
commit libzypp-plugin-appdata for openSUSE:Factory
Hello community, here is the log from the commit of package libzypp-plugin-appdata for openSUSE:Factory checked in at 2015-03-18 13:02:54 Comparing /work/SRC/openSUSE:Factory/libzypp-plugin-appdata (Old) and /work/SRC/openSUSE:Factory/.libzypp-plugin-appdata.new (New) Package is libzypp-plugin-appdata Changes: --- /work/SRC/openSUSE:Factory/libzypp-plugin-appdata/libzypp-plugin-appdata.changes 2015-03-16 06:54:55.0 +0100 +++ /work/SRC/openSUSE:Factory/.libzypp-plugin-appdata.new/libzypp-plugin-appdata.changes 2015-03-18 13:02:56.0 +0100 @@ -1,0 +2,5 @@ +Tue Mar 17 13:14:07 UTC 2015 - dims...@opensuse.org + +- Pass --include-failed to appstream-builder (requires apb 0.3.5). + +--- Other differences: -- ++ libzypp-plugin-appdata.spec ++ --- /var/tmp/diff_new_pack.6bzVpi/_old 2015-03-18 13:02:58.0 +0100 +++ /var/tmp/diff_new_pack.6bzVpi/_new 2015-03-18 13:02:58.0 +0100 @@ -47,7 +47,7 @@ %package -n openSUSE-appstream-process Summary:Appstream processor employed by kiwi Group: System -Requires: appstream-glib = 0.2.4 +Requires: appstream-glib = 0.3.5 # external repository with appstream metadata, to assist packages that don't ship their own (yet) Requires: openSUSE-appstream-extra ++ openSUSE-appstream-process ++ --- /var/tmp/diff_new_pack.6bzVpi/_old 2015-03-18 13:02:58.0 +0100 +++ /var/tmp/diff_new_pack.6bzVpi/_new 2015-03-18 13:02:58.0 +0100 @@ -9,6 +9,7 @@ /usr/bin/appstream-builder \ --no-net \ --enable-hidpi \ + --include-failed \ --temp-dir=/tmp/apb \ --cache-dir=/tmp/apb/cache \ --origin=appdata \ -- To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org For additional commands, e-mail: opensuse-commit+h...@opensuse.org
commit libzypp-plugin-appdata for openSUSE:Factory
Hello community, here is the log from the commit of package libzypp-plugin-appdata for openSUSE:Factory checked in at 2015-03-16 06:54:54 Comparing /work/SRC/openSUSE:Factory/libzypp-plugin-appdata (Old) and /work/SRC/openSUSE:Factory/.libzypp-plugin-appdata.new (New) Package is libzypp-plugin-appdata Changes: --- /work/SRC/openSUSE:Factory/libzypp-plugin-appdata/libzypp-plugin-appdata.changes 2015-01-24 22:20:36.0 +0100 +++ /work/SRC/openSUSE:Factory/.libzypp-plugin-appdata.new/libzypp-plugin-appdata.changes 2015-03-16 06:54:55.0 +0100 @@ -1,0 +2,7 @@ +Fri Mar 13 13:19:07 UTC 2015 - dims...@opensuse.org + +- Require openSUSE-appstream-extra by openSUSE-appstream-process: + Having the extra appstream metadata available will allow the + builder to get better results. + +--- Other differences: -- ++ libzypp-plugin-appdata.spec ++ --- /var/tmp/diff_new_pack.2Vus27/_old 2015-03-16 06:54:57.0 +0100 +++ /var/tmp/diff_new_pack.2Vus27/_new 2015-03-16 06:54:57.0 +0100 @@ -1,7 +1,7 @@ # # spec file for package libzypp-plugin-appdata # -# Copyright (c) 2015 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -48,6 +48,8 @@ Summary:Appstream processor employed by kiwi Group: System Requires: appstream-glib = 0.2.4 +# external repository with appstream metadata, to assist packages that don't ship their own (yet) +Requires: openSUSE-appstream-extra %description -n openSUSE-appstream-process A wrapper around appstream-builder, called by kiwi in order to produce AppStream metadata ++ InstallAppdata.sh ++ --- /var/tmp/diff_new_pack.2Vus27/_old 2015-03-16 06:54:57.0 +0100 +++ /var/tmp/diff_new_pack.2Vus27/_new 2015-03-16 06:54:57.0 +0100 @@ -26,7 +26,7 @@ YAST2=/suse/setup/descr # Cleanup existing appdata found on the system -for list in $(find /usr/share/app-info/xmls/*.xml.gz); do +for list in $(find /var/cache/app-info/xmls/*.xml.gz); do appdata=$(basename ${list} .xml.gz) appstream-util uninstall ${appdata} 21 /dev/null done ++ openSUSE-appstream-process ++ --- /var/tmp/diff_new_pack.2Vus27/_old 2015-03-16 06:54:57.0 +0100 +++ /var/tmp/diff_new_pack.2Vus27/_new 2015-03-16 06:54:57.0 +0100 @@ -3,6 +3,9 @@ SRC=$1 DEST=$2 +# appstream-buider should be more quiet while parsing packages +export ASB_IS_SELF_TEST=1 + /usr/bin/appstream-builder \ --no-net \ --enable-hidpi \ -- To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org For additional commands, e-mail: opensuse-commit+h...@opensuse.org
commit libzypp-plugin-appdata for openSUSE:Factory
Hello community, here is the log from the commit of package libzypp-plugin-appdata for openSUSE:Factory checked in at 2015-01-24 22:20:31 Comparing /work/SRC/openSUSE:Factory/libzypp-plugin-appdata (Old) and /work/SRC/openSUSE:Factory/.libzypp-plugin-appdata.new (New) Package is libzypp-plugin-appdata Changes: --- /work/SRC/openSUSE:Factory/libzypp-plugin-appdata/libzypp-plugin-appdata.changes 2014-11-15 12:19:56.0 +0100 +++ /work/SRC/openSUSE:Factory/.libzypp-plugin-appdata.new/libzypp-plugin-appdata.changes 2015-01-24 22:20:36.0 +0100 @@ -1,0 +2,19 @@ +Fri Jan 23 12:50:11 UTC 2015 - opensuse-packag...@opensuse.org + +- Preparations on the way to get AppStream metadata produced in a + more conform way. +- Add new subpackages: + + openSUSE-appstream-extras: +- Contains additional appstream metadata to assist upstreams + not yet shipping their own .appdata.xml file. + + openSUSE-appstream-process: +- The processor is an attempt to be used by kiwi to produce + valid appstream metadata. + +--- +Wed Jan 21 17:53:41 UTC 2015 - dims...@opensuse.org + +- Update InstallAppdata.sh: the yast2 metadata structure got a + slight change with the switch to appstream-builder. + +--- New: _service openSUSE-appstream-1.0.tar.xz openSUSE-appstream-process Other differences: -- ++ libzypp-plugin-appdata.spec ++ --- /var/tmp/diff_new_pack.fwZ3ir/_old 2015-01-24 22:20:41.0 +0100 +++ /var/tmp/diff_new_pack.fwZ3ir/_new 2015-01-24 22:20:41.0 +0100 @@ -1,7 +1,7 @@ # -# spec file for package gnome-software +# spec file for package libzypp-plugin-appdata # -# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2015 SUSE LINUX Products GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -24,7 +24,9 @@ License:MIT Group: System/Libraries Url:https://wiki.gnome.org/Design/Apps/Software -Source0:InstallAppdata.sh +Source0:openSUSE-appstream-1.0.tar.xz +Source1:openSUSE-appstream-process +Source2:InstallAppdata.sh Source10: openSUSE-13.2.xml.gz Source11: openSUSE-13.2-icons.tar.gz BuildArch: noarch @@ -42,11 +44,38 @@ At this moment, gnome-software is the only known implementation making use of it. +%package -n openSUSE-appstream-process +Summary:Appstream processor employed by kiwi +Group: System +Requires: appstream-glib = 0.2.4 + +%description -n openSUSE-appstream-process +A wrapper around appstream-builder, called by kiwi in order to produce AppStream metadata +for the repositories to be published + +%package -n openSUSE-appstream-extra +Summary:Additional Appstream Metadata +Group: System + +%description -n openSUSE-appstream-extra +This package contains extra appstream metadata to be used by appstream-builder + %prep +%setup -q -n openSUSE-appstream-1.0 %build %install +# install the appstream process script to be used by kiwi +install -d -m 0755 %{_buildroot}%{_bindir} +install -m 0755 -D %{S:1} %{buildroot}%{_bindir}/$(basename %{S:1}) +# install the additional appstream metadata +install -m 0755 -d %{buildroot}%{_datadir}/appstream-extra +for DATA in appdata-extra appstream-extra screenshots-extra +do + cp -r ${DATA} %{buildroot}%{_datadir}/appstream-extra/ +done + # Install AppData zypp plugin - temporarily disabled in favor of static AppStream metadata #%%install -Dm 0755 %%{S:1} %%{buildroot}%%{_prefix}/lib/zypp/plugins/appdata/$(basename %%{S:1}) DESTDIR=%{buildroot} appstream-util install %{S:10} %{S:11} @@ -71,4 +100,12 @@ #{_prefix}/lib/zypp/plugins/appdata/InstallAppdata.sh %{_datadir}/app-info/ +%files -n openSUSE-appstream-process +%defattr(-,root,root) +%{_bindir}/openSUSE-appstream-process + +%files -n openSUSE-appstream-extra +%defattr(-,root,root) +%{_datadir}/appstream-extra/ + %changelog ++ InstallAppdata.sh ++ --- /var/tmp/diff_new_pack.fwZ3ir/_old 2015-01-24 22:20:41.0 +0100 +++ /var/tmp/diff_new_pack.fwZ3ir/_new 2015-01-24 22:20:41.0 +0100 @@ -38,7 +38,7 @@ appstream-util install-origin $2 $6$RPMMD/*appdata.xml.gz $6$RPMMD/*app-icons.tar.gz 21 /dev/null ;; yast2) - appstream-util install-origin $2 $6$YAST2/appdata.xml.gz $6$YAST2/app-icons.tar.gz 21 /dev/null + appstream-util install-origin $2 $6$YAST2/appdata.xml.gz