On a second thought, rename block_shutdown plugin to systemd_inhibit
- This is highly systemd-specific functionality so it makes sense to name the plugin in a way that makes it (more) obvious. No other changes besides renaming.
This commit is contained in:
parent
2ffdd6206b
commit
90463ac2ce
|
@ -1031,7 +1031,7 @@ done \
|
|||
%__collection_sepolicy_flags 1
|
||||
|
||||
# Transaction plugin macros
|
||||
%__transaction_block_shutdown %{__plugindir}/block_shutdown.so
|
||||
%__transaction_systemd_inhibit %{__plugindir}/systemd_inhibit.so
|
||||
|
||||
#------------------------------------------------------------------------------
|
||||
# Macros for further automated spec %setup and patch application
|
||||
|
|
|
@ -26,8 +26,8 @@ plugins_LTLIBRARIES += sepolicy.la
|
|||
endif
|
||||
|
||||
if DBUS
|
||||
block_shutdown_la_SOURCES = block_shutdown.c
|
||||
block_shutdown_la_CPPFLAGS = $(AM_CPPFLAGS) @DBUS_CFLAGS@
|
||||
block_shutdown_la_LIBADD = $(top_builddir)/lib/librpm.la $(top_builddir)/rpmio/librpmio.la @DBUS_LIBS@
|
||||
plugins_LTLIBRARIES += block_shutdown.la
|
||||
systemd_inhibit_la_SOURCES = systemd_inhibit.c
|
||||
systemd_inhibit_la_CPPFLAGS = $(AM_CPPFLAGS) @DBUS_CFLAGS@
|
||||
systemd_inhibit_la_LIBADD = $(top_builddir)/lib/librpm.la $(top_builddir)/rpmio/librpmio.la @DBUS_LIBS@
|
||||
plugins_LTLIBRARIES += systemd_inhibit.la
|
||||
endif
|
||||
|
|
Loading…
Reference in New Issue