!7 Move find_lang {name} to install, fix not found {name}.lang if disable check build
From: @dwl301 Reviewed-by: @zhang__3125 Signed-off-by: @zhang__3125
This commit is contained in:
commit
68a8864c41
@ -15,7 +15,7 @@
|
||||
|
||||
Name: gnome-photos
|
||||
Version: 43.0
|
||||
Release: 1
|
||||
Release: 2
|
||||
Summary: Access, organize and share your photos on GNOME
|
||||
License: GPLv3+ and LGPLv2+
|
||||
URL: https://wiki.gnome.org/Apps/Photos
|
||||
@ -94,12 +94,12 @@ This package contains the installable tests for %{name}.
|
||||
%install
|
||||
%meson_install
|
||||
|
||||
%find_lang %{name} --with-gnome
|
||||
|
||||
%check
|
||||
desktop-file-validate %{buildroot}%{_datadir}/applications/org.gnome.Photos.desktop
|
||||
appstream-util validate-relax --nonet %{buildroot}%{_metainfodir}/*.appdata.xml
|
||||
|
||||
%find_lang %{name} --with-gnome
|
||||
|
||||
%files -f %{name}.lang
|
||||
%license COPYING
|
||||
%{_bindir}/%{name}
|
||||
@ -123,6 +123,9 @@ appstream-util validate-relax --nonet %{buildroot}%{_metainfodir}/*.appdata.xml
|
||||
%{_datadir}/installed-tests
|
||||
|
||||
%changelog
|
||||
* Thu Mar 02 2023 wenlong ding <wenlong.ding@turbolinux.com.cn> - 43.0-2
|
||||
- Move '%%find_lang %{name}' to %%install, fix not found %{name}.lang if disable %%check build
|
||||
|
||||
* Mon Jan 02 2023 lin zhang <lin.zhang@turbolinux.com.cn> - 43.0-1
|
||||
- Update to 43.0
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user