aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRafael Garcia-Suarez <rgarciasuarez@mandriva.com>2006-09-07 09:12:08 +0000
committerRafael Garcia-Suarez <rgarciasuarez@mandriva.com>2006-09-07 09:12:08 +0000
commitea9cd4d20f22ebb0a911d94a6a2917a2af66d767 (patch)
tree9df3e8715d343c7a684944782a250941f0cf7eda
parent65ded250a99b9cce1e730fd513f81d7205cb5449 (diff)
downloadperl-URPM-ea9cd4d20f22ebb0a911d94a6a2917a2af66d767.tar
perl-URPM-ea9cd4d20f22ebb0a911d94a6a2917a2af66d767.tar.gz
perl-URPM-ea9cd4d20f22ebb0a911d94a6a2917a2af66d767.tar.bz2
perl-URPM-ea9cd4d20f22ebb0a911d94a6a2917a2af66d767.tar.xz
perl-URPM-ea9cd4d20f22ebb0a911d94a6a2917a2af66d767.zip
Add POD test, remove sole pod fragment in URPM::Build
-rw-r--r--MANIFEST1
-rw-r--r--URPM/Build.pm7
-rw-r--r--t/pod.t5
3 files changed, 8 insertions, 5 deletions
diff --git a/MANIFEST b/MANIFEST
index 112a6d8..585ae76 100644
--- a/MANIFEST
+++ b/MANIFEST
@@ -11,6 +11,7 @@ URPM/Signature.pm
t/00prepare.t
t/fatal.t
t/parse.t
+t/pod.t
t/rpmdb.t
t/synthesis.t
ChangeLog
diff --git a/URPM/Build.pm b/URPM/Build.pm
index ec421f0..924074a 100644
--- a/URPM/Build.pm
+++ b/URPM/Build.pm
@@ -529,11 +529,8 @@ sub build_base_files {
our $MAKEDELTARPM = '/usr/bin/makedeltarpm';
-=item make_delta_rpm($old_rpm_file, $new_rpm_file)
-
-Creates a delta rpm in the current directory.
-
-=cut
+#- make_delta_rpm($old_rpm_file, $new_rpm_file)
+# Creates a delta rpm in the current directory.
sub make_delta_rpm ($$) {
@_ == 2 or return 0;
diff --git a/t/pod.t b/t/pod.t
new file mode 100644
index 0000000..df36c2b
--- /dev/null
+++ b/t/pod.t
@@ -0,0 +1,5 @@
+#!perl
+use Test::More;
+eval "use Test::Pod 1.14";
+plan skip_all => "Test::Pod 1.14 required for testing POD" if $@;
+all_pod_files_ok();