From aa0715e1f5aa7f1653171582ddd64b0128575722 Mon Sep 17 00:00:00 2001 From: dwl301 Date: Thu, 2 Mar 2023 12:29:45 +0800 Subject: [PATCH] Move find_lang {name} to install, fix not found {name}.lang if disable check build --- gnome-photos.spec | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/gnome-photos.spec b/gnome-photos.spec index 21a656e..b9e3cf4 100644 --- a/gnome-photos.spec +++ b/gnome-photos.spec @@ -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 - 43.0-2 +- Move '%%find_lang %{name}' to %%install, fix not found %{name}.lang if disable %%check build + * Mon Jan 02 2023 lin zhang - 43.0-1 - Update to 43.0