SHA256
1
0
forked from pool/perl

Accepting request 352540 from devel:languages:perl

- fix perl_gen_filelist macro to not fail on foo.1 man page

e.g. https://build.opensuse.org/package/show/devel:languages:perl/perl-Pod-Parser failed builds from this and is tested to be fixed (forwarded request 352472 from bmwiedemann)

OBS-URL: https://build.opensuse.org/request/show/352540
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/perl?expand=0&rev=98
This commit is contained in:
Dominique Leuenberger 2016-01-12 15:10:44 +00:00 committed by Git OBS Bridge
commit f098891a5f
3 changed files with 7 additions and 2 deletions

View File

@ -113,7 +113,7 @@ done\
# add man pages\ # add man pages\
# if exist :)\ # if exist :)\
if [ -d "${RPM_BUILD_ROOT}%{_mandir}" ]; then\ if [ -d "${RPM_BUILD_ROOT}%{_mandir}" ]; then\
for file in `cd "${RPM_BUILD_ROOT}%{_mandir}" && find . -type f`; do \ for file in `cd "${RPM_BUILD_ROOT}%{_mandir}" && find . -type f -name "*3pm*"`; do \
if test -e "%{_mandir}/$file" -o -e "%{_mandir}/$file.gz"; then \ if test -e "%{_mandir}/$file" -o -e "%{_mandir}/$file.gz"; then \
mv ${RPM_BUILD_ROOT}%{_mandir}/$file ${RPM_BUILD_ROOT}%{_mandir}/${file/3pm/3pmc} \ mv ${RPM_BUILD_ROOT}%{_mandir}/$file ${RPM_BUILD_ROOT}%{_mandir}/${file/3pm/3pmc} \
fi \ fi \

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Thu Jan 7 16:12:11 UTC 2016 - bwiedemann@suse.com
- fix perl_gen_filelist macro to not fail on foo.1 man page
------------------------------------------------------------------- -------------------------------------------------------------------
Mon Dec 7 16:58:56 UTC 2015 - opensuse@dstoecker.de Mon Dec 7 16:58:56 UTC 2015 - opensuse@dstoecker.de

View File

@ -1,7 +1,7 @@
# #
# spec file for package perl # spec file for package perl
# #
# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany. # Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany.
# #
# All modifications and additions to the file contributed by third parties # All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed # remain the property of their copyright owners, unless otherwise agreed