8
0

Accepting request 51548 from devel:languages:perl

Accepted submit request 51548 from user coolo

OBS-URL: https://build.opensuse.org/request/show/51548
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/perl-Test-Pod-Coverage?expand=0&rev=11
This commit is contained in:
Ruediger Oertel
2010-10-28 11:14:05 +00:00
committed by Git OBS Bridge
parent 1db6dccaa8
commit a8a5a9d9db
2 changed files with 23 additions and 17 deletions

View File

@@ -1,3 +1,8 @@
-------------------------------------------------------------------
Tue Sep 21 18:15:41 UTC 2010 - dbahi@novell.com
- recreated with cpanspec 1.78
-------------------------------------------------------------------
Sun Jan 10 15:43:32 CET 2010 - jengelh@medozas.de

View File

@@ -17,37 +17,35 @@
# norootforbuild
Name: perl-Test-Pod-Coverage
%define cpan_name %( echo %{name} | %{__sed} -e 's,perl-,,' )
Summary: Check for POD Coverage in Your Distribution
%define cpan_name Test-Pod-Coverage
Summary: Test::Pod::Coverage Perl module
Version: 1.08
Release: 117
License: Artistic License .. ; LGPL v2 or later
Release: 1
License: CHECK(GPL+ or Artistic)
Group: Development/Libraries/Perl
Url: http://search.cpan.org/~petdance/Test-Pod-Coverage
Url: http://search.cpan.org/dist/Test-Pod-Coverage/
#Source: http://www.cpan.org/authors/id/P/PE/PETDANCE/Test-Pod-Coverage-%{version}.tar.gz
Source: %{cpan_name}-%{version}.tar.bz2
BuildArch: noarch
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildRequires: perl
%if 0%{?suse_version} < 1120
BuildRequires: perl-macros
BuildRequires: perl(Test::Builder::Tester)
BuildRequires: perl(Test::More)
BuildRequires: perl(Test::Pod) >= 1.14
%endif
BuildRequires: perl(Pod::Coverage)
BuildRequires: perl(Test::Pod)
Requires: perl = %{perl_version}
Requires: perl(Pod::Coverage)
%description
%{cpan_name} module for perl
Test::Pod::Coverage - Check for pod coverage in your distribution.
Author: Andy Lester <andy@petdance.com>
Test::Pod::Coverage Perl module
%prep
%setup -q -n %{cpan_name}-%{version}
%build
CFLAGS="$RPM_OPT_FLAGS" perl Makefile.PL
%{__perl} Makefile.PL INSTALLDIRS=vendor
%{__make} %{?_smp_mflags}
%check
@@ -55,15 +53,18 @@ CFLAGS="$RPM_OPT_FLAGS" perl Makefile.PL
%install
%perl_make_install
%perl_process_packlist
# do not perl_process_packlist (noarch)
# remove .packlist file
%{__rm} -rf $RPM_BUILD_ROOT%perl_vendorarch
# remove perllocal.pod file
%{__rm} -rf $RPM_BUILD_ROOT%perl_archlib
%perl_gen_filelist
%clean
%{__rm} -rf $RPM_BUILD_ROOT
%files -f %{name}.files
# normally you only need to check for doc files
%defattr(-,root,root)
%defattr(-,root,root,-)
%doc Changes
%changelog