From 27a110ec8f46689a3362687801cbde16851273c44216f72f85b3799013a36a69 Mon Sep 17 00:00:00 2001 From: OBS User autobuild Date: Tue, 24 Aug 2010 16:00:15 +0000 Subject: [PATCH] Accepting request 45648 from devel:languages:perl checked in (request 45648) OBS-URL: https://build.opensuse.org/request/show/45648 OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-Test-Pod?expand=0&rev=27 --- Test-Pod-1.43.tar.gz | 3 +++ Test-Pod-1.44.tar.gz | 3 --- perl-Test-Pod.changes | 9 --------- perl-Test-Pod.spec | 43 +++++++++++++++++++++++-------------------- 4 files changed, 26 insertions(+), 32 deletions(-) create mode 100644 Test-Pod-1.43.tar.gz delete mode 100644 Test-Pod-1.44.tar.gz diff --git a/Test-Pod-1.43.tar.gz b/Test-Pod-1.43.tar.gz new file mode 100644 index 0000000..4185d95 --- /dev/null +++ b/Test-Pod-1.43.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:8d19d2489897a3e4e9c31fc9a95518e500657f3996a9239012f1866a80d21b58 +size 10176 diff --git a/Test-Pod-1.44.tar.gz b/Test-Pod-1.44.tar.gz deleted file mode 100644 index de61a68..0000000 --- a/Test-Pod-1.44.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:ad542ae914a7a4834a3c82c327bffe81e54315881d243ae8b31054d349463142 -size 10509 diff --git a/perl-Test-Pod.changes b/perl-Test-Pod.changes index c4e381f..41305d3 100644 --- a/perl-Test-Pod.changes +++ b/perl-Test-Pod.changes @@ -1,12 +1,3 @@ -------------------------------------------------------------------- -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 diff --git a/perl-Test-Pod.spec b/perl-Test-Pod.spec index e9a0e31..d4a7e51 100644 --- a/perl-Test-Pod.spec +++ b/perl-Test-Pod.spec @@ -1,5 +1,5 @@ # -# spec file for package perl-Test-Pod (Version 1.44) +# spec file for package perl-Test-Pod (Version 1.43) # # Copyright (c) 2010 SUSE LINUX Products GmbH, Nuernberg, Germany. # @@ -17,59 +17,62 @@ # norootforbuild + Name: perl-Test-Pod -%define cpan_name Test-Pod +%define cpan_name %( echo %{name} | %{__sed} -e 's,perl-,,' ) Summary: Check for POD errors in files -Version: 1.44 +Version: 1.43 Release: 1 -License: GPL+ or Artistic +License: GPLv2, Artistic License v2 Group: Development/Libraries/Perl -Url: http://search.cpan.org/dist/Test-Pod/ -Source: http://www.cpan.org/modules/by-module/Test/Test-Pod-%{version}.tar.gz +Url: http://cpan.org/ +Source: http://cpan.org/modules/by-module/Test/%{cpan_name}-%{version}.tar.gz BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildArch: noarch BuildRequires: perl -BuildRequires: perl(Module::Build) -%if 0%{?suse_version} < 1120 BuildRequires: perl-macros -%endif -BuildRequires: perl(File::Spec) -BuildRequires: perl(Pod::Simple) >= 3.05 +BuildRequires: perl(Module::Build) >= 0.30 +BuildRequires: perl(File::Spec) >= 0 BuildRequires: perl(Test::More) >= 0.62 +# other not perl || perl-base +BuildRequires: perl(Pod::Simple) >= 3.05 # Requires: perl = %{perl_version} -Requires: perl(File::Spec) +Requires: perl(File::Spec) >= 0 +Requires: perl(Test::More) >= 0.62 +# other not perl || perl-base 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, %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 -%{__perl} Build.PL installdirs=vendor -./Build build flags=%{?_smp_mflags} +CFLAGS="$RPM_OPT_FLAGS" %{__perl} Build.PL installdirs=vendor +./Build %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 -%defattr(-,root,root,-) +# normally you only need to check for doc files +%defattr(-,root,root) %doc Changes README %changelog