From 317eec4ea3afe0cccbb1b86cede3b87ef032ec7b Mon Sep 17 00:00:00 2001 From: Maciej Wereski Date: Wed, 15 Jan 2014 16:25:58 +0100 Subject: Update to 2.24 Change-Id: I4b8ddc9674dcd6eec7046f54997b85cf4f701d39 Signed-off-by: Maciej Wereski --- packaging/libcap.changes | 3 +++ packaging/libcap.spec | 8 ++++---- 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 upstream/2.24@71163a1 +- Update to 2.24 + * Fri Mar 22 2013 Anas Nashif 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 -- cgit v1.2.3