Validate appdata file in check rather than install section
This commit is contained in:
parent
22cd40da16
commit
6ee7c7dae5
@ -161,9 +161,6 @@ desktop-file-install --vendor="%{?desktop_vendor}" --delete-original --remove-ke
|
||||
# No skencil anymore
|
||||
rm -f $RPM_BUILD_ROOT%{_datadir}/%{name}/extensions/sk2svg.sh
|
||||
|
||||
# Validate appdata file
|
||||
appstream-util validate-relax --nonet $RPM_BUILD_ROOT%{_datadir}/metainfo/*.appdata.xml
|
||||
|
||||
# Install Fedora Color Pallette
|
||||
install -pm 644 %{SOURCE2} $RPM_BUILD_ROOT%{_datadir}/inkscape/palettes/
|
||||
|
||||
@ -173,6 +170,11 @@ rm -rf $RPM_BUILD_ROOT%{_datadir}/inkscape/doc
|
||||
rm -f $RPM_BUILD_ROOT%{_datadir}/doc/inkscape/copyright
|
||||
|
||||
|
||||
%check
|
||||
# Validate appdata file
|
||||
appstream-util validate-relax --nonet $RPM_BUILD_ROOT%{_datadir}/metainfo/*.appdata.xml
|
||||
|
||||
|
||||
%files -f %{name}.lang
|
||||
%{!?_licensedir:%global license %%doc}
|
||||
%license COPYING
|
||||
@ -223,6 +225,7 @@ rm -f $RPM_BUILD_ROOT%{_datadir}/doc/inkscape/copyright
|
||||
%changelog
|
||||
* Mon Aug 17 2020 Kalev Lember <klember@redhat.com> - 1.0-7
|
||||
- Drop two unneeded dependencies
|
||||
- Validate appdata file in check rather than install section
|
||||
|
||||
* Tue Jul 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.0-6
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
|
||||
|
Loading…
x
Reference in New Issue
Block a user