aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--NEWS2
-rw-r--r--build.macros.in4
2 files changed, 6 insertions, 0 deletions
diff --git a/NEWS b/NEWS
index 646e27c..9600651 100644
--- a/NEWS
+++ b/NEWS
@@ -1,3 +1,5 @@
+- add some macros for udev rules and tmpfiles snippets
+
Version 1.163 - 23 Nov 2012, by Olivier Blin
- modify arch_tagged macro to use ()(64bit) instead of (lib64), to be
compatible with the mark64 provides generated by find-provides
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>".