The %find_lang should run as part of %install only
This commit is contained in:
parent
d753e93388
commit
a52e677318
@ -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
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user