diff --git a/python3-libmount.spec b/python3-libmount.spec index 0b20164..e2db248 100644 --- a/python3-libmount.spec +++ b/python3-libmount.spec @@ -73,7 +73,7 @@ Name: python3-libmount %endif Summary: %main_summary License: GPL-2.0-or-later -Group: %main_group +Group: %group_pl BuildRequires: audit-devel BuildRequires: binutils-devel BuildRequires: fdupes @@ -378,6 +378,7 @@ SMP systems. %if %build_util_linux %package -n python3-libmount Summary: %summary_pl +License: GPL-2.0-or-later Group: %group_pl %description -n python3-libmount @@ -399,6 +400,7 @@ cp -a %{S:2} . %patch5 -p1 %build +%global _lto_cflags %{_lto_cflags} -ffat-lto-objects bash ./util-linux-login_defs-check.sh %if %build_util_linux # diff --git a/util-linux-systemd.spec b/util-linux-systemd.spec index 48b6544..9ed1f46 100644 --- a/util-linux-systemd.spec +++ b/util-linux-systemd.spec @@ -399,6 +399,7 @@ cp -a %{S:2} . %patch5 -p1 %build +%global _lto_cflags %{_lto_cflags} -ffat-lto-objects bash ./util-linux-login_defs-check.sh %if %build_util_linux # diff --git a/util-linux.changes b/util-linux.changes index 909893b..91af4eb 100644 --- a/util-linux.changes +++ b/util-linux.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Thu Jun 20 09:27:11 UTC 2019 - Martin Liška + +- Use FAT LTO objects in order to provide proper static library (boo#1138795). + ------------------------------------------------------------------- Wed Jun 19 00:21:25 CEST 2019 - sbrabec@suse.com diff --git a/util-linux.spec b/util-linux.spec index a5729ac..40ef818 100644 --- a/util-linux.spec +++ b/util-linux.spec @@ -399,6 +399,7 @@ cp -a %{S:2} . %patch5 -p1 %build +%global _lto_cflags %{_lto_cflags} -ffat-lto-objects bash ./util-linux-login_defs-check.sh %if %build_util_linux #