- added %%check for 'xmlrpc-c'
This commit is contained in:
parent
27a1defebc
commit
f64c6ae07c
@ -138,6 +138,18 @@ make install DESTDIR=$RPM_BUILD_ROOT
|
|||||||
chmod +x $RPM_BUILD_ROOT%_libdir/*.so
|
chmod +x $RPM_BUILD_ROOT%_libdir/*.so
|
||||||
|
|
||||||
|
|
||||||
|
%check
|
||||||
|
unset PKG_CONFIG_PATH
|
||||||
|
export PKG_CONFIG_LIBDIR=$RPM_BUILD_ROOT%_libdir/pkgconfig:%_libdir/pkgconfig:%_datadir/pkgconfig
|
||||||
|
PATH=$RPM_BUILD_ROOT%_bindir:$PATH
|
||||||
|
|
||||||
|
for comp in c++ cgi-server server-util abyss-server client libwww-client; do
|
||||||
|
for opt in '--version' '--libs' 'c++2 --libs' 'c++ --libs --static'; do
|
||||||
|
xmlrpc-c-config "$comp" $opt
|
||||||
|
done
|
||||||
|
done
|
||||||
|
|
||||||
|
|
||||||
%clean
|
%clean
|
||||||
rm -rf $RPM_BUILD_ROOT
|
rm -rf $RPM_BUILD_ROOT
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user