SHA256
1
0
forked from pool/AppStream

Accepting request 959356 from home:Vogtinator:branches:KDE:Frameworks5

- Don't refresh the system cache in %post. The user metadata cache
  work much better, rely on that instead.

OBS-URL: https://build.opensuse.org/request/show/959356
OBS-URL: https://build.opensuse.org/package/show/KDE:Frameworks5/AppStream?expand=0&rev=71
This commit is contained in:
Luca Beltrame 2022-03-04 11:18:30 +00:00 committed by Git OBS Bridge
parent 62c7afc160
commit d63cba804d
2 changed files with 9 additions and 6 deletions

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Fri Mar 4 09:38:33 UTC 2022 - Fabian Vogt <fabian@ritter-vogt.de>
- Don't refresh the system cache in %post. The user metadata cache
work much better, rely on that instead.
-------------------------------------------------------------------
Wed Dec 22 11:58:16 UTC 2021 - Callum Farmer <gmbr3@opensuse.org>

View File

@ -1,7 +1,7 @@
#
# spec file for package AppStream
#
# Copyright (c) 2021 SUSE LLC
# Copyright (c) 2022 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@ -38,9 +38,9 @@ BuildRequires: meson >= 0.48
%if %{with vala}
BuildRequires: vala
%endif
BuildRequires: itstool
BuildRequires: pkgconfig
BuildRequires: xsltproc
BuildRequires: itstool
BuildRequires: pkgconfig(Qt5Core)
BuildRequires: pkgconfig(Qt5Test)
BuildRequires: pkgconfig(gio-2.0)
@ -48,8 +48,8 @@ BuildRequires: pkgconfig(glib-2.0) >= 2.62
BuildRequires: pkgconfig(gobject-introspection-1.0)
BuildRequires: pkgconfig(libcurl)
BuildRequires: pkgconfig(libxml-2.0)
BuildRequires: pkgconfig(yaml-0.1)
BuildRequires: pkgconfig(xmlb) >= 0.3.6
BuildRequires: pkgconfig(yaml-0.1)
Recommends: curl
%description
@ -142,9 +142,6 @@ rm -r %{buildroot}%{_datadir}/installed-tests
%find_lang appstream %{name}.lang
%post
appstreamcli refresh --force || true
%post -n libappstream%{libappstream_sover} -p /sbin/ldconfig
%postun -n libappstream%{libappstream_sover} -p /sbin/ldconfig
%post -n libAppStreamQt%{libAppStreamQt_sover} -p /sbin/ldconfig