- simplify perl_gen_filelist macro
OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl?expand=0&rev=175
This commit is contained in:
parent
a5f1114712
commit
d234fefc87
10
macros.perl
10
macros.perl
@ -94,19 +94,17 @@ for i in ${all_dir[@]}; do\
|
|||||||
if [ "${i}" = "auto" ]; then\
|
if [ "${i}" = "auto" ]; then\
|
||||||
continue\
|
continue\
|
||||||
fi\
|
fi\
|
||||||
if [ "%{perl_vendorlib}/${i}" = "%{perl_vendorarch}" -o "%{perl_vendorlib}/${i}" = "%{perl_vendorarch}/auto" ]; then\
|
if [ "%{perl_vendorlib}/${i}" = "%{perl_vendorarch}/auto" ]; then\
|
||||||
continue\
|
continue\
|
||||||
else\
|
else\
|
||||||
if [ -d ${base_dir}/${i} ]; then\
|
if [ -d ${base_dir}/${i} ]; then\
|
||||||
RES=`find "${base_dir}/${i}" -maxdepth 1 -type f`\
|
if [ "%{perl_vendorlib}/${i}" != "%{perl_vendorarch}" ]; then\
|
||||||
if [ -n "$RES" ]; then\
|
|
||||||
fgen_dir "%{perl_vendorlib}/${i}"\
|
fgen_dir "%{perl_vendorlib}/${i}"\
|
||||||
|
fi\
|
||||||
|
RES=`find "${base_dir}/${i}" -maxdepth 1 -type f`\
|
||||||
for file in $RES; do\
|
for file in $RES; do\
|
||||||
fgen_file "%{perl_vendorlib}/${i}/$(basename ${file})"\
|
fgen_file "%{perl_vendorlib}/${i}/$(basename ${file})"\
|
||||||
done\
|
done\
|
||||||
else\
|
|
||||||
fgen_dir "%{perl_vendorlib}/${i}"\
|
|
||||||
fi\
|
|
||||||
fi\
|
fi\
|
||||||
fi\
|
fi\
|
||||||
done\
|
done\
|
||||||
|
@ -1,3 +1,8 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Tue Oct 2 13:03:27 CEST 2018 - mls@suse.de
|
||||||
|
|
||||||
|
- simplify perl_gen_filelist macro
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Fri Sep 28 16:06:46 CEST 2018 - mls@suse.de
|
Fri Sep 28 16:06:46 CEST 2018 - mls@suse.de
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user