Blame SOURCES/0001-Place-udev-rules-to-usr-lib.patch

9d4a31
From 14a0cef248d2996cde90e64ae56d7bdb569b3995 Mon Sep 17 00:00:00 2001
9d4a31
From: =?UTF-8?q?V=C3=A1clav=20Pavl=C3=ADn?= <vpavlin@redhat.com>
9d4a31
Date: Mon, 23 Sep 2013 14:05:59 +0200
9d4a31
Subject: [PATCH] Place udev rules to /usr/lib
9d4a31
9d4a31
---
9d4a31
 biosdevname.rules.in | 2 +-
9d4a31
 configure.ac         | 2 +-
9d4a31
 2 files changed, 2 insertions(+), 2 deletions(-)
9d4a31
9d4a31
diff --git a/biosdevname.rules.in b/biosdevname.rules.in
9d4a31
index e26ba98..8c12cb8 100644
9d4a31
--- a/configure.ac
9d4a31
+++ b/configure.ac
9d4a31
@@ -68,7 +68,7 @@ AC_CHECK_FUNCS([dup2 gettimeofday memset munmap select socket strcasecmp strchr
9d4a31
 
9d4a31
 # this is ugly, but accounts for SLES 10, Red Hat/Fedora, and Ubuntu
9d4a31
 # handles default udev rules as of udev 114 or thereabouts
9d4a31
-RULEDEST=/lib/udev/rules.d/71-biosdevname.rules
9d4a31
+RULEDEST=${prefix}/lib/udev/rules.d/71-biosdevname.rules
9d4a31
 
9d4a31
 if [[ -e /etc/udev/rules.d/60-net.rules ]]; then
9d4a31
      # RHEL 5 / Fedora
9d4a31
-- 
9d4a31
1.8.3.1
9d4a31