aboutsummaryrefslogtreecommitdiff
path: root/locale-en_BS.spec
diff options
context:
space:
mode:
Diffstat (limited to 'locale-en_BS.spec')
-rw-r--r--locale-en_BS.spec5
1 files changed, 3 insertions, 2 deletions
diff --git a/locale-en_BS.spec b/locale-en_BS.spec
index e0cfa9e..1b57016 100644
--- a/locale-en_BS.spec
+++ b/locale-en_BS.spec
@@ -23,6 +23,7 @@ Packager: B. Stack <bgstack15@gmail.com>
Requires(post): %{_localedef}
Requires(post): %{_localesdir}
%if 0%{?el8}%{?fedora}
+Requires: glibc-locale-source
Requires(post): glibc-locale-source
Requires(preun): glibc-locale-source
%endif
@@ -40,7 +41,7 @@ Stackrpms locations.
%{__install} -t %{buildroot}%{_localesdir} -m0644 %{SOURCE0}
%post
-%{_localedef} --quiet --force --inputfile %{_localesdir}/%{_locale} --charmap UTF-8 %{_locale}.utf8
+%{_localedef} --quiet --force --inputfile %{_localesdir}/%{_locale} --charmap UTF-8 %{_locale}.utf8 || :
%preun
if test "${1}" = "0" ;
@@ -53,7 +54,7 @@ fi
%{_localesdir}/%{_locale}
%changelog
-* Sun Mar 20 2022 B. Stack <bgstack15@gmail.com> - 0.0.1-2
+* Mon Mar 28 2022 B. Stack <bgstack15@gmail.com> - 0.0.1-2
- Add dep glibc-locale-source
* Sat Mar 05 2022 B. Stack <bgstack15@gmail.com> - 0.0.1-1
bgstack15