Search
j0ke.net Open Build Service
>
Projects
>
server:dns
>
pdns
> Changes
Sign Up
|
Log In
Username
Password
Cancel
Overview
Repositories
Revisions
Requests
Users
Advanced
Attributes
Meta
Changes of Revision 5
[-]
[+]
Changed
pdns.spec
@@ -36,7 +36,13 @@ %define with_pdns_sqlite3 1 %endif # -BuildRequires: boost-devel docbook-toys docbook-utils docbook-xsl-stylesheets gcc-c++ gdbm-devel mysql-devel openldap2-devel postgresql-devel pwdutils +BuildRequires: boost-devel docbook-toys docbook-utils docbook-xsl-stylesheets gcc-c++ gdbm-devel mysql-devel openldap2-devel postgresql-devel +%if 0%{?suse_version} +BuildRequires: pwdutils +%endif +%if 0%{?fedora_version} || 0%{?centos_version} || 0%{rhel_version} +BuildRequires: shadow-utils +%endif # we add opendbx-backend-sqlite2 as we pull in sqlite2 anyway and we need one installed backend %if 0%{?with_pdns_sqlite3} BuildRequires: sqlite-devel >= 3 @@ -60,7 +66,13 @@ BuildRequires: lua-devel pkg-config %endif BuildRoot: %{_tmppath}/%{name}-%{version}-build -PreReq: %insserv_prereq %fillup_prereq pwdutils +PreReq: %insserv_prereq %fillup_prereq +%if 0%{?suse_version} +PreReq: pwdutils +%endif +%if 0%{?fedora_version} || 0%{?centos_version} || 0%{rhel_version} +PreReq: shadow-utils +%endif # Url: http://www.powerdns.com/ Source: %{name}-%{version}.tar.bz2