source: trunk/server/fedora/specs/389-ds-base.spec.patch @ 2761

Last change on this file since 2761 was 2761, checked in by achernya, 8 years ago
Add a 389-ds-base patch for the CoS cache The version of 389-ds-base Scripts is currently running is sometimes duplciating entries on queries. We suspect that this is https://fedorahosted.org/389/ticket/47921 -- this change applies the suggested patch.
File size: 1.4 KB
RevLine 
[2761]1--- 389-ds-base.spec.orig       2016-02-27 22:35:25.978791486 -0500
2+++ 389-ds-base.spec    2016-02-27 22:39:49.112790989 -0500
3@@ -25,7 +25,7 @@
4 Summary:          389 Directory Server (base)
5 Name:             389-ds-base
6 Version:          1.3.2.23
7-Release:          %{?relprefix}1%{?prerel}%{?dist}
8+Release:          %{?relprefix}1%{?prerel}%{?dist}.scripts.%{scriptsversion}
9 License:          GPLv2 with exceptions
10 URL:              http://port389.org/
11 Group:            System Environment/Daemons
12@@ -115,6 +115,8 @@
13 Source1:          %{name}-git.sh
14 Source2:          %{name}-devel.README
15 
16+Patch1000:        389-ds-indirect-cos.patch
17+
18 %description
19 389 Directory Server is an LDAPv3 compliant server.  The base package includes
20 the LDAP server and command line utilities for server administration.
21@@ -165,6 +167,9 @@
22 %setup -q -n %{name}-%{version}%{?prerel}
23 cp %{SOURCE2} README.devel
24 
25+%define _default_patch_fuzz 2
26+%patch1000 -p1 -b .cos
27+
28 %build
29 %if %{use_openldap}
30 OPENLDAP_FLAG="--with-openldap"
31@@ -176,7 +181,7 @@
32            --with-systemdsystemunitdir=%{_unitdir} \
33            --with-systemdsystemconfdir=%{_sysconfdir}/systemd/system \
34            --with-perldir=/usr/bin \
35-           --with-systemdgroupname=%{groupname} $NSSARGS
36+           --with-systemdgroupname=% {groupname} $NSSARGS
37 
38 # Generate symbolic info for debuggers
39 export XCFLAGS=$RPM_OPT_FLAGS
Note: See TracBrowser for help on using the repository browser.