trivial: Use the non-deprecated location for metainfo files
Fixes: https://bugzilla.redhat.com/show_bug.cgi?id=1541437
This commit is contained in:
parent
b4f19ebb20
commit
40d4071d2c
@ -24,7 +24,7 @@ Summary: %{?2:%(echo %* | sed -e "s/%1 //")} langpacks meta-package\
|
||||
This package provides %{?2:%(echo %* | sed -e "s/%1 //")} langpacks meta-package.\
|
||||
\
|
||||
%files -n %{name}-%1 \
|
||||
%{_datadir}/appdata/org.fedoraproject.LangPack-%1.metainfo.xml
|
||||
%{_datadir}/metainfo/org.fedoraproject.LangPack-%1.metainfo.xml
|
||||
|
||||
# The following language list is generated based on
|
||||
# 1) take the languages where anaconda translations are available
|
||||
@ -124,7 +124,7 @@ This package provides %{?2:%(echo %* | sed -e "s/%1 //")} langpacks meta-package
|
||||
%install
|
||||
# Explode the metainfo files into the subpackages so they get added to the
|
||||
# distro-specific AppStream metadata
|
||||
mkdir -p %{buildroot}/usr/share/appdata
|
||||
mkdir -p %{buildroot}/usr/share/metainfo
|
||||
DESTDIR=%{buildroot} appstream-util split-appstream %{SOURCE0}
|
||||
|
||||
%changelog
|
||||
|
||||
Loading…
Reference in New Issue
Block a user