SHA256
1
0
forked from pool/perl

- 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:
Stephan Kulow
2013-06-11 13:10:30 +00:00
committed by Git OBS Bridge
parent 521f5d1c6a
commit 6e750a266d
3 changed files with 14 additions and 3 deletions

View File

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