From 7a5539f687cf2e0abe1df6e636c5ac919212f9a5 Mon Sep 17 00:00:00 2001 From: DistroBaker Date: Jan 14 2021 15:15:29 +0000 Subject: Merged update from upstream sources This is an automated DistroBaker update from upstream sources. If you do not know what this is about or would like to opt out, contact the OSCI team. Source: https://src.fedoraproject.org/rpms/util-linux.git#b188598d3532ba6239c1278447e7b928d6ae386e --- diff --git a/util-linux.spec b/util-linux.spec index 4541839..b86d8f3 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.36.1 -Release: 2%{?dist} +Release: 3%{?dist} License: GPLv2 and GPLv2+ and LGPLv2+ and BSD with advertising and Public Domain URL: http://en.wikipedia.org/wiki/Util-linux @@ -16,6 +16,7 @@ URL: http://en.wikipedia.org/wiki/Util-linux %define pyver 3 ### Dependencies +BuildRequires: make BuildRequires: audit-libs-devel >= 1.0.6 BuildRequires: gettext-devel BuildRequires: libselinux-devel @@ -471,14 +472,17 @@ exit 0 # "systemctl preset" and it enable/disable service only. %post -n uuidd %systemd_post uuidd.service -if [ $1 -eq 1 ]; then +if [ $1 -eq 1 ] && [ -x /usr/bin/systemctl ]; then + # install /bin/systemctl start uuidd.service > /dev/null 2>&1 || : fi %preun -n uuidd +%systemd_preun uuidd.socket %systemd_preun uuidd.service %postun -n uuidd +%systemd_postun_with_restart uuidd.socket %systemd_postun_with_restart uuidd.service %triggerpostun -- util-linux < 2.35.1-7 @@ -941,6 +945,9 @@ fi %{_libdir}/python*/site-packages/libmount/ %changelog +* Thu Jan 14 2021 Karel Zak - 2.36.1-3 +- improve uuidd scriptlets (fix #1767553) + * Thu Nov 19 2020 Karel Zak - 2.36.1-2 - remove unused patches - remove versions and seq.numbers from patch names @@ -948,7 +955,6 @@ fi * Mon Nov 16 2020 Karel Zak - 2.36.1-1 - upgrade to stable upstream 2.36.1 - https://www.kernel.org/pub/linux/utils/util-linux/v2.36/v2.36.1-ReleaseNotes * Tue Jul 14 2020 Tom Stellard - 2.36-4 - Use make macros