Tweak the configure/make commands

- Disable the testsuite via configure.
- Set the private includedir and libdir via configure.
- Set VERBOSE_COMPILATION for make.
- Use DESTDIR for make install.
This commit is contained in:
Josh Stone 2012-11-20 12:44:56 -08:00
parent 605a2810c3
commit c675622894

View File

@ -71,20 +71,13 @@ popd
cd dyninst cd dyninst
%configure %configure --disable-testsuite --includedir=%{_includedir}/dyninst --libdir=%{_libdir}/dyninst
make %{?_smp_mflags} \ make %{?_smp_mflags} VERBOSE_COMPILATION=1
DONT_BUILD_NEWTESTSUITE=1 \
all StackwalkerAPI
%install %install
cd dyninst cd dyninst
make \ make DESTDIR=%{buildroot} install
LIBRARY_DEST=%{buildroot}/%{_libdir}/dyninst \
PROGRAM_DEST=%{buildroot}/usr/bin \
INCLUDE_DEST=%{buildroot}/usr/include/dyninst \
DONT_BUILD_NEWTESTSUITE=1 \
install
mkdir -p %{buildroot}/etc/ld.so.conf.d mkdir -p %{buildroot}/etc/ld.so.conf.d
echo "%{_libdir}/dyninst" > %{buildroot}/etc/ld.so.conf.d/%{name}-%{_arch}.conf echo "%{_libdir}/dyninst" > %{buildroot}/etc/ld.so.conf.d/%{name}-%{_arch}.conf
@ -131,6 +124,13 @@ chmod 644 %{buildroot}%{_libdir}/dyninst/*.a
%{_libdir}/dyninst/*.a %{_libdir}/dyninst/*.a
%changelog %changelog
* Tue Nov 20 2012 Josh Stone <jistone@redhat.com>
- Tweak the configure/make commands
- Disable the testsuite via configure.
- Set the private includedir and libdir via configure.
- Set VERBOSE_COMPILATION for make.
- Use DESTDIR for make install.
* Mon Nov 19 2012 Josh Stone <jistone@redhat.com> 8.0-1 * Mon Nov 19 2012 Josh Stone <jistone@redhat.com> 8.0-1
- Update to release 8.0. - Update to release 8.0.
- Updated "%files doc" to reflect renames. - Updated "%files doc" to reflect renames.