diff options
author | olh@suse.de <olh@suse.de> | 2003-10-29 22:26:35 -0800 |
---|---|---|
committer | Greg KH <gregkh@suse.de> | 2005-04-26 21:06:23 -0700 |
commit | 4360a56d7f1d888fdef481018a168c0dade937b9 (patch) | |
tree | e7e46084613fa588f028a82f2f37d739a3da83be /udev.spec | |
parent | 8519ed1a5bfbbe084c941c4b443c7289adec313b (diff) |
[PATCH] DESTDIR for udev
Diffstat (limited to 'udev.spec')
-rw-r--r-- | udev.spec | 6 |
1 files changed, 2 insertions, 4 deletions
@@ -7,7 +7,7 @@ Group: Utilities/System Source: ftp://ftp.kernel.org/pub/linux/utils/kernel/hotplug/%{name}-%{version}.tar.gz ExclusiveOS: Linux Vendor: Greg Kroah-Hartman <greg@kroah.com> -BuildRoot: /var/tmp/%{name}-%{version}-%{release}-root +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root Prereq: /bin/sh, fileutils, hotplug %description @@ -21,9 +21,7 @@ udev is a implementation of devfs in userspace using sysfs and make CC="gcc $RPM_OPT_FLAGS" %install -make prefix=$RPM_BUILD_ROOT install -rm -f ${RPM_BUILD_ROOT}/etc/hotplug.d/default/udev.hotplug -ln -s /sbin/udev ${RPM_BUILD_ROOT}/etc/hotplug.d/default/udev.hotplug +make DESTDIR=$RPM_BUILD_ROOT install %clean rm -rf $RPM_BUILD_ROOT |