From 9eeb02e21dd39c0dd4f605c697110c1a5145ecd9eb1d44d0eed24e4e07fc6846 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Petr=20Tesa=C5=99=C3=ADk?= Date: Fri, 28 Mar 2014 13:51:14 +0000 Subject: [PATCH] fix build for openSUSE12.2, openSUSE12.3, SLE11SP1, SLE11GA OBS-URL: https://build.opensuse.org/package/show/Kernel:kdump/kdump?expand=0&rev=79 --- kdump.spec | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/kdump.spec b/kdump.spec index 1218d7c..36687f3 100644 --- a/kdump.spec +++ b/kdump.spec @@ -18,6 +18,11 @@ %define dracutlibdir %{_prefix}/lib/dracut %{!?_udevrulesdir: %global _udevrulesdir %(pkg-config --variable=udevdir udev)/rules.d} +%if 0%{?suse_version} >= 1230 +%{!?_udevrulesdir: %global _udevrulesdir /usr/lib/udev/rules.d} +%else +%{!?_udevrulesdir: %global _udevrulesdir /lib/udev/rules.d} +%endif Url: http://freehg.org/u/bwalle/kdump/