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

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