[perl-MooX-Options] Generate warning when missing required params

David Dick ddick at fedoraproject.org
Sat Jan 24 08:21:33 UTC 2015


commit 3fbaa56df64fbcff7abe6699ddfd3a33f720d968
Author: David Dick <ddick at cpan.org>
Date:   Sat Jan 24 19:22:02 2015 +1100

    Generate warning when missing required params

 .gitignore             |    1 +
 perl-MooX-Options.spec |   12 ++++++++++--
 sources                |    2 +-
 3 files changed, 12 insertions(+), 3 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index bb1f83b..d7499ad 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,3 +1,4 @@
 /MooX-Options-4.009.tar.gz
 /MooX-Options-4.012.tar.gz
 /MooX-Options-4.013.tar.gz
+/MooX-Options-4.015.tar.gz
diff --git a/perl-MooX-Options.spec b/perl-MooX-Options.spec
index 5f91664..98e275d 100644
--- a/perl-MooX-Options.spec
+++ b/perl-MooX-Options.spec
@@ -1,5 +1,5 @@
 Name:           perl-MooX-Options
-Version:        4.013
+Version:        4.015
 Release:        1%{?dist}
 Summary:        Explicit Options eXtension for Object Class
 License:        GPL+ or Artistic
@@ -69,11 +69,19 @@ chmod -c -x lib/MooX/Options.pm
 ./Build test
 
 %files
-%doc Changes etc LICENSE README
+%if 0%{?_licensedir:1}
+%license LICENSE
+%else
+%doc LICENSE
+%endif
+%doc Changes etc README
 %{perl_vendorlib}/*
 %{_mandir}/man3/*
 
 %changelog
+* Sat Jan 24 2015 David Dick <ddick at cpan.org> - 4.015-1
+- Generate warning when missing required params
+
 * Wed Nov 26 2014 David Dick <ddick at cpan.org> - 4.013-1
 - Adding autorange support
 
diff --git a/sources b/sources
index efdcb84..6e801ef 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-e541f8875e6564032c26ec32595302b8  MooX-Options-4.013.tar.gz
+cd2b948ae1c6f29ffc2739a99abe11d4  MooX-Options-4.015.tar.gz



More information about the perl-devel mailing list