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
This commit is contained in:
parent
a01eca4e7f
commit
54bacfed35
@ -5,7 +5,7 @@
|
|||||||
|
|
||||||
Name: openldap
|
Name: openldap
|
||||||
Version: 2.4.47
|
Version: 2.4.47
|
||||||
Release: 4%{?dist}
|
Release: 5%{?dist}
|
||||||
Summary: LDAP support libraries
|
Summary: LDAP support libraries
|
||||||
License: OpenLDAP
|
License: OpenLDAP
|
||||||
URL: http://www.openldap.org/
|
URL: http://www.openldap.org/
|
||||||
@ -44,6 +44,7 @@ Patch91: check-password.patch
|
|||||||
|
|
||||||
BuildRequires: cyrus-sasl-devel, openssl-devel, krb5-devel, unixODBC-devel
|
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: glibc-devel, libtool, libtool-ltdl-devel, groff, perl-interpreter, perl-devel, perl-generators, perl(ExtUtils::Embed)
|
||||||
|
BuildRequires: gcc
|
||||||
|
|
||||||
%description
|
%description
|
||||||
OpenLDAP is an open source suite of LDAP (Lightweight Directory Access
|
OpenLDAP is an open source suite of LDAP (Lightweight Directory Access
|
||||||
@ -182,11 +183,11 @@ pushd openldap-%{version}
|
|||||||
\
|
\
|
||||||
--libexecdir=%{_libdir}
|
--libexecdir=%{_libdir}
|
||||||
|
|
||||||
make %{_smp_mflags}
|
%make_build
|
||||||
popd
|
popd
|
||||||
|
|
||||||
pushd ltb-project-openldap-ppolicy-check-password-%{check_password_version}
|
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}/servers/slapd \
|
||||||
-I../openldap-%{version}/build-servers/include"
|
-I../openldap-%{version}/build-servers/include"
|
||||||
popd
|
popd
|
||||||
@ -196,7 +197,7 @@ popd
|
|||||||
mkdir -p %{buildroot}%{_libdir}/
|
mkdir -p %{buildroot}%{_libdir}/
|
||||||
|
|
||||||
pushd openldap-%{version}
|
pushd openldap-%{version}
|
||||||
make install DESTDIR=%{buildroot} STRIP=""
|
%make_install STRIP=""
|
||||||
popd
|
popd
|
||||||
|
|
||||||
# install check_password module
|
# install check_password module
|
||||||
@ -485,6 +486,14 @@ exit 0
|
|||||||
%{_mandir}/man3/*
|
%{_mandir}/man3/*
|
||||||
|
|
||||||
%changelog
|
%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
|
* Wed Jan 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 2.4.47-4
|
||||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user