Use make DESTDIR=... install instead of %%make_install

This commit is contained in:
Honza Horák 2012-11-23 09:30:44 +01:00
parent 49fe5ef9b2
commit 86d5826998

View File

@ -2,7 +2,7 @@
Summary: A GNU set of database routines which use extensible hashing Summary: A GNU set of database routines which use extensible hashing
Name: gdbm Name: gdbm
Version: 1.10 Version: 1.10
Release: 3%{?dist} Release: 4%{?dist}
Source: http://ftp.gnu.org/gnu/gdbm/gdbm-%{version}.tar.gz Source: http://ftp.gnu.org/gnu/gdbm/gdbm-%{version}.tar.gz
# Prevent gdbm from storing uninitialized memory content # Prevent gdbm from storing uninitialized memory content
# to database files. # to database files.
@ -60,7 +60,7 @@ gdbm database library. You'll also need to install the gdbm package.
make %{?_smp_mflags} make %{?_smp_mflags}
%install %install
%make_install make DESTDIR=$RPM_BUILD_ROOT install
%find_lang %{name} %find_lang %{name}
@ -108,6 +108,7 @@ fi
%changelog %changelog
* Mon Aug 27 2012 Honza Horak <hhorak@redhat.com> - 1.10-4 * Mon Aug 27 2012 Honza Horak <hhorak@redhat.com> - 1.10-4
- Spec file cleanup - Spec file cleanup
- Use make DESTDIR=... install instead of %%make_install
* Thu Jul 19 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.10-3 * Thu Jul 19 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.10-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild - Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild