From 789ef853aa48e52a53ce3560f855e3beaa25929c Mon Sep 17 00:00:00 2001 From: Mike FABIAN Date: Wed, 20 Jan 2016 17:18:02 +0100 Subject: [PATCH] Weak dependency should be on langpacks-.. (with "s") hi, there is the example: https://fedoraproject.org/wiki/PackagingDrafts/Langpack it shoudl be Supplements: (glibc = %{version}-%{release} and langpacks-%{1} and the package name is `glibc-cs` --- glibc.spec | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/glibc.spec b/glibc.spec index 6e4731f..3eda4d1 100644 --- a/glibc.spec +++ b/glibc.spec @@ -556,7 +556,7 @@ Summary: Locale data for %{1}\ Requires: %{name} = %{version}-%{release}\ Requires: %{name}-common = %{version}-%{release}\ Requires: tzdata >= 2003a\ -Supplements: (glibc = %{version}-%{release} and langpack-%{1})\ +Supplements: (glibc = %{version}-%{release} and langpacks-%{1})\ Group: System Environment/Base\ %description langpack-%{1}\ The glibc-langpack-%1 package includes the locale data for %{1}.\ @@ -1294,8 +1294,7 @@ rm -f $RPM_BUILD_ROOT%{_infodir}/libc.info* olddir=`pwd` pushd ${RPM_BUILD_ROOT}%{_prefix}/lib/locale rm -f locale-archive -# Now put all English locales into langpack-en.filelist and -# all other locales into langpack-other.filelist: +# Create the file lists for the language specific sub-packages: for i in *_* do lang=${i%%_*}