The %find_lang should run as part of %install only

This commit is contained in:
Parag Nemade 2021-02-01 16:57:43 +05:30
parent d753e93388
commit a52e677318
No known key found for this signature in database
GPG Key ID: 71932951EB71E972

View File

@ -2,7 +2,7 @@
Name: fontforge Name: fontforge
Version: 20201107 Version: 20201107
Release: 2%{?dist} Release: 3%{?dist}
Summary: Outline and bitmap font editor Summary: Outline and bitmap font editor
License: GPLv3+ License: GPLv3+
@ -97,14 +97,14 @@ find $RPM_BUILD_ROOT -name '*.a' -exec rm -f {} ';'
rm -f %{buildroot}%{_datadir}/doc/fontforge/{.buildinfo,.nojekyll} rm -f %{buildroot}%{_datadir}/doc/fontforge/{.buildinfo,.nojekyll}
appstream-util validate-relax --nonet %{buildroot}%{_metainfodir}/*.appdata.xml appstream-util validate-relax --nonet %{buildroot}%{_metainfodir}/*.appdata.xml
# Find translations
%find_lang %{gettext_package}
%check %check
pushd %{__cmake_builddir} pushd %{__cmake_builddir}
make check make check
popd popd
# Find translations
%find_lang %{gettext_package}
%files -f %{gettext_package}.lang %files -f %{gettext_package}.lang
%doc AUTHORS %doc AUTHORS
%license LICENSE COPYING.gplv3 %license LICENSE COPYING.gplv3
@ -127,6 +127,9 @@ popd
%doc %{_pkgdocdir} %doc %{_pkgdocdir}
%changelog %changelog
* Mon Feb 01 2021 Parag Nemade <pnemade AT redhat DOT com> - 20201107-3
- The %%find_lang should run as part of %%install only
* Tue Jan 26 2021 Fedora Release Engineering <releng@fedoraproject.org> - 20201107-2 * Tue Jan 26 2021 Fedora Release Engineering <releng@fedoraproject.org> - 20201107-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild