aboutsummaryrefslogtreecommitdiffstats
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
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
-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>".