SLES does not have fakeroot

OBS-URL: https://build.opensuse.org/package/show/systemsmanagement/cfengine?expand=0&rev=127
This commit is contained in:
Klaus Kämpf 2015-06-17 14:22:50 +00:00 committed by Git OBS Bridge
parent 04cdd861ad
commit a5afc14d15

View File

@ -77,8 +77,10 @@ BuildRequires: lmdb-devel
BuildRequires: openssl-devel
BuildRequires: pam-devel
BuildRequires: pcre-devel
# for testing
%if 0%{?suse_version} == 0
# for testing on RHEL/Fedora
BuildRequires: fakeroot
%endif
Requires: %{libsoname} = %{version}
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%if %{have_systemd}
@ -113,10 +115,12 @@ Requires(post): %insserv_prereq %fillup_prereq
%if 0%{?suse_version} <= 1110
BuildRequires: -post-build-checks
%endif
%if 0%{?suse_version} > 1020
BuildRequires: fdupes
%endif
%if 0{?fedora_version} == 20
BuildRequires: perl-Exporter
%endif
%description
CFEngine is the core of a configuration management system: ensuring