From 54bacfed357a5fd461156bd7a310583b6128509d Mon Sep 17 00:00:00 2001 From: Tom Stellard Date: Jun 16 2020 03:41:32 +0000 Subject: 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 --- diff --git a/openldap.spec b/openldap.spec index e1ea3c5..7f799ff 100644 --- a/openldap.spec +++ b/openldap.spec @@ -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 - 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 - 2.4.47-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild