diff --git a/cfengine.spec b/cfengine.spec index 946ee10..6865ed3 100644 --- a/cfengine.spec +++ b/cfengine.spec @@ -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