spec: remove rhel translations

These are no longer needed and block ELN builds.
This commit is contained in:
Pavel Březina 2020-05-11 13:21:03 +02:00
parent bcf69ee550
commit 4cdcfb17d4

View File

@ -9,9 +9,6 @@ URL: https://github.com/authselect/authselect
License: GPLv3+
Source0: %{url}/archive/%{version}/%{name}-%{version}.tar.gz
%if 0%{?rhel}
Source1: translations.tar.gz
%endif
%global makedir %{_builddir}/%{name}-%{version}
@ -93,14 +90,6 @@ for p in %patches ; do
%__patch -p1 -i $p
done
# Install RHEL translations
# It is not possible to use wildcards here so we need to use 'find'
%if 0%{?rhel}
find "%{makedir}/po" "%{makedir}/src/man/po" -name "*.po" -delete
%__rm "%{makedir}/po/LINGUAS"
%setup -T -D -a 1
%endif
%build
autoreconf -if
%configure --with-pythonbin="%{__python3}"