another try at building

This commit is contained in:
Bastien Nocera 2010-06-24 13:08:49 +00:00
parent f6b776e099
commit a90bc2e76c

View File

@ -42,10 +42,10 @@ autoreconf -f
%configure
# Remove rpath as per https://fedoraproject.org/wiki/Packaging/Guidelines#Beware_of_Rpath
sed -i 's|^hardcode_libdir_flag_spec=.*|hardcode_libdir_flag_spec=""|g' libtool
sed -i 's|^runpath_var=LD_RUN_PATH|runpath_var=DIE_RPATH_DIE|g' libtool
#sed -i 's|^hardcode_libdir_flag_spec=.*|hardcode_libdir_flag_spec=""|g' libtool
#sed -i 's|^runpath_var=LD_RUN_PATH|runpath_var=DIE_RPATH_DIE|g' libtool
make %{?_smp_mflags}
V=1 make %{?_smp_mflags}
%install
make install DESTDIR=$RPM_BUILD_ROOT