commit libcap1 for openSUSE:Factory
![](https://seccdn.libravatar.org/avatar/e2145bc5cf53dda95c308a3c75e8fef3.jpg?s=120&d=mm&r=g)
Hello community,
here is the log from the commit of package libcap1 for openSUSE:Factory checked in at 2014-09-28 19:53:48
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/libcap1 (Old)
and /work/SRC/openSUSE:Factory/.libcap1.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "libcap1"
Changes:
--------
--- /work/SRC/openSUSE:Factory/libcap1/libcap1.changes 2011-10-04 18:13:11.000000000 +0200
+++ /work/SRC/openSUSE:Factory/.libcap1.new/libcap1.changes 2014-09-28 19:53:57.000000000 +0200
@@ -1,0 +2,5 @@
+Fri Sep 19 20:46:38 UTC 2014 - schwab@linux-m68k.org
+
+- feature-tests.patch: fix bogus uses of feature test macros
+
+-------------------------------------------------------------------
New:
----
feature-tests.patch
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ libcap1.spec ++++++
--- /var/tmp/diff_new_pack.IvpSyK/_old 2014-09-28 19:53:58.000000000 +0200
+++ /var/tmp/diff_new_pack.IvpSyK/_new 2014-09-28 19:53:58.000000000 +0200
@@ -1,7 +1,7 @@
#
# spec file for package libcap1
#
-# Copyright (c) 2011 SUSE LINUX Products GmbH, Nuernberg, Germany.
+# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -15,16 +15,13 @@
# Please submit bugfixes or comments via http://bugs.opensuse.org/
#
-# norootforbuild
-
Name: libcap1
+Summary: Library for Capabilities (linux-privs) Support
License: BSD-3-Clause
Group: System/Libraries
-AutoReqProv: on
-Summary: Library for Capabilities (linux-privs) Support
Version: 1.10
-Release: 45
+Release: 0
Source: ftp://ftp.de.kernel.org/pub/linux/libs/security/linux-privs/old/kernel-2.4/libcap-1.10.tar.bz2
Source2: baselibs.conf
Patch: libcap-%{version}.diff
@@ -35,6 +32,7 @@
Patch6: libcap-invalid-free-fix.diff
Patch7: libcap-array-range-fix.diff
Patch8: libcap-no-version-check.diff
+Patch9: feature-tests.patch
#URL: http://www.kernel.org/
#Prefix: /usr
BuildRoot: %{_tmppath}/%{name}-%{version}-build
@@ -62,6 +60,7 @@
%patch6
%patch7
%patch8
+%patch9 -p1
%build
lib=%{_lib} make %{?_smp_mflags} LDFLAGS= COPTFLAG="$RPM_OPT_FLAGS" CC="%{__cc}"
++++++ feature-tests.patch ++++++
Index: libcap-1.10/doc/cap_get_proc.3
===================================================================
--- libcap-1.10.orig/doc/cap_get_proc.3
+++ libcap-1.10/doc/cap_get_proc.3
@@ -15,8 +15,6 @@ arbitrary processes
.br
.BI "int cap_set_proc(cap_t " cap_p );
.sp
-.B #undef _POSIX_SOURCE
-.br
.B #include
participants (1)
-
root@hilbert.suse.de