Accepting request 352472 from home:bmwiedemann:branches: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

OBS-URL: https://build.opensuse.org/request/show/352472
OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl?expand=0&rev=135
This commit is contained in:
Michael Schröder 2016-01-08 09:08:20 +00:00 committed by Git OBS Bridge
parent 54171b535f
commit 862e90c736
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