summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohn L. Whiteman <john.l.whiteman@intel.com>2014-10-10 22:28:01 (GMT)
committerJohn L. Whiteman <john.l.whiteman@intel.com>2014-10-10 22:42:52 (GMT)
commitefac36e39e9c65ebf2a11545b6fe9a2e0185d5e8 (patch)
tree612086bd681c12af4af8846b263a1169a60db163
parent317eec4ea3afe0cccbb1b86cede3b87ef032ec7b (diff)
downloadlibcap-efac36e39e9c65ebf2a11545b6fe9a2e0185d5e8.zip
libcap-efac36e39e9c65ebf2a11545b6fe9a2e0185d5e8.tar.gz
libcap-efac36e39e9c65ebf2a11545b6fe9a2e0185d5e8.tar.bz2
Change-Id: Iffaf859f37d4e44c61f44508d4814856b9c2a273 Signed-off-by: John L. Whiteman <john.l.whiteman@intel.com>
-rw-r--r--packaging/libcap.changes3
-rw-r--r--packaging/libcap.spec4
2 files changed, 5 insertions, 2 deletions
diff --git a/packaging/libcap.changes b/packaging/libcap.changes
index ecf1980..93316ff 100644
--- a/packaging/libcap.changes
+++ b/packaging/libcap.changes
@@ -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
diff --git a/packaging/libcap.spec b/packaging/libcap.spec
index d27c6ed..cc85c8d 100644
--- a/packaging/libcap.spec
+++ b/packaging/libcap.spec
@@ -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