forked from pool/libcap
Accepting request 238159 from Base:System
1 OBS-URL: https://build.opensuse.org/request/show/238159 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/libcap?expand=0&rev=30
This commit is contained in:
commit
42a93b02d4
11
libcap-nolibattr.patch
Normal file
11
libcap-nolibattr.patch
Normal file
@ -0,0 +1,11 @@
|
|||||||
|
--- libcap-2.22.orig/libcap/Makefile
|
||||||
|
+++ libcap-2.22/libcap/Makefile
|
||||||
|
@@ -16,7 +16,7 @@ FILES=cap_alloc cap_proc cap_extint cap_
|
||||||
|
# no support).
|
||||||
|
ifeq ($(LIBATTR),yes)
|
||||||
|
FILES += cap_file
|
||||||
|
-LDFLAGS += -lattr
|
||||||
|
+LDFLAGS +=
|
||||||
|
endif
|
||||||
|
|
||||||
|
INCLS=libcap.h cap_names.h $(INCS)
|
@ -1,3 +1,9 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Thu Jun 19 17:32:36 UTC 2014 - crrodriguez@opensuse.org
|
||||||
|
|
||||||
|
- libcap-nolibattr.patch Do not link to libattr, it is
|
||||||
|
a bogus dependency. application uses sys/xattr from libc.
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Fri Feb 1 12:02:04 UTC 2013 - coolo@suse.com
|
Fri Feb 1 12:02:04 UTC 2013 - coolo@suse.com
|
||||||
|
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package libcap
|
# spec file for package libcap
|
||||||
#
|
#
|
||||||
# Copyright (c) 2013 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
|
# All modifications and additions to the file contributed by third parties
|
||||||
# remain the property of their copyright owners, unless otherwise agreed
|
# remain the property of their copyright owners, unless otherwise agreed
|
||||||
@ -26,7 +26,7 @@ Source: ftp://ftp.de.kernel.org/pub/linux/libs/security/linux-privs/libc
|
|||||||
Source2: baselibs.conf
|
Source2: baselibs.conf
|
||||||
Url: https://sites.google.com/site/fullycapable/
|
Url: https://sites.google.com/site/fullycapable/
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||||
BuildRequires: libattr-devel
|
Patch0: libcap-nolibattr.patch
|
||||||
%if 0%{?suse_version} > 1030
|
%if 0%{?suse_version} > 1030
|
||||||
BuildRequires: fdupes
|
BuildRequires: fdupes
|
||||||
%endif
|
%endif
|
||||||
@ -86,7 +86,7 @@ libcap.
|
|||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q
|
%setup -q
|
||||||
|
%patch0 -p1
|
||||||
%build
|
%build
|
||||||
# lib=%{_lib} make %{?_smp_mflags} COPTFLAG="$RPM_OPT_FLAGS"
|
# lib=%{_lib} make %{?_smp_mflags} COPTFLAG="$RPM_OPT_FLAGS"
|
||||||
lib=%{_lib} make %{?_smp_mflags} DEBUG="-g $RPM_OPT_FLAGS"
|
lib=%{_lib} make %{?_smp_mflags} DEBUG="-g $RPM_OPT_FLAGS"
|
||||||
|
Loading…
Reference in New Issue
Block a user