Use make macros
https://fedoraproject.org/wiki/Changes/UseMakeBuildInstallMacro
This commit is contained in:
parent
25c05edb6b
commit
2b86f6b987
@ -6,7 +6,7 @@
|
|||||||
|
|
||||||
Name: lmdb
|
Name: lmdb
|
||||||
Version: 0.9.25
|
Version: 0.9.25
|
||||||
Release: 1%{?dist}
|
Release: 2%{?dist}
|
||||||
Summary: Memory-mapped key-value database
|
Summary: Memory-mapped key-value database
|
||||||
|
|
||||||
License: OpenLDAP
|
License: OpenLDAP
|
||||||
@ -71,7 +71,7 @@ pushd %{archive_path}
|
|||||||
# make install expects existing directory tree
|
# make install expects existing directory tree
|
||||||
mkdir -m 0755 -p %{buildroot}{%{_bindir},%{_includedir}}
|
mkdir -m 0755 -p %{buildroot}{%{_bindir},%{_includedir}}
|
||||||
mkdir -m 0755 -p %{buildroot}{%{_libdir}/pkgconfig,%{_mandir}/man1}
|
mkdir -m 0755 -p %{buildroot}{%{_libdir}/pkgconfig,%{_mandir}/man1}
|
||||||
make DESTDIR=%{buildroot} prefix=%{_prefix} libdir=%{_libdir} mandir=%{_mandir} install
|
%make_install prefix=%{_prefix} libdir=%{_libdir} mandir=%{_mandir}
|
||||||
popd
|
popd
|
||||||
|
|
||||||
# Install pkgconfig file
|
# Install pkgconfig file
|
||||||
@ -120,6 +120,10 @@ popd
|
|||||||
|
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Mon Jul 13 2020 Tom Stellard <tstellar@redhat.com> - 0.9.25-2
|
||||||
|
- Use make macros
|
||||||
|
- https://fedoraproject.org/wiki/Changes/UseMakeBuildInstallMacro
|
||||||
|
|
||||||
* Tue Jul 07 2020 Jan Staněk <jstanek@redhat.com> - 0.9.25-1
|
* Tue Jul 07 2020 Jan Staněk <jstanek@redhat.com> - 0.9.25-1
|
||||||
- Upgrade to version 0.9.25
|
- Upgrade to version 0.9.25
|
||||||
- Use OpenLDAP git directly in place of GitHub mirror
|
- Use OpenLDAP git directly in place of GitHub mirror
|
||||||
|
Loading…
Reference in New Issue
Block a user