From: saerome kim Date: Fri, 28 Apr 2017 01:39:45 +0000 (+0900) Subject: Disable privilege check function temporally until ACR compelte X-Git-Tag: submit/tizen/20170512.045637~2 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=2e7f11f7c6188f80d1b4f157897bbe6d5402d5ee;p=platform%2Fcore%2Fconnectivity%2Fzigbee-manager.git Disable privilege check function temporally until ACR compelte Change-Id: I542ad01de258dfaef119bb97f2cb109a877087df Signed-off-by: saerome kim --- diff --git a/packaging/zigbee-manager.spec b/packaging/zigbee-manager.spec index f6af1cb..19fb9fc 100644 --- a/packaging/zigbee-manager.spec +++ b/packaging/zigbee-manager.spec @@ -1,6 +1,7 @@ %define major 0 %define minor 1 %define patchlevel 0 +%define CHECK_ZIGBEE_PRIVILEGE False Name: zigbee-manager Version: %{major}.%{minor}.%{patchlevel} @@ -43,8 +44,10 @@ ZigBee library (devel) chmod 644 %{SOURCE1} cp -a %{SOURCE1} . +%if %{CHECK_ZIGBEE_PRIVILEGE} == "True" chmod 644 %{SOURCE2} cp -a %{SOURCE2} . +%endif %build cmake . -DCMAKE_INSTALL_PREFIX=%{_prefix} -DVERSION=%{version} \ @@ -61,7 +64,9 @@ make %{?_smp_mflags} mkdir -p %{buildroot}%{_datadir}/dbus-1/system-services/ mkdir -p %{buildroot}%{_datadir}/dbus-1/system.d/ cp %{SOURCE1} %{buildroot}%{_datadir}/dbus-1/system-services/org.tizen.zigbee.service +%if %{CHECK_ZIGBEE_PRIVILEGE} == "True" cp %{SOURCE2} %{buildroot}%{_datadir}/dbus-1/system.d/zigbee.conf +%endif %post -p /sbin/ldconfig @@ -75,7 +80,9 @@ cp %{SOURCE2} %{buildroot}%{_datadir}/dbus-1/system.d/zigbee.conf #%{_libdir}/systemd/system/multi-user.target.wants/zigbee-daemon.service %{_datadir}/license/zigbee-daemon %attr(644,root,root) %{_datadir}/dbus-1/system-services/* +%if %{CHECK_ZIGBEE_PRIVILEGE} == "True" %{_datadir}/dbus-1/system.d/zigbee.conf +%endif %files -n zigbee-lib %defattr(644,system,system,-)