Fix TC-1588. Install libcap to /usr directories 39/28639/2 accepted/tizen_3.0.m2_base accepted/tizen_3.0_ivi accepted/tizen_common accepted/tizen_ivi accepted/tizen_mobile accepted/tizen_tv accepted/tizen_wearable tizen_3.0 tizen_3.0.2014.q4_common tizen_3.0.2015.q1_common tizen_3.0.2015.q2_common tizen_3.0.m1_mobile tizen_3.0.m1_tv tizen_3.0.m2_base tizen_3.0_ivi accepted/tizen/3.0.m2/base/20170104.082058 accepted/tizen/3.0/base/20161028.102918 accepted/tizen/base/20151223.052334 accepted/tizen/common/20141013.222720 accepted/tizen/ivi/20141020.030528 submit/tizen/20141013.162359 submit/tizen_3.0.m2_base/20170104.073748 submit/tizen_3.0_base/20161028.062323 submit/tizen_base/20151223.111112 submit/tizen_common/20151015.190624 submit/tizen_common/20151019.135620 submit/tizen_mobile/20141120.000000 tizen_3.0.m1_mobile_release tizen_3.0.m1_tv_release tizen_3.0.m2.a1_mobile_release tizen_3.0.m2.a1_tv_release tizen_3.0_ivi_release
authorJohn L. Whiteman <john.l.whiteman@intel.com>
Fri, 10 Oct 2014 22:28:01 +0000 (15:28 -0700)
committerJohn L. Whiteman <john.l.whiteman@intel.com>
Fri, 10 Oct 2014 22:42:52 +0000 (15:42 -0700)
Change-Id: Iffaf859f37d4e44c61f44508d4814856b9c2a273
Signed-off-by: John L. Whiteman <john.l.whiteman@intel.com>
packaging/libcap.changes
packaging/libcap.spec

index ecf1980..93316ff 100644 (file)
@@ -1,3 +1,6 @@
+* Fri Oct 10 2014 John L. Whiteman <john.l.whiteman@intel.com> accepted/tizen/generic/20140312.114958-1-g431cdd7
+- Fixed TC-1588. Install libcap to /usr/sbin
+
 * Wed Jan 15 2014 Maciej Wereski <m.wereski@partner.samsung.com> upstream/2.24@71163a1
 - Update to 2.24
 
index d27c6ed..cc85c8d 100644 (file)
@@ -51,7 +51,7 @@ cp %{SOURCE1001} .
 lib=%{_lib} make %{?_smp_mflags} DEBUG="-g %{optflags}"
 
 %install
-make install DESTDIR=%{buildroot} LIBDIR=%{buildroot}/%{_lib} MANDIR=%{buildroot}%{_mandir} PKGCONFIGDIR=%{buildroot}%{_libdir}/pkgconfig RAISE_SETFCAP=no
+make install prefix=%{_prefix} DESTDIR=%{buildroot} LIBDIR=%{buildroot}/%{_lib} MANDIR=%{buildroot}%{_mandir} PKGCONFIGDIR=%{buildroot}%{_libdir}/pkgconfig RAISE_SETFCAP=no
 # remove unneeded files
 rm -f %{buildroot}/%{_lib}/*.*a
 # move *.so file to libdir and relink
@@ -75,7 +75,7 @@ ln -s /%{_lib}/libcap.so.2 %{buildroot}%{_libdir}/libcap.so
 %defattr(-,root,root)
 %{_mandir}/man1/*
 %{_mandir}/man8/*
-/sbin/*
+%{_prefix}/sbin/*
 
 %files devel
 %manifest %{name}.manifest