0.15.2
support only filetriggers
This commit is contained in:
parent
960d047861
commit
f047ec8fe5
3 changed files with 9 additions and 14 deletions
1
.gitignore
vendored
1
.gitignore
vendored
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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 <rdieter@fedoraproject.org> - 0.15.2-1
|
||||
- 0.15.2
|
||||
- support only filetriggers
|
||||
|
||||
* Wed Jan 19 2022 Fedora Release Engineering <releng@fedoraproject.org> - 0.15.1-2
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
|
||||
|
||||
|
|
|
|||
2
sources
2
sources
|
|
@ -1 +1 @@
|
|||
SHA512 (AppStream-0.15.1.tar.xz) = 31e5cf47b3b10401dc70d3c624a0066ab044e50f9afeee82c01d6b863abcd2e09d4ec3641286bafa8cb0b167d831735a95d6220a70a4ac980f6cc3dc58c29c22
|
||||
SHA512 (AppStream-0.15.2.tar.xz) = 133e3019b0a7d303bd6f1178b85897967c193b9718d498bacd7e8fb10933a0971d375979092a152e3419572cfe4595fe08c1c89b27429bebaec17e4b10e10c78
|
||||
|
|
|
|||
Reference in a new issue