mirror of
https://github.com/shadowsocks/shadowsocks-libev.git
synced 2026-10-22 06:53:46 +00:00
use system lib
This commit is contained in:
+3
-2
@@ -67,7 +67,7 @@ generate_tarball()
|
||||
git ls-tree -dr "v${g_version}" | grep commit \
|
||||
| while read eat_mod eat_type mod_sha mod_path; do \
|
||||
[ "${mod_path}" = "" ] && continue || :; \
|
||||
(pushd ${mod_path=} \
|
||||
(pushd ${mod_path} \
|
||||
&& git archive ${mod_sha} \
|
||||
--prefix="${tarball_name}/${mod_path}/" \
|
||||
-o "${tarball_dir}/sub_mod.tar" \
|
||||
@@ -114,4 +114,5 @@ sed -e "s/^\(Version: \).*$/\1${g_version}/" \
|
||||
|
||||
rpmbuild -bb ${spec_path} \
|
||||
--define "%_topdir ${g_rpmbuild_topdir}" \
|
||||
${g_rpmbuild_conditions} \
|
||||
--define "%use_system_lib 1" \
|
||||
${g_rpmbuild_conditions}
|
||||
|
||||
Reference in New Issue
Block a user