From 50c6b8fd6e8f65f6c4b6ef0f4bb2e9e1962ac2dc Mon Sep 17 00:00:00 2001 From: Rex Dieter Date: Tue, 8 Sep 2015 14:29:22 -0500 Subject: [PATCH] 0.8.4, refresh-index whenever appstream-data is updated too --- .gitignore | 2 +- appstream.spec | 22 ++++++++++++++-------- sources | 2 +- 3 files changed, 16 insertions(+), 10 deletions(-) diff --git a/.gitignore b/.gitignore index 447aa6d..5a5b6c1 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1 @@ -/AppStream-0.8.3.tar.xz +/AppStream-0.8.4.tar.xz diff --git a/appstream.spec b/appstream.spec index 85f7edb..8cef476 100644 --- a/appstream.spec +++ b/appstream.spec @@ -4,8 +4,8 @@ Summary: Utilities to generate, maintain and access the AppStream Xapian database Name: appstream -Version: 0.8.3 -Release: 2%{?dist} +Version: 0.8.4 +Release: 1%{?dist} # lib LGPLv2+, tools GPLv2+ License: GPLv2+ and LGPLv2+ @@ -75,7 +75,7 @@ Requires: vala mkdir %{_target_platform} pushd %{_target_platform} %{cmake} .. \ - -DQT:BOOL=ON -DAPPSTREAM_QT_VERSION:STRING="5"\ + -DQT:BOOL=ON \ -DTESTS:BOOL=ON \ -DVAPI:BOOL=%{?vala:ON}%{!?vala:OFF} popd @@ -100,17 +100,19 @@ make test -C %{_target_platform} ARGS="--output-on-failure --timeout 300" %post -p /sbin/ldconfig %postun -p /sbin/ldconfig -# not sure if this is needed -- rex -%posttrans -%{_bindir}/appstream-cli refresh-index +#posttrans +#{_bindir}/appstreamcli refresh-index + +%triggerin -- appstream-data +%{_bindir}/appstreamcli refresh-index %files -f appstream.lang %doc AUTHORS %{!?_licensedir:%global license %%doc} %license LICENSE.GPLv2 %license LICENSE.LGPLv2.1 -%{_bindir}/appstream-cli -%{_mandir}/man1/appstream-cli.1* +%{_bindir}/appstreamcli +%{_mandir}/man1/appstreamcli.1* %config(noreplace) %{_sysconfdir}/appstream.conf %dir %{_libdir}/girepository-1.0/ %{_libdir}/girepository-1.0/AppStream-0.8.typelib @@ -140,6 +142,7 @@ make test -C %{_target_platform} ARGS="--output-on-failure --timeout 300" %files qt %{_libdir}/libAppstreamQt.so.1* +%{_libdir}/libAppstreamQt.so.%{version} %files qt-devel %{_includedir}/AppstreamQt/ @@ -153,6 +156,9 @@ make test -C %{_target_platform} ARGS="--output-on-failure --timeout 300" %changelog +* Tue Sep 08 2015 Rex Dieter 0.8.4-1 +- 0.8.4, refresh-index whenever appstream-data is updated too + * Thu Sep 03 2015 Rex Dieter 0.8.3-2 - -devel: fix doc handling, omit gtk-doc symlink (for now) diff --git a/sources b/sources index dd86a16..d7d22e1 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -ee28c59735348fb3c6cb3565b30a5666 AppStream-0.8.3.tar.xz +8294719755719d64640b84f7a3217591 AppStream-0.8.4.tar.xz