Drop very old upgrade scriptlet for libblkid

It was there in the initial commit in 2011, but it looks like it is
older than that.
This commit is contained in:
Zbigniew Jędrzejewski-Szmek 2022-02-17 13:52:25 +01:00 committed by Karel Zak
parent f3b1a65177
commit c409cb5073
1 changed files with 4 additions and 13 deletions

View File

@ -2,7 +2,7 @@
Summary: Collection of basic system utilities
Name: util-linux
Version: 2.38
Release: 0.4%{?dist}
Release: 0.5%{?dist}
License: GPLv2 and GPLv2+ and LGPLv2+ and BSD with advertising and Public Domain
URL: https://en.wikipedia.org/wiki/Util-linux
@ -196,7 +196,6 @@ Summary: Block device ID library
License: LGPLv2+
Requires: libuuid%{?_isa} = %{version}-%{release}
Conflicts: filesystem < 3
Requires(post): coreutils
%description -n libblkid
This is block device identification library, part of util-linux.
@ -439,17 +438,6 @@ if [ ! -L /etc/mtab ]; then
ln -sf ../proc/self/mounts /etc/mtab || :
fi
%post -n libblkid
### Move blkid cache to /run
[ -d /run/blkid ] || mkdir -p /run/blkid
for I in /etc/blkid.tab /etc/blkid.tab.old \
/etc/blkid/blkid.tab /etc/blkid/blkid.tab.old; do
if [ -f "$I" ]; then
mv "$I" /run/blkid/ || :
fi
done
%pre -n uuidd
getent group uuidd >/dev/null || groupadd -r uuidd
getent passwd uuidd >/dev/null || \
@ -930,6 +918,9 @@ fi
%{_libdir}/python*/site-packages/libmount/
%changelog
* Thu Feb 17 2022 Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> - 2.38-0.5
- Drop very old upgrade scriptlet for libblkid
* Wed Mar 16 2022 Karel Zak <kzak@redhat.com> - 2.38-0.4
- upgrade to v2.38-rc3
https://mirrors.edge.kernel.org/pub/linux/utils/util-linux/v2.38/v2.38-ReleaseNotes