Move udev transfiletriggers to the right package

A redo of b5fa4adf after the rewrite to shell.
This commit is contained in:
Zbigniew Jędrzejewski-Szmek 2018-03-28 08:53:37 +02:00
parent a818a9f2ca
commit 3c9433d7cf
2 changed files with 7 additions and 4 deletions

View File

@ -13,7 +13,7 @@
Name: systemd
Url: http://www.freedesktop.org/wiki/Software/systemd
Version: 238
Release: 6%{?gitcommit:.git%{gitcommitshort}}%{?dist}
Release: 7%{?gitcommit:.git%{gitcommitshort}}%{?dist}
# For a breakdown of the licensing, see README
License: LGPLv2+ and MIT and GPLv2+
Summary: System and Service Manager
@ -706,7 +706,10 @@ fi
%files tests -f .file-list-tests
%changelog
* Tue Mar 27 2018 Colin Walters <walters@verbum.org>
* Wed Mar 28 2018 Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> - 238-7
- Move udev transfiletriggers to the right package
* Tue Mar 27 2018 Colin Walters <walters@verbum.org> - 238-6
- Use shell for triggers; see https://github.com/systemd/systemd/pull/8550
This fixes compatibility with rpm-ostree.

View File

@ -73,7 +73,7 @@ if test -d /run/systemd/system; then
%{_bindir}/systemd-tmpfiles --create
fi
%transfiletriggerin -- /usr/lib/udev/hwdb.d
%transfiletriggerin udev -- /usr/lib/udev/hwdb.d
# This script will automatically invoke hwdb update if files have been
# installed or updated in /usr/lib/udev/hwdb.d.
if test -d /run/systemd/system; then
@ -87,7 +87,7 @@ if test -d /run/systemd/system; then
%{_bindir}/journalctl --update-catalog
fi
%transfiletriggerin -- /usr/lib/udev/rules.d
%transfiletriggerin udev -- /usr/lib/udev/rules.d
# This script will automatically update udev with new rules if files
# have been installed or updated in /usr/lib/udev/rules.d.
if test -d /run/systemd/system; then