From 8aba564a5f30229b192d4332a0aee63f6391dfba Mon Sep 17 00:00:00 2001 From: Karel Zak Date: Mon, 14 Aug 2017 11:16:01 +0200 Subject: [PATCH] 2.30.1-5: ln-s more robust --- util-linux.spec | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/util-linux.spec b/util-linux.spec index 62c09e4..83c4cdb 100644 --- a/util-linux.spec +++ b/util-linux.spec @@ -2,7 +2,7 @@ Summary: A collection of basic system utilities Name: util-linux Version: 2.30.1 -Release: 4%{?dist} +Release: 5%{?dist} License: GPLv2 and GPLv2+ and LGPLv2+ and BSD with advertising and Public Domain Group: System Environment/Base URL: http://en.wikipedia.org/wiki/Util-linux @@ -435,7 +435,7 @@ if [ -x /usr/sbin/selinuxenabled ] && /usr/sbin/selinuxenabled; then fi fi if [ ! -L /etc/mtab ]; then - ln -sf ../proc/self/mounts /etc/mtab + ln -sf ../proc/self/mounts /etc/mtab || : fi %post -n libblkid @@ -930,6 +930,9 @@ exit 0 %{_libdir}/python*/site-packages/libmount/* %changelog +* Mon Aug 14 2017 Karel Zak - 2.30.1-5 +- make ln-s usage more robust + * Fri Aug 4 2017 Karel Zak - 2.30.1-4 - fix post install script