- moving the provides of perl-macros to perl-doc so we can check
for duplicated man pages in the gen_filelist macro OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl?expand=0&rev=93
This commit is contained in:
committed by
Git OBS Bridge
parent
521f5d1c6a
commit
6e750a266d
@@ -108,6 +108,11 @@ done\
|
||||
# add man pages\
|
||||
# if exist :)\
|
||||
if [ -d "${RPM_BUILD_ROOT}%{_mandir}" ]; then\
|
||||
for file in `cd "${RPM_BUILD_ROOT}%{_mandir}" && find . -type f`; do \
|
||||
if test -e "%{_mandir}/$file" -o -e "%{_mandir}/$file.gz"; then \
|
||||
mv ${RPM_BUILD_ROOT}%{_mandir}/$file ${RPM_BUILD_ROOT}%{_mandir}/${file/3pm/3pmc} \
|
||||
fi \
|
||||
done \
|
||||
fgen_file "%{_mandir}/man?/*"\
|
||||
fi\
|
||||
\
|
||||
|
Reference in New Issue
Block a user