aboutsummaryrefslogtreecommitdiffstats
path: root/build.macros.in
diff options
context:
space:
mode:
authorColin Guthrie <colin@mageia.org>2012-11-25 13:59:39 +0000
committerColin Guthrie <colin@mageia.org>2012-11-25 13:59:39 +0000
commite34fddaa4fc27a75d44821c0926f575b5e84d7ad (patch)
treefce63b5717143630d63d859fd1ccf4f74d479062 /build.macros.in
parent7bc24d0af39cc4ed08336e0b37fd2a57efd8abb9 (diff)
downloadrpm-setup-e34fddaa4fc27a75d44821c0926f575b5e84d7ad.tar
rpm-setup-e34fddaa4fc27a75d44821c0926f575b5e84d7ad.tar.gz
rpm-setup-e34fddaa4fc27a75d44821c0926f575b5e84d7ad.tar.bz2
rpm-setup-e34fddaa4fc27a75d44821c0926f575b5e84d7ad.tar.xz
rpm-setup-e34fddaa4fc27a75d44821c0926f575b5e84d7ad.zip
add some macros for udev rules and tmpfiles snippets
Diffstat (limited to 'build.macros.in')
-rw-r--r--build.macros.in4
1 files changed, 4 insertions, 0 deletions
diff --git a/build.macros.in b/build.macros.in
index ebe26cf..3b9914e 100644
--- a/build.macros.in
+++ b/build.macros.in
@@ -502,6 +502,10 @@ popd
#
%_unitdir /usr/lib/systemd/system
+%_udevrulesdir /usr/lib/udev/rules.d
+%_tmpfilesdir /usr/lib/tmpfiles.d
+%_tmpfilescreate() /usr/bin/systemd-tmpfiles --create %{1}.conf \
+%{nil}
#------------------------------------------------------------------------------
# Redefine RPM sections to allow jumping over them using "--without <section>".