da4aaf15e6
I forgot that biosdevname upstream no longer puts releases to FTP and moved to Github based release process. This makes things a bit more complicated for downstreams, since tarball no longer contains generated configure script so we need to pull-in autotools during the build. Second issue is that release tarball also contains .gitignore file which excludes biosdevname.rules.in and hence this file can't be patches auto-magically with %autosetup so I had to downgrade to %autopatch. Reported-by: Xose Vazquez Perez <xose.vazquez@gmail.com>
27 lines
885 B
Diff
27 lines
885 B
Diff
From 14a0cef248d2996cde90e64ae56d7bdb569b3995 Mon Sep 17 00:00:00 2001
|
|
From: =?UTF-8?q?V=C3=A1clav=20Pavl=C3=ADn?= <vpavlin@redhat.com>
|
|
Date: Mon, 23 Sep 2013 14:05:59 +0200
|
|
Subject: [PATCH] Place udev rules to /usr/lib
|
|
|
|
---
|
|
biosdevname.rules.in | 2 +-
|
|
configure.ac | 2 +-
|
|
2 files changed, 2 insertions(+), 2 deletions(-)
|
|
|
|
diff --git a/biosdevname.rules.in b/biosdevname.rules.in
|
|
index e26ba98..8c12cb8 100644
|
|
--- a/configure.ac
|
|
+++ b/configure.ac
|
|
@@ -68,7 +68,7 @@ AC_CHECK_FUNCS([dup2 gettimeofday memset munmap select socket strcasecmp strchr
|
|
|
|
# this is ugly, but accounts for SLES 10, Red Hat/Fedora, and Ubuntu
|
|
# handles default udev rules as of udev 114 or thereabouts
|
|
-RULEDEST=/lib/udev/rules.d/71-biosdevname.rules
|
|
+RULEDEST=${prefix}/lib/udev/rules.d/71-biosdevname.rules
|
|
|
|
if [[ -e /etc/udev/rules.d/60-net.rules ]]; then
|
|
# RHEL 5 / Fedora
|
|
--
|
|
1.8.3.1
|
|
|