summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMaciej Wereski <m.wereski@partner.samsung.com>2014-01-15 15:25:58 (GMT)
committerMaciej Wereski <m.wereski@partner.samsung.com>2014-01-28 08:45:47 (GMT)
commit317eec4ea3afe0cccbb1b86cede3b87ef032ec7b (patch)
treeff98161532a967954b5c4fa094b622ba932d25c4
parent1f4f4df9585670cd8d018883a7d760dc01900f78 (diff)
downloadlibcap-tizen_3.0.m14.2_ivi.zip
libcap-tizen_3.0.m14.2_ivi.tar.gz
libcap-tizen_3.0.m14.2_ivi.tar.bz2
Change-Id: I4b8ddc9674dcd6eec7046f54997b85cf4f701d39 Signed-off-by: Maciej Wereski <m.wereski@partner.samsung.com>
-rw-r--r--packaging/libcap.changes3
-rw-r--r--packaging/libcap.spec8
2 files changed, 7 insertions, 4 deletions
diff --git a/packaging/libcap.changes b/packaging/libcap.changes
index c875416..ecf1980 100644
--- a/packaging/libcap.changes
+++ b/packaging/libcap.changes
@@ -1,3 +1,6 @@
+* Wed Jan 15 2014 Maciej Wereski <m.wereski@partner.samsung.com> upstream/2.24@71163a1
+- Update to 2.24
+
* Fri Mar 22 2013 Anas Nashif <anas.nashif@intel.com> submit/trunk/20121214.220221@ca70619
- Fixed package groups
diff --git a/packaging/libcap.spec b/packaging/libcap.spec
index 30be5c2..d27c6ed 100644
--- a/packaging/libcap.spec
+++ b/packaging/libcap.spec
@@ -1,11 +1,11 @@
Name: libcap
-Version: 2.22
+Version: 2.24
Release: 1
License: BSD-3-Clause and GPL-2.0
Summary: Library for Capabilities (linux-privs) Support
Url: https://sites.google.com/site/fullycapable/
Group: Base/Libraries
-Source: %{name}-%{version}.tar.bz2
+Source: %{name}-%{version}.tar.xz
Source2: baselibs.conf
Source1001: libcap.manifest
BuildRequires: fdupes
@@ -48,11 +48,10 @@ libcap.
cp %{SOURCE1001} .
%build
-# lib=%{_lib} make %{?_smp_mflags} COPTFLAG="%{optflags}"
lib=%{_lib} make %{?_smp_mflags} DEBUG="-g %{optflags}"
%install
-make install DESTDIR=%{buildroot} LIBDIR=%{buildroot}/%{_lib} MANDIR=%{buildroot}%{_mandir} RAISE_SETFCAP=no
+make install 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
@@ -83,6 +82,7 @@ ln -s /%{_lib}/libcap.so.2 %{buildroot}%{_libdir}/libcap.so
%defattr(-,root,root)
%{_includedir}/sys/capability.h
%{_libdir}/*.so
+%{_libdir}/pkgconfig/*.pc
%{_mandir}/man3/*
%changelog