[Tizen-submit] 21710: Changes to Tizen:IVI/power-manager

noreply at tizen.org noreply at tizen.org
Fri Feb 28 05:27:58 GMT 2014


Hi,
jy910.yun have made the following changes to power-manager in project Tizen:IVI. Please review and accept ASAP.

Thank You,

[This message was auto-generated]

---

Request: #21710

  submit:       Tizen:IVI:build/power-manager(cleanup) -> Tizen:IVI


Message:
Submitter: jy910.yun <jy910.yun at samsung.com>
Comments: hello
Git project: platform/core/system/power-manager
Tag: submit/tizen/20140228.052729
Commit: 9acc07812294b63e060ae1b44b34df118b6e304d Remove initscripts and add PIDFile to service file

State:   new        2014-02-28T05:27:37 tizenrobot
Comment: <no comment>
changes files:
--------------

spec files:
-----------
--- power-manager.spec
+++ power-manager.spec
@@ -1,10 +1,10 @@
 Name:       power-manager
+VCS:        platform/core/system/power-manager#9acc07812294b63e060ae1b44b34df118b6e304d
 Summary:    Power manager
 Version:    1.3.23
 Release:    9
-VCS:        platform/core/system/power-manager#submit/tizen/20130912.090554-0-g43b29f2224b42901351a704d492d8c2ef548185d
-Group:      framework/system
-License:    APLv2
+Group:      System/Power Management
+License:    Apache-2.0
 Source0:    %{name}-%{version}.tar.gz
 Source1001: power-manager.manifest 
 Requires(post): /usr/bin/vconftool
@@ -52,11 +52,6 @@
 install -m 0644 %{SOURCE1} %{buildroot}/usr/lib/systemd/system/power-manager.service
 ln -s ../power-manager.service %{buildroot}/usr/lib/systemd/system/multi-user.target.wants/power-manager.service
 
-mkdir -p %{buildroot}%{_sysconfdir}/rc.d/rc3.d/
-mkdir -p %{buildroot}%{_sysconfdir}/rc.d/rc5.d/
-ln -s %{_sysconfdir}/init.d/pmctrl %{buildroot}%{_sysconfdir}/rc.d/rc3.d/S35power-manager
-ln -s %{_sysconfdir}/init.d/pmctrl %{buildroot}%{_sysconfdir}/rc.d/rc5.d/S00power-manager
-
 %post
 vconftool set -t int memory/pm/state 0 -i
 vconftool set -t int memory/pm/battery_timetofull -1 -i
@@ -76,9 +71,7 @@
 
 %files
 %manifest %{name}.manifest
-%{_sysconfdir}/rc.d/init.d/pmctrl
-%{_sysconfdir}/rc.d/rc3.d/S35power-manager
-%{_sysconfdir}/rc.d/rc5.d/S00power-manager
+%license LICENSE.APLv2
 %{_bindir}/pm_event
 %{_bindir}/pmctrl
 %{_bindir}/power_manager

other changes:
--------------

++++++ power-manager-1.3.23.tar.gz
--- CMakeLists.txt
+++ CMakeLists.txt
@@ -53,6 +53,5 @@
 INSTALL(TARGETS ${PROJECT_NAME} DESTINATION bin)
 INSTALL(PROGRAMS ${CMAKE_BINARY_DIR}/pmctrl DESTINATION bin)
 INSTALL(FILES ${UDEV_RULES} DESTINATION ${UDEV_RULES_PATH})
-INSTALL(PROGRAMS ${CMAKE_SOURCE_DIR}/pmctrl DESTINATION /etc/rc.d/init.d)
 
 ADD_SUBDIRECTORY(pm_event)
--- packaging/power-manager.service
+++ packaging/power-manager.service
@@ -5,6 +5,7 @@
 Type=forking
 ExecStart=/usr/bin/pmctrl start
 Environment=DISPLAY=:0
+PIDFile=/var/run/power-manager.pid
 
 [Install]
 WantedBy=multi-user.target
--- packaging/power-manager.spec
+++ packaging/power-manager.spec
@@ -2,8 +2,8 @@
 Summary:    Power manager
 Version:    1.3.23
 Release:    9
-Group:      framework/system
-License:    APLv2
+Group:      System/Power Management
+License:    Apache-2.0
 Source0:    %{name}-%{version}.tar.gz
 Source1001: power-manager.manifest 
 Requires(post): /usr/bin/vconftool
@@ -51,11 +51,6 @@
 install -m 0644 %{SOURCE1} %{buildroot}/usr/lib/systemd/system/power-manager.service
 ln -s ../power-manager.service %{buildroot}/usr/lib/systemd/system/multi-user.target.wants/power-manager.service
 
-mkdir -p %{buildroot}%{_sysconfdir}/rc.d/rc3.d/

Please refer to OBS webUI for more details about this SR.


More information about the Tizen-submit mailing list