Tom Stellard 2020-06-16 03:41:24 +00:00
parent a01eca4e7f
commit 54bacfed35

View File

@ -5,7 +5,7 @@
Name: openldap
Version: 2.4.47
Release: 4%{?dist}
Release: 5%{?dist}
Summary: LDAP support libraries
License: OpenLDAP
URL: http://www.openldap.org/
@ -44,6 +44,7 @@ Patch91: check-password.patch
BuildRequires: cyrus-sasl-devel, openssl-devel, krb5-devel, unixODBC-devel
BuildRequires: glibc-devel, libtool, libtool-ltdl-devel, groff, perl-interpreter, perl-devel, perl-generators, perl(ExtUtils::Embed)
BuildRequires: gcc
%description
OpenLDAP is an open source suite of LDAP (Lightweight Directory Access
@ -182,11 +183,11 @@ pushd openldap-%{version}
\
--libexecdir=%{_libdir}
make %{_smp_mflags}
%make_build
popd
pushd ltb-project-openldap-ppolicy-check-password-%{check_password_version}
make LDAP_INC="-I../openldap-%{version}/include \
%make_build LDAP_INC="-I../openldap-%{version}/include \
-I../openldap-%{version}/servers/slapd \
-I../openldap-%{version}/build-servers/include"
popd
@ -196,7 +197,7 @@ popd
mkdir -p %{buildroot}%{_libdir}/
pushd openldap-%{version}
make install DESTDIR=%{buildroot} STRIP=""
%make_install STRIP=""
popd
# install check_password module
@ -485,6 +486,14 @@ exit 0
%{_mandir}/man3/*
%changelog
* Tue Jun 16 2020 Tom Stellard <tstellar@redhat.com> - 2.4.47-5
- Spec file cleanups
- Add BuildRequres: gcc [1]
- make_build [2] and make_install [3]
- [1] https://docs.fedoraproject.org/en-US/packaging-guidelines/C_and_C++/#_buildrequires_and_requires
- [2] https://docs.fedoraproject.org/en-US/packaging-guidelines/#_parallel_make
- [3] https://docs.fedoraproject.org/en-US/packaging-guidelines/#_why_the_makeinstall_macro_should_not_be_used
* Wed Jan 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 2.4.47-4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild