notepadqq update appdata

Signed-off-by: guibuilder_pel7x64builder0 <guibuilder@powerel.org>
master
guibuilder_pel7x64builder0 2019-03-28 15:48:51 +01:00
parent e0d3b582a2
commit 7a8a99fedf
1 changed files with 4 additions and 4 deletions

View File

@ -71,9 +71,9 @@ cp support_files/manpage/%{name}.1 %{buildroot}%{_mandir}/man1
desktop-file-install --dir=%{buildroot}/%{_datadir}/applications support_files/shortcuts/%{name}.desktop

# Appstream
mkdir %{buildroot}%{_metainfodir}
cp support_files/notepadqq.appdata.xml %{buildroot}%{_metainfodir}
appstream-util validate-relax --nonet %{buildroot}%{_metainfodir}/notepadqq.appdata.xml
#mkdir %{buildroot}%{_metainfodir}
#cp support_files/notepadqq.appdata.xml %{buildroot}%{_metainfodir}
#appstream-util validate-relax --nonet %{buildroot}%{_metainfodir}/notepadqq.appdata.xml

# App data
cd out/release
@ -91,7 +91,7 @@ mv * %{buildroot}/%{_datadir}/%{name}
%{_datadir}/applications/%{name}.desktop
%{_datadir}/%{name}
%{_docdir}/%{name}
%{_metainfodir}/notepadqq.appdata.xml
#%{_metainfodir}/notepadqq.appdata.xml
%license COPYING

%changelog