rpms/gnome-bluetooth/devel 61-gnome-bluetooth-rfkill.rules, NONE, 1.1 gnome-bluetooth.spec, 1.86, 1.87

Bastien Nocera hadess at fedoraproject.org
Tue Aug 11 11:48:56 UTC 2009


Author: hadess

Update of /cvs/pkgs/rpms/gnome-bluetooth/devel
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv5135

Modified Files:
	gnome-bluetooth.spec 
Added Files:
	61-gnome-bluetooth-rfkill.rules 
Log Message:
* Tue Aug 11 2009 Bastien Nocera <bnocera at redhat.com> 2.27.9-4
- Add udev rules to access /dev/rfkill (#514798)



--- NEW FILE 61-gnome-bluetooth-rfkill.rules ---
# Get access to /dev/rfkill for users
# See https://bugzilla.redhat.com/show_bug.cgi?id=514798
KERNEL=="rfkill", ENV{ACL_MANAGE}="1"


Index: gnome-bluetooth.spec
===================================================================
RCS file: /cvs/pkgs/rpms/gnome-bluetooth/devel/gnome-bluetooth.spec,v
retrieving revision 1.86
retrieving revision 1.87
diff -u -p -r1.86 -r1.87
--- gnome-bluetooth.spec	11 Aug 2009 08:47:39 -0000	1.86
+++ gnome-bluetooth.spec	11 Aug 2009 11:48:56 -0000	1.87
@@ -1,12 +1,13 @@
 Name:		gnome-bluetooth
 Version:	2.27.9
-Release:	3%{?dist}
+Release:	4%{?dist}
 Summary:	Bluetooth graphical utilities
 
 Group:		Applications/Communications
 License:	GPLv2+
 URL:		http://live.gnome.org/GnomeBluetooth
 Source0:	http://download.gnome.org/sources/gnome-bluetooth/2.27/gnome-bluetooth-%{version}.tar.bz2
+Source1:	61-gnome-bluetooth-rfkill.rules
 BuildRoot:	%(mktemp -ud %{_tmppath}/%{name}-%{version}-%{release}-XXXXXX)
 
 Patch0:		0001-Bug-590874-crash-in-Bluetooth-adding-a-bluetoot.patch
@@ -87,6 +88,8 @@ desktop-file-install --vendor=""				\
 	--dir=$RPM_BUILD_ROOT%{_sysconfdir}/xdg/autostart/	\
 	$RPM_BUILD_ROOT%{_sysconfdir}/xdg/autostart/bluetooth-applet.desktop
 
+install -m0644 -D %{SOURCE1} $RPM_BUILD_ROOT/lib/udev/rules.d/61-gnome-bluetooth-rfkill.rules
+
 # gnome-bluetooth2 is the name for the gettext domain,
 # gnome-bluetooth is the name in the docs
 %find_lang gnome-bluetooth2
@@ -177,6 +180,7 @@ fi
 %{_datadir}/applications/*.desktop
 %{_datadir}/gnome-bluetooth/
 %{_mandir}/man1/*
+/lib/udev/rules.d/61-gnome-bluetooth-rfkill.rules
 
 %files libs
 %defattr(-,root,root,-)
@@ -193,6 +197,9 @@ fi
 %{_datadir}/gtk-doc/html/gnome-bluetooth/
 
 %changelog
+* Tue Aug 11 2009 Bastien Nocera <bnocera at redhat.com> 2.27.9-4
+- Add udev rules to access /dev/rfkill (#514798)
+
 * Tue Aug 11 2009 Bastien Nocera <bnocera at redhat.com> 2.27.9-3
 - Don't crash when exiting the wizard
 




More information about the fedora-extras-commits mailing list