Rename 61-tizen-video-device.rules to 61-video.rules
authorHyotaek Shim <hyotaek.shim@samsung.com>
Tue, 26 Mar 2019 09:02:46 +0000 (18:02 +0900)
committerHyotaek Shim <hyotaek.shim@samsung.com>
Tue, 26 Mar 2019 09:02:46 +0000 (18:02 +0900)
Change-Id: Ieb5a9d4003284ae5d554a5db5dcda3ce6541709c
Signed-off-by: Hyotaek Shim <hyotaek.shim@samsung.com>
packaging/device-manager-plugin-sc7730.spec
rules/61-video.rules [moved from 61-tizen-video-device.rules with 89% similarity]

index b9d23b4..8e68812 100644 (file)
@@ -1,12 +1,12 @@
 Name:       device-manager-plugin-sc7730
 Summary:    Device manager plugin sc7730
-Version: 0.0.1
+Version:    0.0.1
 Release:    0
 Group:      System/Hardware Adaptation
 License:    Apache-2.0
 Source0:    %{name}-%{version}.tar.gz
 Source1:    %{name}.manifest
-Requires(post): /sbin/ldconfig
+Requires(post):   /sbin/ldconfig
 Requires(postun): /sbin/ldconfig
 BuildRequires:  cmake
 BuildRequires:  pkgconfig(dlog)
@@ -17,7 +17,6 @@ BuildRequires:  pkgconfig(libudev)
 %description
 Device manager plugin sc7730
 
-
 %prep
 %setup -q
 cp %{SOURCE1} .
@@ -31,7 +30,7 @@ make %{?jobs:-j%jobs}
 rm -rf %{buildroot}
 
 mkdir -p %{buildroot}%{_prefix}/lib/udev/rules.d
-install -m 644 61-tizen-video-device.rules %{buildroot}%{_prefix}/lib/udev/rules.d
+install -m 644 61-video.rules %{buildroot}%{_prefix}/lib/udev/rules.d
 
 %make_install
 
@@ -43,4 +42,4 @@ install -m 644 61-tizen-video-device.rules %{buildroot}%{_prefix}/lib/udev/rules
 %{_libdir}/hw/*.so
 %manifest %{name}.manifest
 %license LICENSE
-%{_prefix}/lib/udev/rules.d/61-tizen-video-device.rules
+%{_prefix}/lib/udev/rules.d/61-video.rules
similarity index 89%
rename from 61-tizen-video-device.rules
rename to rules/61-video.rules
index 01b576b..7c07232 100644 (file)
@@ -1,4 +1,4 @@
-ACTION!="add", GOTO="tizen_video_device_end"
+ACTION!="add", GOTO="video_end"
 
 # video
 KERNEL=="video0", GROUP="video", SECLABEL{smack}="*", MODE="0660"
@@ -11,4 +11,4 @@ KERNEL=="sprd_scale", GROUP="video", SECLABEL{smack}="*", MODE="0660"
 KERNEL=="sprd_sensor", GROUP="priv_camera", SECLABEL{smack}="*", MODE="0660"
 KERNEL=="sprd_vsp", GROUP="video", SECLABEL{smack}="*", MODE="0660"
 
-LABEL="tizen_video_device_end"
+LABEL="video_end"