Skip to content

Commit

Permalink
Merge pull request #152 from yast/packaging_fix
Browse files Browse the repository at this point in the history
  • Loading branch information
lslezak committed Nov 24, 2017
2 parents 4c4958d + c8370a3 commit 90fa82f
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 3 deletions.
2 changes: 1 addition & 1 deletion language/src/modules/Language.rb
Expand Up @@ -553,7 +553,7 @@ def ReadLocaleConfLanguage
@localed_conf = Y2Country.read_locale_conf
return nil if @localed_conf.nil?
local_lang = @localed_conf["LANG"]
local_lang.sub!(/[.@].*$/, "")
local_lang.sub!(/[.@].*$/, "") if local_lang
log.info("language from sysconfig: %{local_lang}")
local_lang
end
Expand Down
8 changes: 8 additions & 0 deletions package/yast2-country.changes
@@ -1,3 +1,11 @@
-------------------------------------------------------------------
Fri Nov 24 08:01:20 UTC 2017 - lslezak@suse.cz

- Move the y2country/language_dbus.rb file to the
yast2-country-data subpackage where it is needed by Language.rb
(bsc#1069119)
- 4.0.10

-------------------------------------------------------------------
Fri Nov 17 14:40:52 CET 2017 - schubi@suse.de

Expand Down
7 changes: 5 additions & 2 deletions package/yast2-country.spec
Expand Up @@ -17,7 +17,7 @@


Name: yast2-country
Version: 4.0.9
Version: 4.0.10
Release: 0

BuildRoot: %{_tmppath}/%{name}-%{version}-build
Expand Down Expand Up @@ -100,7 +100,8 @@ install -m 0644 %SOURCE2 $RPM_BUILD_ROOT/usr/share/polkit-1/actions/
%{yast_moduledir}/YaPI/TIME.pm
%{yast_moduledir}/YaPI/LANGUAGE.pm
%{yast_clientdir}/*.rb
%{yast_libdir}/y2country
%dir %{yast_libdir}/y2country
%{yast_libdir}/y2country/widgets
%{yast_ydatadir}/*.ycp
%{yast_yncludedir}/keyboard/
%{yast_yncludedir}/timezone/
Expand Down Expand Up @@ -130,5 +131,7 @@ functions (Language module)
%dir %{yast_ydatadir}/languages
%{yast_ydatadir}/languages/*.ycp
%{yast_moduledir}/Language.rb
%dir %{yast_libdir}/y2country
%{yast_libdir}/y2country/language_dbus.rb

%changelog

0 comments on commit 90fa82f

Please sign in to comment.