- 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\
|
||||
continue\
|
||||
fi\
|
||||
if [ "%{perl_vendorlib}/${i}" = "%{perl_vendorarch}" -o "%{perl_vendorlib}/${i}" = "%{perl_vendorarch}/auto" ]; then\
|
||||
if [ "%{perl_vendorlib}/${i}" = "%{perl_vendorarch}/auto" ]; then\
|
||||
continue\
|
||||
else\
|
||||
if [ -d ${base_dir}/${i} ]; then\
|
||||
RES=`find "${base_dir}/${i}" -maxdepth 1 -type f`\
|
||||
if [ -n "$RES" ]; then\
|
||||
if [ "%{perl_vendorlib}/${i}" != "%{perl_vendorarch}" ]; then\
|
||||
fgen_dir "%{perl_vendorlib}/${i}"\
|
||||
fi\
|
||||
RES=`find "${base_dir}/${i}" -maxdepth 1 -type f`\
|
||||
for file in $RES; do\
|
||||
fgen_file "%{perl_vendorlib}/${i}/$(basename ${file})"\
|
||||
done\
|
||||
else\
|
||||
fgen_dir "%{perl_vendorlib}/${i}"\
|
||||
fi\
|
||||
fi\
|
||||
fi\
|
||||
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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user