hack around broken vala bindings
This commit is contained in:
parent
eecef8dc75
commit
7caf7519e6
@ -5,7 +5,7 @@
|
||||
Summary: Utilities to generate, maintain and access the AppStream database
|
||||
Name: appstream
|
||||
Version: 0.11.5
|
||||
Release: 2%{?dist}
|
||||
Release: 3%{?dist}
|
||||
|
||||
# lib LGPLv2+, tools GPLv2+
|
||||
License: GPLv2+ and LGPLv2+
|
||||
@ -98,6 +98,12 @@ mkdir -p %{buildroot}%{_datadir}/appdata/
|
||||
mv %{buildroot}%{_datadir}/metainfo/*.xml \
|
||||
%{buildroot}%{_datadir}/appdata/
|
||||
|
||||
%if 0%{?vala}
|
||||
# Unbreak vala bindings
|
||||
# https://github.com/ximion/appstream/issues/136
|
||||
ln -s appstream.h %{buildroot}%{_includedir}/appstream/AppStream-1.0.h
|
||||
%endif
|
||||
|
||||
|
||||
%check
|
||||
%{meson_test}
|
||||
@ -126,7 +132,6 @@ mv %{buildroot}%{_datadir}/metainfo/*.xml \
|
||||
|
||||
%files -f appstream.lang
|
||||
%doc AUTHORS
|
||||
%{!?_licensedir:%global license %%doc}
|
||||
%license LICENSE.GPLv2
|
||||
%license LICENSE.LGPLv2.1
|
||||
%{_bindir}/appstreamcli
|
||||
@ -176,6 +181,9 @@ mv %{buildroot}%{_datadir}/metainfo/*.xml \
|
||||
|
||||
|
||||
%changelog
|
||||
* Thu Sep 14 2017 Rex Dieter <rdieter@fedoraproject.org> - 0.11.5-3
|
||||
- hack around broken vala bindings
|
||||
|
||||
* Tue Sep 12 2017 Rex Dieter <rdieter@fedoraproject.org> - 0.11.5-2
|
||||
- use file triggers for cache regen
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user