rpms/podsleuth/devel 80-podsleuth.rules, NONE, 1.1 podsleuth.spec, 1.17, 1.18

chkr chkr at fedoraproject.org
Sun Jan 17 23:39:26 UTC 2010


Author: chkr

Update of /cvs/pkgs/rpms/podsleuth/devel
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv22922

Modified Files:
	podsleuth.spec 
Added Files:
	80-podsleuth.rules 
Log Message:
* Sun Jan 17 2010 Christian Krause <chkr at fedoraproject.org> - 0.6.6-0.2.20091216git
- Add udev rule to set the correct SELinux label for iPod devices
  (BZ 533399)



--- NEW FILE 80-podsleuth.rules ---
SUBSYSTEM!="block", GOTO="end_podsleuth"
ACTION=="remove", GOTO="end_podsleuth"
ATTRS{vendor}=="Apple*", ATTRS{model}=="iPod*", \
        RUN+="/usr/bin/chcon -t removable_t /dev/%k"
LABEL="end_podsleuth"


Index: podsleuth.spec
===================================================================
RCS file: /cvs/pkgs/rpms/podsleuth/devel/podsleuth.spec,v
retrieving revision 1.17
retrieving revision 1.18
diff -u -p -r1.17 -r1.18
--- podsleuth.spec	16 Dec 2009 20:25:49 -0000	1.17
+++ podsleuth.spec	17 Jan 2010 23:39:26 -0000	1.18
@@ -6,7 +6,7 @@
 Name:		podsleuth
 Version:	0.6.6
 #Release:	3%{?dist}
-Release:	0.1.%{gitdate}git%{?dist}
+Release:	0.2.%{gitdate}git%{?dist}
 Summary:	Probes, identifies, and exposes properties and metadata bound to iPods
 Group:		Applications/Multimedia
 License:	MIT
@@ -15,6 +15,7 @@ URL:		http://banshee-project.org/
 # sh podsleuth-make-git-snapshot.sh <gitcommit> <gitdate>
 Source0: %{name}-%{gitdate}.tar.bz2
 #Source0:	http://banshee-project.org/files/%{name}/%{version}/%{name}-%{version}.tar.bz2
+Source1:	80-podsleuth.rules
 Patch1:		podsleuth-0.6.6-libdir.patch
 Patch2:		podsleuth-0.6.0-wapidir.patch
 BuildRoot:	%{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
@@ -26,6 +27,7 @@ BuildRequires:	sg3_utils-devel
 BuildRequires: autoconf automake libtool
 Requires:	sg3_utils-libs
 Requires:	dbus
+Requires:	udev
 
 # JIT Not availible on these:
 ExcludeArch: sparc64
@@ -71,6 +73,9 @@ make install DESTDIR=%{buildroot}
 mkdir -p %{buildroot}%{_localstatedir}/cache/podsleuth
 touch %{buildroot}%{_localstatedir}/cache/podsleuth/ipod-model-table
 
+mkdir -p %{buildroot}%{_sysconfdir}/udev/rules.d
+install -m 644 %{SOURCE1} %{buildroot}%{_sysconfdir}/udev/rules.d/
+
 %clean
 %{__rm} -rf %{buildroot}
 
@@ -83,6 +88,7 @@ touch %{buildroot}%{_localstatedir}/cach
 %{_libexecdir}/hal-podsleuth
 %{_datadir}/hal/fdi/policy/20thirdparty/20-podsleuth.fdi
 %{_sysconfdir}/dbus-1/system.d/*
+%{_sysconfdir}/udev/rules.d/*
 %dir %{_localstatedir}/cache/podsleuth
 %ghost %verify(not md5 size mtime) %{_localstatedir}/cache/podsleuth/*
 
@@ -91,6 +97,10 @@ touch %{buildroot}%{_localstatedir}/cach
 %{_libdir}/pkgconfig/podsleuth.pc
 
 %changelog
+* Sun Jan 17 2010 Christian Krause <chkr at fedoraproject.org> - 0.6.6-0.2.20091216git
+- Add udev rule to set the correct SELinux label for iPod devices
+  (BZ 533399)
+
 * Wed Dec 16 2009 Christian Krause <chkr at fedoraproject.org> - 0.6.6-0.1.20091216git
 - Update to git snapshot (20091216) for DeviceKit-disks integration
   (BZ 495240)



More information about the scm-commits mailing list