From 3a697a447e8ffcd105f92f69a4ffac0a98cf84854844824682c25dd81b4415cb Mon Sep 17 00:00:00 2001 From: Marcus Meissner Date: Mon, 27 May 2013 08:46:56 +0000 Subject: [PATCH] Accepting request 176378 from home:jengelh:branches:security:SELinux - Reuse implicit dependencies injected by pkgconfig OBS-URL: https://build.opensuse.org/request/show/176378 OBS-URL: https://build.opensuse.org/package/show/security:SELinux/libselinux?expand=0&rev=69 --- libselinux-bindings.spec | 11 ++++++----- libselinux.changes | 5 +++++ libselinux.spec | 9 +++++---- 3 files changed, 16 insertions(+), 9 deletions(-) diff --git a/libselinux-bindings.spec b/libselinux-bindings.spec index fb57327..a6856cd 100644 --- a/libselinux-bindings.spec +++ b/libselinux-bindings.spec @@ -17,11 +17,6 @@ %define libsepol_ver 2.1.9 -BuildRequires: libsepol-devel-static >= %{libsepol_ver} -BuildRequires: pcre-devel -BuildRequires: python-devel -BuildRequires: ruby-devel -BuildRequires: swig Name: libselinux-bindings Version: 2.1.13 @@ -30,6 +25,7 @@ Url: http://userspace.selinuxproject.org/ Summary: SELinux library and simple utilities License: GPL-2.0 and SUSE-Public-Domain Group: System/Libraries + # embedded is the MD5 Source: http://pkgs.fedoraproject.org/lookaside/pkgs/libselinux/libselinux-%{version}.tgz/44be70732a33b8e1fbe2f422e93fb8b3/libselinux-%{version}.tgz Source1: selinux-ready @@ -37,6 +33,11 @@ Source2: baselibs.conf Patch0: libselinux-rhat.patch Patch1: libselinux-ruby.patch BuildRoot: %{_tmppath}/%{name}-%{version}-build +BuildRequires: libsepol-devel-static >= %{libsepol_ver} +BuildRequires: pcre-devel +BuildRequires: python-devel +BuildRequires: ruby-devel +BuildRequires: swig %description Security-enhanced Linux is a feature of the Linux(R) kernel and a diff --git a/libselinux.changes b/libselinux.changes index 361076d..ddb0803 100644 --- a/libselinux.changes +++ b/libselinux.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Wed May 22 23:50:58 UTC 2013 - jengelh@inai.de + +- Reuse implicit dependencies injected by pkgconfig + ------------------------------------------------------------------- Thu Apr 4 19:16:35 UTC 2013 - vcizek@suse.com diff --git a/libselinux.spec b/libselinux.spec index c04cc2d..bf4dd81 100644 --- a/libselinux.spec +++ b/libselinux.spec @@ -17,9 +17,6 @@ %define libsepol_ver 2.1.9 -BuildRequires: libsepol-devel >= %{libsepol_ver} -BuildRequires: pcre-devel -BuildRequires: pkg-config Name: libselinux Version: 2.1.13 @@ -28,12 +25,16 @@ Url: http://userspace.selinuxproject.org/ Summary: SELinux library and simple utilities License: GPL-2.0 and SUSE-Public-Domain Group: System/Libraries + Source: http://pkgs.fedoraproject.org/lookaside/pkgs/%{name}/%{name}-%{version}.tgz/44be70732a33b8e1fbe2f422e93fb8b3/%{name}-%{version}.tgz Source1: selinux-ready Source2: baselibs.conf Patch0: %{name}-rhat.patch Patch1: %{name}-ruby.patch BuildRoot: %{_tmppath}/%{name}-%{version}-build +BuildRequires: libsepol-devel >= %{libsepol_ver} +BuildRequires: pcre-devel +BuildRequires: pkg-config %description Security-enhanced Linux is a feature of the Linux(R) kernel and a @@ -99,7 +100,7 @@ Summary: Development Include Files and Libraries for SELinux Group: Development/Libraries/C and C++ Requires: glibc-devel Requires: libselinux1 = %{version} -Requires: libsepol-devel >= %{libsepol_ver} +#Automatic dependency on libsepol-devel via pkgconfig %description devel This package contains the development files, which are