[perl-PPI] Modernize spec and improved test coverage
by Paul Howarth
commit 29035f87427cfc1d648833051b852cab5ee0c346
Author: Paul Howarth <paul(a)city-fan.org>
Date: Fri Jul 30 21:23:09 2010 +0100
Modernize spec and improved test coverage
- BR: perl(Task::Weaken) and perl(Test::CPAN::Meta) for improved test coverage
- Enable AUTOMATED_TESTING
- Use DESTDIR rather than PERL_INSTALL_ROOT
perl-PPI.spec | 27 ++++++++++++++++-----------
1 files changed, 16 insertions(+), 11 deletions(-)
---
diff --git a/perl-PPI.spec b/perl-PPI.spec
index 3535760..8dc98cb 100644
--- a/perl-PPI.spec
+++ b/perl-PPI.spec
@@ -1,14 +1,12 @@
Name: perl-PPI
Version: 1.206
-Release: 5%{?dist}
+Release: 6%{?dist}
Summary: Parse, Analyze and Manipulate Perl
-
Group: Development/Libraries
License: GPL+ or Artistic
URL: http://search.cpan.org/dist/PPI/
Source0: http://www.cpan.org/authors/id/A/AD/ADAMK/PPI-%{version}.tar.gz
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
-
BuildArch: noarch
BuildRequires: perl(ExtUtils::MakeMaker)
# Perl core modules
@@ -22,12 +20,13 @@ BuildRequires: perl(File::Remove) >= 1.42
BuildRequires: perl(IO::String) >= 1.07
BuildRequires: perl(List::MoreUtils) >= 0.16
BuildRequires: perl(Params::Util) >= 1.00
+BuildRequires: perl(Task::Weaken)
BuildRequires: perl(Test::ClassAPI) >= 1.04
-BuildRequires: perl(Test::NoWarnings) >= 0.084
+BuildRequires: perl(Test::CPAN::Meta)
BuildRequires: perl(Test::Object) >= 0.07
+BuildRequires: perl(Test::NoWarnings) >= 0.084
BuildRequires: perl(Test::Pod) >= 1.00
BuildRequires: perl(Test::SubCalls) >= 1.07
-BuildRequires: perl(Task::Weaken)
Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
%description
@@ -36,7 +35,6 @@ Parse, Analyze and Manipulate Perl (without perl).
%prep
%setup -q -n PPI-%{version}
-
%{?filter_setup:
%filter_from_provides /^perl(PPI::.*)$/d
%?perl_default_filter
@@ -45,6 +43,7 @@ iconv -f iso8859-1 -t utf-8 < Changes > Changes.1
mv Changes.1 Changes
chmod -c 644 lib/PPI/Document/File.pm
+
%build
%{__perl} Makefile.PL INSTALLDIRS=vendor
make %{?_smp_mflags}
@@ -52,14 +51,14 @@ make %{?_smp_mflags}
%install
rm -rf $RPM_BUILD_ROOT
-make pure_install PERL_INSTALL_ROOT=$RPM_BUILD_ROOT
+make pure_install DESTDIR=$RPM_BUILD_ROOT
find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} ';'
find $RPM_BUILD_ROOT -type d -depth -exec rmdir {} 2>/dev/null ';'
-chmod -R u+w $RPM_BUILD_ROOT/*
+chmod -R u+w $RPM_BUILD_ROOT
%check
-make test
+make test AUTOMATED_TESTING=1
%clean
@@ -69,11 +68,17 @@ rm -rf $RPM_BUILD_ROOT
%files
%defattr(-,root,root,-)
%doc Changes LICENSE README inline2test.conf inline2test.tpl
-%{perl_vendorlib}/PPI*
-%{_mandir}/man3/*.3pm*
+%{perl_vendorlib}/PPI/
+%{perl_vendorlib}/PPI.pm
+%{_mandir}/man3/PPI*.3pm*
%changelog
+* Fri Jul 30 2010 Paul Howarth <paul(a)city-fan.org> - 1.206-6
+- BR: perl(Task::Weaken) and perl(Test::CPAN::Meta) for improved test coverage
+- enable AUTOMATED_TESTING
+- use DESTDIR rather than PERL_INSTALL_ROOT
+
* Thu May 06 2010 Marcela Maslanova <mmaslano(a)redhat.com> - 1.206-5
- Mass rebuild with perl-5.12.0
13 years, 9 months
[perl-Test-CPAN-Meta] Update to 0.17
by Paul Howarth
commit 8af702ecf23edd0873597db16e2b019430f99ac7
Author: Paul Howarth <paul(a)city-fan.org>
Date: Sat Jul 31 16:31:35 2010 +0100
Update to 0.17
- Update to 0.17
- Fix RT#46473: license url with fragment part
- Fix RT#47393: "optional_features" as map rather than list
- Renamed word() to keyword()
- Added identifier() validation
- Changed optional_features key from a keyword to an identifier type
- Clarified spec defined and user defined keys
- Fixed qr// delimiters due to issues with the NOT SIGN symbol
.gitignore | 2 +-
perl-Test-CPAN-Meta.spec | 14 ++++++++++++--
sources | 2 +-
3 files changed, 14 insertions(+), 4 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index 90020f4..22a579d 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1 +1 @@
-Test-CPAN-Meta-0.13.tar.gz
+Test-CPAN-Meta-0.17.tar.gz
diff --git a/perl-Test-CPAN-Meta.spec b/perl-Test-CPAN-Meta.spec
index 0b85d5d..4d341cf 100644
--- a/perl-Test-CPAN-Meta.spec
+++ b/perl-Test-CPAN-Meta.spec
@@ -1,6 +1,6 @@
Name: perl-Test-CPAN-Meta
-Version: 0.13
-Release: 3%{?dist}
+Version: 0.17
+Release: 1%{?dist}
Summary: Validation of the META.yml file in a CPAN distribution
License: GPL+ or Artistic
Group: Development/Libraries
@@ -57,6 +57,16 @@ rm -rf $RPM_BUILD_ROOT
%{_mandir}/man3/*
%changelog
+* Sat Jul 31 2010 Paul Howarth <paul(a)city-fan.org> - 0.17-1
+- Update to 0.17
+ - Fix RT#46473: license url with fragment part
+ - Fix RT#47393: "optional_features" as map rather than list
+ - Renamed word() to keyword()
+ - Added identifier() validation
+ - Changed optional_features key from a keyword to an identifier type
+ - Clarified spec defined and user defined keys
+ - Fixed qr// delimiters due to issues with the NOT SIGN symbol
+
* Thu May 06 2010 Marcela Maslanova <mmaslano(a)redhat.com> - 0.13-3
- Mass rebuild with perl-5.12.0
diff --git a/sources b/sources
index 56bb544..730c854 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-af486e1d6d27c7b56d3c007911626738 Test-CPAN-Meta-0.13.tar.gz
+17fd0360083a3bee4b225b6b344db1a0 Test-CPAN-Meta-0.17.tar.gz
13 years, 9 months
[perl-Test-Pod] Update to 1.44
by Paul Howarth
commit cb5fa6b6e1937e7deb879477800b7b6b3dfcb3d4
Author: Paul Howarth <paul(a)city-fan.org>
Date: Sat Jul 31 16:08:13 2010 +0100
Update to 1.44
- New upstream release 1.44:
- use Module::Build::Compat's "traditional" configuration
- loosen version requirements for Test::More and Pod::Simple
- add File::Spec to the list of prereqs
- Drop perl(Test::More) version requirement to 0.62
- Drop perl(Pod::Simple) version requirement to 3.05
.gitignore | 2 +-
perl-Test-Pod.spec | 20 ++++++++++++++------
sources | 2 +-
3 files changed, 16 insertions(+), 8 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index e9a4480..99074df 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1 +1 @@
-Test-Pod-1.42.tar.gz
+Test-Pod-1.44.tar.gz
diff --git a/perl-Test-Pod.spec b/perl-Test-Pod.spec
index fea5726..19fc6ab 100644
--- a/perl-Test-Pod.spec
+++ b/perl-Test-Pod.spec
@@ -1,6 +1,6 @@
Name: perl-Test-Pod
-Version: 1.42
-Release: 2%{?dist}
+Version: 1.44
+Release: 1%{?dist}
Summary: Test POD files for correctness
Group: Development/Libraries
@@ -12,13 +12,13 @@ BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildArch: noarch
BuildRequires: perl(File::Spec)
BuildRequires: perl(Module::Build) >= 0.30
-BuildRequires: perl(Pod::Simple) >= 3.07
+BuildRequires: perl(Pod::Simple) >= 3.05
BuildRequires: perl(Test::Builder::Tester) >= 1.02
-BuildRequires: perl(Test::More) >= 0.70
+BuildRequires: perl(Test::More) >= 0.62
Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
-Requires: perl(Pod::Simple) >= 3.07
+Requires: perl(Pod::Simple) >= 3.05
Requires: perl(Test::Builder::Tester) >= 1.02
-Requires: perl(Test::More) >= 0.70
+Requires: perl(Test::More) >= 0.62
%description
Check POD files for errors or warnings in a test file, using Pod::Simple to do
@@ -57,6 +57,14 @@ rm -rf $RPM_BUILD_ROOT
%changelog
+* Sat Jul 31 2010 Paul Howarth <paul(a)city-fan.org> - 1.44-1
+- update to 1.44:
+ - use Module::Build::Compat's "traditional" configuration
+ - loosen version requirements for Test::More and Pod::Simple
+ - add File::Spec to the list of prereqs
+- drop perl(Test::More) version requirement to 0.62
+- drop perl(Pod::Simple) version requirement to 3.05
+
* Fri May 07 2010 Marcela Maslanova <mmaslano(a)redhat.com> - 1.42-2
- Mass rebuild with perl-5.12.0
diff --git a/sources b/sources
index 578e0b4..472cd25 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-9c9b7ff52ea339aecbf247cd573df238 Test-Pod-1.42.tar.gz
+02380af5539521524d5df17273a57ae7 Test-Pod-1.44.tar.gz
13 years, 9 months
Broken dependencies: perl-Config-Model
by Fedora Koji Build System
perl-Config-Model has broken dependencies in the F-14 tree:
On x86_64:
perl-Config-Model-1.205-2.fc14.noarch requires perl(YAML::Any) >= 0:0.303
On i386:
perl-Config-Model-1.205-2.fc14.noarch requires perl(YAML::Any) >= 0:0.303
Please resolve this as soon as possible.
13 years, 9 months
Broken dependencies: perl-Data-Alias
by Fedora Koji Build System
perl-Data-Alias has broken dependencies in the F-14 tree:
On x86_64:
perl-Data-Alias-1.07-6.fc13.x86_64 requires perl(:MODULE_COMPAT_5.10.1)
On i386:
perl-Data-Alias-1.07-6.fc13.i686 requires perl(:MODULE_COMPAT_5.10.1)
Please resolve this as soon as possible.
13 years, 9 months
Broken dependencies: perl-Pugs-Compiler-Rule
by Fedora Koji Build System
perl-Pugs-Compiler-Rule has broken dependencies in the F-14 tree:
On x86_64:
perl-Pugs-Compiler-Rule-0.37-4.fc13.noarch requires perl(:MODULE_COMPAT_5.10.1)
On i386:
perl-Pugs-Compiler-Rule-0.37-4.fc13.noarch requires perl(:MODULE_COMPAT_5.10.1)
Please resolve this as soon as possible.
13 years, 9 months