rpms/podsleuth/F-12 80-podsleuth.rules, NONE, 1.1 podsleuth.spec, 1.15, 1.16

chkr chkr at fedoraproject.org
Mon Jan 18 00:16:33 UTC 2010


Author: chkr

Update of /cvs/pkgs/rpms/podsleuth/F-12
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv26429

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/F-12/podsleuth.spec,v
retrieving revision 1.15
retrieving revision 1.16
diff -u -p -r1.15 -r1.16
--- podsleuth.spec	16 Dec 2009 23:57:26 -0000	1.15
+++ podsleuth.spec	18 Jan 2010 00:16:32 -0000	1.16
@@ -6,7 +6,7 @@
 Name:		podsleuth
 Version:	0.6.6
 #Release:	2%{?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