From 4cdcfb17d43eec866a9d66402c1c7dcf94fa639a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Pavel=20B=C5=99ezina?= Date: Mon, 11 May 2020 13:21:03 +0200 Subject: [PATCH] spec: remove rhel translations These are no longer needed and block ELN builds. --- authselect.spec | 11 ----------- 1 file changed, 11 deletions(-) diff --git a/authselect.spec b/authselect.spec index 39d8d4f..a80c7a6 100644 --- a/authselect.spec +++ b/authselect.spec @@ -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}"