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

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Tue Jun 11 11:49:17 UTC 2013 - coolo@suse.com
- moving the provides of perl-macros to perl-doc so we can check
for duplicated man pages in the gen_filelist macro
-------------------------------------------------------------------
Tue Jun 11 04:31:59 UTC 2013 - coolo@suse.com

View File

@ -52,10 +52,8 @@ Suggests: perl-doc = %version
Provides: perl = %pversion-%release
%endif
Provides: perl-500
Provides: perl-macros
Provides: perl(:MODULE_COMPAT_%pversion)
Obsoletes: perl-macros
Provides: perl-Filter-Simple
Provides: perl(:MODULE_COMPAT_%pversion)
Obsoletes: perl-Filter-Simple
Provides: perl-I18N-LangTags
Obsoletes: perl-I18N-LangTags
@ -149,6 +147,8 @@ Provides: perl:/usr/share/man/man3/CORE.3pm.gz
%if 0%{?suse_version} >= 1120
BuildArch: noarch
%endif
Provides: perl-macros = 2.0
Obsoletes: perl-macros < 2.0
%description doc
Perl man pages and pod files.