Tom Stellard 5 years ago committed by Miroslav Lichvar
parent 658eb65656
commit 68205d88b6

@ -111,22 +111,22 @@ sed -i 's|^runpath_var=LD_RUN_PATH|runpath_var=DIE_RPATH_DIE|g' libtool
# without RPATH this needs to be set for idn executed by help2man # without RPATH this needs to be set for idn executed by help2man
export LD_LIBRARY_PATH=$(pwd)/lib/.libs export LD_LIBRARY_PATH=$(pwd)/lib/.libs
make %{?_smp_mflags} V=1 %make_build
%check %check
# without RPATH this needs to be set to test the compiled library # without RPATH this needs to be set to test the compiled library
export LD_LIBRARY_PATH=$(pwd)/lib/.libs export LD_LIBRARY_PATH=$(pwd)/lib/.libs
make %{?_smp_mflags} -C tests check VALGRIND=env %make_build -C tests check VALGRIND=env
%install %install
make install DESTDIR=$RPM_BUILD_ROOT pkgconfigdir=%{_libdir}/pkgconfig \ %make_install pkgconfigdir=%{_libdir}/pkgconfig \
%if %{with libidn_enables_java} %if %{with libidn_enables_java}
libidn_jardir=%{_javadir} \ libidn_jardir=%{_javadir} \
%endif %endif
; ;
# provide more examples # provide more examples
make %{?_smp_mflags} -C examples distclean %make_build -C examples distclean
# clean up docs # clean up docs
find doc -name "Makefile*" | xargs rm find doc -name "Makefile*" | xargs rm

Loading…
Cancel
Save