Remove unused require_langpacks macro

This commit is contained in:
Florian Weimer 2017-08-16 12:57:22 +02:00
parent 6e6bd41f5e
commit d8b4ab633b

View File

@ -576,13 +576,6 @@ function(i) print(rpm.expand("%lang_package "..i.."")) end)}\
%create_lang_packages %language_list %create_lang_packages %language_list
%define require_langpacks()\
%{lua:\
local languages = rpm.expand("%1")\
string.gsub(languages, "(%a+)",\
function(i) print(rpm.expand("Requires: %{name}-langpack-"..i.." = %{version}-%{release}\\n")) end)}\
%{nil}
# The glibc-all-langpacks provides the virtual glibc-langpack, # The glibc-all-langpacks provides the virtual glibc-langpack,
# and thus satisfies glibc's requirement for installed locales. # and thus satisfies glibc's requirement for installed locales.
# Users can add one more other langauge packs and then eventually # Users can add one more other langauge packs and then eventually