[perl-Nmap-Parser] 1.31 bump

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



commit ae759640e6295ddfdf14163ef6f9299ee84c72ad
Author: Petr Písař <ppisar@xxxxxxxxxx>
Date:   Wed Nov 26 15:05:12 2014 +0100

    1.31 bump

 .gitignore            |    1 +
 perl-Nmap-Parser.spec |   49 ++++++++++++++++++++++++++++---------------------
 sources               |    2 +-
 3 files changed, 30 insertions(+), 22 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index 20d0a67..3acccc9 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,2 +1,3 @@
 Nmap-Parser-1.2.tar.gz
 /Nmap-Parser-1.21.tar.gz
+/Nmap-Parser-1.31.tar.gz
diff --git a/perl-Nmap-Parser.spec b/perl-Nmap-Parser.spec
index 2f1d89f..4de2c4e 100644
--- a/perl-Nmap-Parser.spec
+++ b/perl-Nmap-Parser.spec
@@ -1,60 +1,66 @@
 Name:           perl-Nmap-Parser
-Version:        1.21
-Release:        10%{?dist}
+Version:        1.31
+Release:        1%{?dist}
 Summary:        Parse nmap scan data with perl
 License:        MIT
 Group:          Development/Libraries
 URL:            http://search.cpan.org/dist/Nmap-Parser/
 Source0:        http://search.cpan.org/CPAN/authors/id/A/AP/APERSAUD/Nmap-Parser-%{version}.tar.gz
 BuildArch:      noarch
+BuildRequires:  perl
 BuildRequires:  perl(ExtUtils::MakeMaker)
-BuildRequires:  perl(Test::More)
+# Run-time:
+BuildRequires:  perl(strict)
+BuildRequires:  perl(vars)
+# Storable 2 used nowhere
 BuildRequires:  perl(XML::Twig) >= 3.16
-Requires:       perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
+# Tests:
+BuildRequires:  perl(blib)
+BuildRequires:  perl(constant)
+BuildRequires:  perl(Cwd)
+BuildRequires:  perl(File::Spec)
+BuildRequires:  perl(Test::More)
+Requires:       perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
+Requires:       perl(XML::Twig) >= 3.16
 
 %{?perl_default_filter}
+# Remove under-specified dependencies
+%global __requires_exclude %{?__requires_exclude:%__requires_exclude|}^perl\\(XML::Twig\\)$
 
 %description
 This module implements a interface to the information contained in an
-nmap scan. It is implemented by parsing the xml scan data that is
+nmap scan. It is implemented by parsing the XML scan data that is
 generated by nmap. This will enable anyone who utilizes nmap to quickly
 create fast and robust security scripts that utilize the powerful port
 scanning abilities of nmap.
 
 %prep
 %setup -q -n Nmap-Parser-%{version}
-
-# cleanup
-rm -f ./._*
-
-#fix end-of-line encoding
-sed -i 's/\r//' README
-sed -i 's/\r//' Parser.pm
+# fix end-of-line encoding and permission
 sed -i 's/\r//' tools/pdev.pl
-
-chmod 0644 tools/*
+chmod 0644 tools/pdev.pl
 
 %build
-%{__perl} Makefile.PL INSTALLDIRS=vendor
+perl Makefile.PL INSTALLDIRS=vendor
 make %{?_smp_mflags}
 
 %install
 make pure_install DESTDIR=$RPM_BUILD_ROOT
-
 find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} \;
-find $RPM_BUILD_ROOT -depth -type d -exec rmdir {} 2>/dev/null \;
-
 %{_fixperms} $RPM_BUILD_ROOT/*
 
 %check
 make test
 
 %files
-%doc Changes LICENSE README tools
+%doc Changes LICENSE README.md tools
 %{perl_vendorlib}/*
 %{_mandir}/man3/*
 
 %changelog
+* Wed Nov 26 2014 Petr Pisar <ppisar@xxxxxxxxxx> - 1.31-1
+- 1.31 bump
+
 * Fri Aug 29 2014 Jitka Plesnikova <jplesnik@xxxxxxxxxx> - 1.21-10
 - Perl 5.20 rebuild
 
@@ -108,7 +114,7 @@ make test
 * Sun Jul 26 2009 Fedora Release Engineering <rel-eng@xxxxxxxxxxxxxxxxxxxxxxx> - 1.19-2
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
 
-* Tue Mar 04 2009 Sindre Pedersen Bjørdal <sindrepb@xxxxxxxxxxxxxxxxx>
+* Tue Mar 03 2009 Sindre Pedersen Bjørdal <sindrepb@xxxxxxxxxxxxxxxxx>
 - New upstream release
 - Fix typo in manual install
 - Don't use dos2unix, rely on sed magic instead
@@ -135,5 +141,6 @@ Rebuild for new perl
 - Fix permissions
 - Fix end-of-line encoding
 - Add missing BRs
-* Thu May 02 2007 Sindre Pedersen Bjørdal <foolish[AT]guezz.net> - 1.05-1
+
+* Wed May 02 2007 Sindre Pedersen Bjørdal <foolish[AT]guezz.net> - 1.05-1
 - Initial build
diff --git a/sources b/sources
index a7eff97..47ba427 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-3733b9d5f76fb34c49edad21eb282bbc  Nmap-Parser-1.21.tar.gz
+7459a2793d88fc5b8ae5b759dff0843d  Nmap-Parser-1.31.tar.gz
--
Fedora Extras Perl SIG
http://www.fedoraproject.org/wiki/Extras/SIGs/Perl
perl-devel mailing list
perl-devel@xxxxxxxxxxxxxxxxxxxxxxx
https://admin.fedoraproject.org/mailman/listinfo/perl-devel





[Index of Archives]     [Fedora Announce]     [Fedora Kernel]     [Fedora Testing]     [Fedora Legacy Announce]     [Fedora PHP Devel]     [Kernel Devel]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Big List of Linux Books]     [Gimp]     [Yosemite Information]
  Powered by Linux