SHA256
1
0
forked from pool/perl

- 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:
Michael Schröder 2018-10-02 11:04:27 +00:00 committed by Git OBS Bridge
parent a5f1114712
commit d234fefc87
2 changed files with 11 additions and 8 deletions

View File

@ -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}"\
for file in $RES; do\
fgen_file "%{perl_vendorlib}/${i}/$(basename ${file})"\
done\
else\
fgen_dir "%{perl_vendorlib}/${i}"\ fgen_dir "%{perl_vendorlib}/${i}"\
fi\ fi\
RES=`find "${base_dir}/${i}" -maxdepth 1 -type f`\
for file in $RES; do\
fgen_file "%{perl_vendorlib}/${i}/$(basename ${file})"\
done\
fi\ fi\
fi\ fi\
done\ done\

View File

@ -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