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