From f047ec8fe55bbd0104a1efd65ac48c1d4425beaa Mon Sep 17 00:00:00 2001 From: Rex Dieter Date: Wed, 23 Feb 2022 08:57:06 -0600 Subject: [PATCH] 0.15.2 support only filetriggers --- .gitignore | 1 + appstream.spec | 20 +++++++------------- sources | 2 +- 3 files changed, 9 insertions(+), 14 deletions(-) diff --git a/.gitignore b/.gitignore index ac2e516..f5d655f 100644 --- a/.gitignore +++ b/.gitignore @@ -5,3 +5,4 @@ /AppStream-0.14.5.tar.xz /AppStream-0.14.6.tar.xz /AppStream-0.15.1.tar.xz +/AppStream-0.15.2.tar.xz diff --git a/appstream.spec b/appstream.spec index ec41368..ce06645 100644 --- a/appstream.spec +++ b/appstream.spec @@ -4,8 +4,8 @@ Summary: Utilities to generate, maintain and access the AppStream database Name: appstream -Version: 0.15.1 -Release: 2%{?dist} +Version: 0.15.2 +Release: 1%{?dist} # lib LGPLv2+, tools GPLv2+ License: GPLv2+ and LGPLv2+ @@ -129,25 +129,15 @@ mv %{buildroot}%{_datadir}/metainfo/*.xml \ %posttrans %{_bindir}/appstreamcli refresh --force >& /dev/null ||: -## use file triggers instead of static pkg names -## other repos can provide appdata too -%if 0%{?fedora} > 25 -## not sure how smart appstreamcli is about cache validation -## to judge if --force is really needed here or not -- rex %transfiletriggerin -- %{_datadir}/app-info/xmls %{_bindir}/appstreamcli refresh --force >& /dev/null ||: %transfiletriggerpostun -- %{_datadir}/app-info/xmls %{_bindir}/appstreamcli refresh --force >& /dev/null ||: -%else -%triggerun -- appstream-data -%{_bindir}/appstreamcli refresh --force >& /dev/null ||: -%endif %files -f appstream.lang %doc AUTHORS -%license LICENSE.GPLv2 -%license LICENSE.LGPLv2.1 +%license COPYING %{_bindir}/appstreamcli %{_mandir}/man1/appstreamcli.1* %config(noreplace) %{_sysconfdir}/appstream.conf @@ -212,6 +202,10 @@ mv %{buildroot}%{_datadir}/metainfo/*.xml \ %changelog +* Wed Feb 23 2022 Rex Dieter - 0.15.2-1 +- 0.15.2 +- support only filetriggers + * Wed Jan 19 2022 Fedora Release Engineering - 0.15.1-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild diff --git a/sources b/sources index 78d8059..28613cc 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (AppStream-0.15.1.tar.xz) = 31e5cf47b3b10401dc70d3c624a0066ab044e50f9afeee82c01d6b863abcd2e09d4ec3641286bafa8cb0b167d831735a95d6220a70a4ac980f6cc3dc58c29c22 +SHA512 (AppStream-0.15.2.tar.xz) = 133e3019b0a7d303bd6f1178b85897967c193b9718d498bacd7e8fb10933a0971d375979092a152e3419572cfe4595fe08c1c89b27429bebaec17e4b10e10c78