0.8.4, refresh-index whenever appstream-data is updated too
This commit is contained in:
parent
d52708d215
commit
50c6b8fd6e
2
.gitignore
vendored
2
.gitignore
vendored
@ -1 +1 @@
|
||||
/AppStream-0.8.3.tar.xz
|
||||
/AppStream-0.8.4.tar.xz
|
||||
|
||||
@ -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 <rdieter@fedoraproject.org> 0.8.4-1
|
||||
- 0.8.4, refresh-index whenever appstream-data is updated too
|
||||
|
||||
* Thu Sep 03 2015 Rex Dieter <rdieter@fedoraproject.org> 0.8.3-2
|
||||
- -devel: fix doc handling, omit gtk-doc symlink (for now)
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user