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:
OBS User autobuild 2010-06-11 08:25:48 +00:00 committed by Git OBS Bridge
parent 71e599bf1c
commit dbb0458c78
2 changed files with 13 additions and 4 deletions

View File

@ -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 Sat Dec 12 18:24:01 CET 2009 - jengelh@medozas.de

View File

@ -1,7 +1,7 @@
# #
# spec file for package libcap (Version 2.16) # 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 # 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
@ -19,19 +19,21 @@
Name: libcap Name: libcap
BuildRequires: libattr-devel
BuildRequires: fdupes
License: BSD3c License: BSD3c
Group: System/Libraries Group: System/Libraries
AutoReqProv: on AutoReqProv: on
Summary: Library for Capabilities (linux-privs) Support Summary: Library for Capabilities (linux-privs) Support
Version: 2.16 Version: 2.16
Release: 4 Release: 5
Source: ftp://ftp.de.kernel.org/pub/linux/libs/security/linux-privs/libcap2/libcap-%{version}.tar.bz2 Source: ftp://ftp.de.kernel.org/pub/linux/libs/security/linux-privs/libcap2/libcap-%{version}.tar.bz2
Source2: baselibs.conf Source2: baselibs.conf
Patch: libcap-u64-typedef-fix.diff Patch: libcap-u64-typedef-fix.diff
#URL: http://www.kernel.org/ #URL: http://www.kernel.org/
BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildRequires: libattr-devel
%if 0%{?suse_version} > 1030
BuildRequires: fdupes
%endif
%define debug_package_requires libcap2 = %{version}-%{release} %define debug_package_requires libcap2 = %{version}-%{release}
%description %description
@ -104,7 +106,9 @@ rm -f $RPM_BUILD_ROOT/%{_lib}/*.*a
rm -f $RPM_BUILD_ROOT/%{_lib}/*.so rm -f $RPM_BUILD_ROOT/%{_lib}/*.so
mkdir -p $RPM_BUILD_ROOT%{_libdir} mkdir -p $RPM_BUILD_ROOT%{_libdir}
ln -s /%{_lib}/libcap.so.2 $RPM_BUILD_ROOT%{_libdir}/libcap.so ln -s /%{_lib}/libcap.so.2 $RPM_BUILD_ROOT%{_libdir}/libcap.so
%if 0%{?suse_version} > 1030
%fdupes -s $RPM_BUILD_ROOT %fdupes -s $RPM_BUILD_ROOT
%endif
%post -n libcap2 -p /sbin/ldconfig %post -n libcap2 -p /sbin/ldconfig