ignore .3 man files on <= SLE 10 as they conflict with the perl package

OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-ExtUtils-MakeMaker?expand=0&rev=6
This commit is contained in:
Pascal Bleser 2010-07-26 08:42:56 +00:00 committed by Git OBS Bridge
parent 3ea73474d9
commit b9b8177206
2 changed files with 18 additions and 10 deletions

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Mon Jul 26 08:42:23 UTC 2010 - pascal.bleser@opensuse.org
- also exclude .3 man pages for SLE <= 10, as it conflicts with Perl too
-------------------------------------------------------------------
Mon Jul 26 07:49:38 UTC 2010 - pascal.bleser@opensuse.org

View File

@ -12,7 +12,7 @@
Name: perl-ExtUtils-MakeMaker
URL: http://cpan.org/modules/by-module/ExtUtils/
License: Artistic License
License: Perl License
Group: Development/Libraries/Perl
Requires: perl = %{perl_version}
# BuildRequires: perl-Test-Pod
@ -24,33 +24,36 @@ Source: http://search.cpan.org/CPAN/authors/id/M/MS/MSCHWERN/ExtUtils-Make
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%description
ExtUtils-MakeMaker Perl module
Up-to-date ExtUtils-MakeMaker Perl module.
Module::Build is the official heir apparent to MakeMaker and we encourage people to work on M::B rather than spending time adding features to MakeMaker.
Module::Build is the official heir apparent to MakeMaker and we encourage
people to work on M::B rather than spending time adding features to MakeMaker.
This is here just to fulfil a dependency in Jifty.
%prep
%setup -n ExtUtils-MakeMaker-%{version}
%build
perl Makefile.PL
make
%__perl Makefile.PL
%__make
%check
make test
%__make test
%install
%perl_make_install
%perl_process_packlist
%clean
rm -rf $RPM_BUILD_ROOT
%{?buildroot:%__rm -rf "%{buildroot}"}
%files
%defattr(-,root,root)
%doc Changes README
%doc %{_mandir}/man3/*
%if 0%{?suse_version} < 1100
%exclude %doc %{_mandir}/man3/*.%{perl_man3ext}%{ext_man}
%else
%doc %{_mandir}/man3/*.%{perl_man3ext}%{ext_man}
%endif
%{perl_vendorlib}/ExtUtils
%{perl_vendorarch}/auto/ExtUtils
/var/adm/perl-modules/%{name}