Accepting request 45647 from home:computersalat:devel:perl

Copy from home:computersalat:devel:perl/perl-Test-Pod via accept of submit request 45647 revision 2.
Request was accepted with message:
self accept

OBS-URL: https://build.opensuse.org/request/show/45647
OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-Test-Pod?expand=0&rev=26
This commit is contained in:
Christian Wittmer 2010-08-16 15:40:58 +00:00 committed by Git OBS Bridge
parent 732e3a6507
commit 543d7856e0
4 changed files with 32 additions and 26 deletions

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:8d19d2489897a3e4e9c31fc9a95518e500657f3996a9239012f1866a80d21b58
size 10176

3
Test-Pod-1.44.tar.gz Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:ad542ae914a7a4834a3c82c327bffe81e54315881d243ae8b31054d349463142
size 10509

View File

@ -1,3 +1,12 @@
-------------------------------------------------------------------
Mon Aug 16 15:22:49 UTC 2010 - chris@computersalat.de
- update to 1.44
* Restored the `Makefile.PL` by using Module::Build::Compat's
"traditional" configuration.
- recreated by cpanspec 1.78
- added Author
-------------------------------------------------------------------
Wed Apr 21 12:34:30 UTC 2010 - chris@computersalat.de

View File

@ -1,5 +1,5 @@
#
# spec file for package perl-Test-Pod (Version 1.43)
# spec file for package perl-Test-Pod (Version 1.44)
#
# Copyright (c) 2010 SUSE LINUX Products GmbH, Nuernberg, Germany.
#
@ -17,62 +17,59 @@
# norootforbuild
Name: perl-Test-Pod
%define cpan_name %( echo %{name} | %{__sed} -e 's,perl-,,' )
%define cpan_name Test-Pod
Summary: Check for POD errors in files
Version: 1.43
Version: 1.44
Release: 1
License: GPLv2, Artistic License v2
License: GPL+ or Artistic
Group: Development/Libraries/Perl
Url: http://cpan.org/
Source: http://cpan.org/modules/by-module/Test/%{cpan_name}-%{version}.tar.gz
Url: http://search.cpan.org/dist/Test-Pod/
Source: http://www.cpan.org/modules/by-module/Test/Test-Pod-%{version}.tar.gz
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildArch: noarch
BuildRequires: perl
BuildRequires: perl(Module::Build)
%if 0%{?suse_version} < 1120
BuildRequires: perl-macros
BuildRequires: perl(Module::Build) >= 0.30
BuildRequires: perl(File::Spec) >= 0
BuildRequires: perl(Test::More) >= 0.62
# other not perl || perl-base
%endif
BuildRequires: perl(File::Spec)
BuildRequires: perl(Pod::Simple) >= 3.05
BuildRequires: perl(Test::More) >= 0.62
#
Requires: perl = %{perl_version}
Requires: perl(File::Spec) >= 0
Requires: perl(Test::More) >= 0.62
# other not perl || perl-base
Requires: perl(File::Spec)
Requires: perl(Pod::Simple) >= 3.05
Requires: perl(Test::Builder::Tester) >= 1.02
Requires: perl(Test::More) >= 0.62
%description
Check POD files for errors or warnings in a test file, using Pod::Simple to
do the heavy lifting.
Authors:
--------
David E. Wheeler, <david@justatheory.com>
%prep
%setup -q -n %{cpan_name}-%{version}
# fix VERSION in README
%{__sed} -i -e "s/\(.*Pod::Simple\ \)3.07/\13.05/g" \
-e "s/\(.*Test::More\ \)0.70/\10.62/g" README
%build
CFLAGS="$RPM_OPT_FLAGS" %{__perl} Build.PL installdirs=vendor
./Build
%{__perl} Build.PL installdirs=vendor
./Build build flags=%{?_smp_mflags}
%check
./Build test
%install
./Build install destdir=$RPM_BUILD_ROOT create_packlist=0
%perl_process_packlist
%perl_gen_filelist
%clean
%{__rm} -rf ${RPM_BUILD_ROOT}
%{__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 README
%changelog