]> git.ipfire.org Git - people/amarx/ipfire-3.x.git/commitdiff
udev: Move everything to /usr.
authorMichael Tremer <michael.tremer@ipfire.org>
Sat, 14 Apr 2012 23:13:43 +0000 (01:13 +0200)
committerMichael Tremer <michael.tremer@ipfire.org>
Sat, 14 Apr 2012 23:13:43 +0000 (01:13 +0200)
udev/udev.nm

index b0ec1b4c4fafdba062bb3b51f2aac07ba109ff38..cede6b371bb0594f63425765100b6a8195fc9a88 100644 (file)
@@ -5,7 +5,7 @@
 
 name       = udev
 version    = 182
-release    = 2
+release    = 3
 
 groups     = System/Base
 url        = ftp://ftp.kernel.org/pub/linux/utils/kernel/hotplug/
@@ -21,6 +21,7 @@ source_dl  = ftp://ftp.kernel.org/pub/linux/utils/kernel/hotplug/
 
 build
        requires
+               filesystem >= 002
                glib2-devel
                gobject-introspection-devel
                gperf
@@ -34,24 +35,29 @@ build
                libusb-compat-devel
                libxslt
                pciutils
-               pkg-config
+               shadow-utils
+               systemd-units
                usbutils
        end
 
        configure_options += \
-               --with-rootprefix="" \
-               --libexecdir=/lib \
+               --libexecdir=%{prefix}/lib \
                --with-selinux \
-               --with-systemdsystemunitdir=/lib/systemd/system
+               --with-systemdsystemunitdir=%{unitdir}
 end
 
 packages
        package %{name}
                groups += Base
 
-               prerequires
-                       shadow-utils
+               requires
+                       hwdata
                        systemd-units
+                       util-linux
+               end
+
+               conflicts
+                       filesystem < 002
                end
 
                script prein
@@ -74,6 +80,10 @@ packages
 
        package lib%{name}
                template LIBS
+
+               conflicts
+                       filesystem < 002
+               end
        end
 
        package lib%{name}-devel