From dbb0458c78430d01fa2bea22b0520cd3cae9a29bebb726cbb57c66eb5eebcb37 Mon Sep 17 00:00:00 2001 From: OBS User autobuild Date: Fri, 11 Jun 2010 08:25:48 +0000 Subject: [PATCH] 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 --- libcap.changes | 5 +++++ libcap.spec | 12 ++++++++---- 2 files changed, 13 insertions(+), 4 deletions(-) diff --git a/libcap.changes b/libcap.changes index 39210e3..b3c21a0 100644 --- a/libcap.changes +++ b/libcap.changes @@ -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 diff --git a/libcap.spec b/libcap.spec index d5c2736..18ec48b 100644 --- a/libcap.spec +++ b/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