Accepting request 41330 from Base:System
Copy from Base:System/libcap based on submit request 41330 from user dirkmueller OBS-URL: https://build.opensuse.org/request/show/41330 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/libcap?expand=0&rev=16
This commit is contained in:
parent
71e599bf1c
commit
dbb0458c78
@ -1,3 +1,8 @@
|
||||
-------------------------------------------------------------------
|
||||
Wed Jun 9 09:22:26 UTC 2010 - chris@computersalat.de
|
||||
|
||||
- fix deps for fdupes
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sat Dec 12 18:24:01 CET 2009 - jengelh@medozas.de
|
||||
|
||||
|
12
libcap.spec
12
libcap.spec
@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package libcap (Version 2.16)
|
||||
#
|
||||
# Copyright (c) 2009 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
||||
# Copyright (c) 2010 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
|
||||
@ -19,19 +19,21 @@
|
||||
|
||||
|
||||
Name: libcap
|
||||
BuildRequires: libattr-devel
|
||||
BuildRequires: fdupes
|
||||
License: BSD3c
|
||||
Group: System/Libraries
|
||||
AutoReqProv: on
|
||||
Summary: Library for Capabilities (linux-privs) Support
|
||||
Version: 2.16
|
||||
Release: 4
|
||||
Release: 5
|
||||
Source: ftp://ftp.de.kernel.org/pub/linux/libs/security/linux-privs/libcap2/libcap-%{version}.tar.bz2
|
||||
Source2: baselibs.conf
|
||||
Patch: libcap-u64-typedef-fix.diff
|
||||
#URL: http://www.kernel.org/
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
BuildRequires: libattr-devel
|
||||
%if 0%{?suse_version} > 1030
|
||||
BuildRequires: fdupes
|
||||
%endif
|
||||
%define debug_package_requires libcap2 = %{version}-%{release}
|
||||
|
||||
%description
|
||||
@ -104,7 +106,9 @@ rm -f $RPM_BUILD_ROOT/%{_lib}/*.*a
|
||||
rm -f $RPM_BUILD_ROOT/%{_lib}/*.so
|
||||
mkdir -p $RPM_BUILD_ROOT%{_libdir}
|
||||
ln -s /%{_lib}/libcap.so.2 $RPM_BUILD_ROOT%{_libdir}/libcap.so
|
||||
%if 0%{?suse_version} > 1030
|
||||
%fdupes -s $RPM_BUILD_ROOT
|
||||
%endif
|
||||
|
||||
%post -n libcap2 -p /sbin/ldconfig
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user