aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorB. Stack <bgstack15@gmail.com>2022-03-28 16:39:39 -0400
committerB. Stack <bgstack15@gmail.com>2022-03-28 16:39:39 -0400
commitfd44800e61487232434040e68cc5c3f95fae461a (patch)
treecd4fe5798c87977fdc6c965e92f33cd0682c3e8e
parentrpm: add glibc-locale-source (diff)
downloadlocale-en_BS-fd44800e61487232434040e68cc5c3f95fae461a.tar.gz
locale-en_BS-fd44800e61487232434040e68cc5c3f95fae461a.tar.bz2
locale-en_BS-fd44800e61487232434040e68cc5c3f95fae461a.zip
improve the req for glibc-locale-source
-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