--- 389-ds-base.spec.orig 2016-02-27 22:35:25.978791486 -0500 +++ 389-ds-base.spec 2016-02-27 22:39:49.112790989 -0500 @@ -25,7 +25,7 @@ Summary: 389 Directory Server (base) Name: 389-ds-base Version: 1.3.2.23 -Release: %{?relprefix}1%{?prerel}%{?dist} +Release: %{?relprefix}1%{?prerel}%{?dist}.scripts.%{scriptsversion} License: GPLv2 with exceptions URL: http://port389.org/ Group: System Environment/Daemons @@ -115,6 +115,8 @@ Source1: %{name}-git.sh Source2: %{name}-devel.README +Patch1000: 389-ds-indirect-cos.patch + %description 389 Directory Server is an LDAPv3 compliant server. The base package includes the LDAP server and command line utilities for server administration. @@ -165,6 +167,9 @@ %setup -q -n %{name}-%{version}%{?prerel} cp %{SOURCE2} README.devel +%define _default_patch_fuzz 2 +%patch1000 -p1 -b .cos + %build %if %{use_openldap} OPENLDAP_FLAG="--with-openldap"