* [patch] udev spec file update
@ 2003-12-30 23:02 Rob Love
2003-12-31 0:36 ` Greg KH
0 siblings, 1 reply; 2+ messages in thread
From: Rob Love @ 2003-12-30 23:02 UTC (permalink / raw)
To: linux-hotplug
Hey, Greg.
More udev spec file updates. This one from David Zeuthen.
Attached patch, against udev-011, makes sure we pass USE_DBUS and also
makes sure we install the D-BUS policy file, if the %{dbus} option is
set.
Please apply.
Rob Love
diff -urN udev-011/udev.spec udev/udev.spec
--- udev-011/udev.spec 2003-12-24 19:35:40.000000000 -0500
+++ udev/udev.spec 2003-12-30 17:54:51.494519864 -0500
@@ -48,7 +48,10 @@
%endif
%install
-make DESTDIR=$RPM_BUILD_ROOT install
+make DESTDIR=$RPM_BUILD_ROOT install \
+%if %{dbus}
+ USE_DBUS=true
+%endif
%post
/sbin/chkconfig --add udev
@@ -70,6 +73,9 @@
%config(noreplace) %attr(0644,root,root) /etc/udev/udev.conf
%config(noreplace) %attr(0644,root,root) /etc/udev/udev.rules
%config(noreplace) %attr(0644,root,root) /etc/udev/udev.permissions
+%if %{dbus}
+ %config(noreplace) %attr(0644,root,root) /etc/dbus-1/system.d/udev_sysbus_policy.conf
+%endif
%attr(-,root,root) /etc/hotplug.d/default/udev.hotplug
%attr(755,root,root) /etc/init.d/udev
%attr(0644,root,root) %{_mandir}/man8/udev.8*
-------------------------------------------------------
This SF.net email is sponsored by: IBM Linux Tutorials.
Become an expert in LINUX or just sharpen your skills. Sign up for IBM's
Free Linux Tutorials. Learn everything from the bash shell to sys admin.
Click now! http://ads.osdn.com/?ad_id\x1278&alloc_id371&op=click
_______________________________________________
Linux-hotplug-devel mailing list http://linux-hotplug.sourceforge.net
Linux-hotplug-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/linux-hotplug-devel
^ permalink raw reply [flat|nested] 2+ messages in thread* Re: [patch] udev spec file update
2003-12-30 23:02 [patch] udev spec file update Rob Love
@ 2003-12-31 0:36 ` Greg KH
0 siblings, 0 replies; 2+ messages in thread
From: Greg KH @ 2003-12-31 0:36 UTC (permalink / raw)
To: linux-hotplug
On Tue, Dec 30, 2003 at 06:02:36PM -0500, Rob Love wrote:
> Hey, Greg.
>
> More udev spec file updates. This one from David Zeuthen.
>
> Attached patch, against udev-011, makes sure we pass USE_DBUS and also
> makes sure we install the D-BUS policy file, if the %{dbus} option is
> set.
Ah, good catch. Applied, thanks.
greg k-h
-------------------------------------------------------
This SF.net email is sponsored by: IBM Linux Tutorials.
Become an expert in LINUX or just sharpen your skills. Sign up for IBM's
Free Linux Tutorials. Learn everything from the bash shell to sys admin.
Click now! http://ads.osdn.com/?ad_id\x1278&alloc_id371&op=click
_______________________________________________
Linux-hotplug-devel mailing list http://linux-hotplug.sourceforge.net
Linux-hotplug-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/linux-hotplug-devel
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2003-12-31 0:36 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-12-30 23:02 [patch] udev spec file update Rob Love
2003-12-31 0:36 ` Greg KH
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).