Accepting request 601507 from GNOME:Next
- Update to version 1.0.1+git.20180426: * systemd-service: we only need local filesystem, no network. - 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). OBS-URL: https://build.opensuse.org/request/show/601507 OBS-URL: https://build.opensuse.org/package/show/GNOME:Factory/libzypp-plugin-appdata?expand=0&rev=47
This commit is contained in:
parent
aa47d2c750
commit
976c942984
@ -1,4 +1,4 @@
|
||||
<servicedata>
|
||||
<service name="tar_scm">
|
||||
<param name="url">https://github.com/DimStar77/openSUSE-appstream.git</param>
|
||||
<param name="changesrevision">4852b6d6bcdc33e1d8c315657e3ffb8dfbf81410</param></service></servicedata>
|
||||
<param name="changesrevision">8708ff5b3330e28eefb228a78d719871ff5bd6da</param></service></servicedata>
|
4
libzypp-plugin-appdata-rpmlintrc
Normal file
4
libzypp-plugin-appdata-rpmlintrc
Normal file
@ -0,0 +1,4 @@
|
||||
# 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");
|
@ -1,3 +1,17 @@
|
||||
-------------------------------------------------------------------
|
||||
Thu Apr 26 08:01:48 UTC 2018 - dimstar@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 - dimstar@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).
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Apr 20 13:45:17 UTC 2018 - dimstar@opensuse.org
|
||||
|
||||
|
@ -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 @@ install -m 0755 -d %{buildroot}%{_datadir}/appdata-extra
|
||||
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/
|
||||
|
@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:51903357838e52702e7ba35ed25d7c5ea76f789b539141bb8432a83ab939c91a
|
||||
size 91012
|
3
openSUSE-appstream-1.0.1+git.20180426.tar.xz
Normal file
3
openSUSE-appstream-1.0.1+git.20180426.tar.xz
Normal file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:5bbd929af050d0106d1cb6ba6e26050573d7d198721afdc087a0c47f587352ed
|
||||
size 91312
|
Loading…
Reference in New Issue
Block a user