[perl-NetPacket] Update to 1.6.0

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

 



commit 0d3815ab5b79eebaff7620729e2a848801af0b77
Author: Jose Pedro Oliveira <jose.p.oliveira.oss@xxxxxxxxx>
Date:   Sat Mar 14 01:06:12 2015 +0100

    Update to 1.6.0

 .gitignore          |  1 +
 perl-NetPacket.spec | 28 ++++++++++++++--------------
 sources             |  2 +-
 3 files changed, 16 insertions(+), 15 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index a5c0d74..61f0310 100644
--- a/.gitignore
+++ b/.gitignore
@@ -11,3 +11,4 @@
 /NetPacket-1.4.3.tar.gz
 /NetPacket-1.4.4.tar.gz
 /NetPacket-1.5.0.tar.gz
+/NetPacket-1.6.0.tar.gz
diff --git a/perl-NetPacket.spec b/perl-NetPacket.spec
index 5f6cae7..0e62100 100644
--- a/perl-NetPacket.spec
+++ b/perl-NetPacket.spec
@@ -1,14 +1,17 @@
 Name:           perl-NetPacket
-Version:        1.5.0
-Release:        2%{?dist}
+Version:        1.6.0
+Release:        1%{?dist}
 Summary:        Assemble/disassemble network packets at the protocol level
+
 License:        Artistic 2.0
 Group:          Development/Libraries
 URL:            http://search.cpan.org/dist/NetPacket/
 Source0:        http://www.cpan.org/authors/id/Y/YA/YANICK/NetPacket-%{version}.tar.gz
 BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
+
 BuildArch:      noarch
-BuildRequires:  perl(Module::Build)
+
+BuildRequires:  perl(ExtUtils::MakeMaker)
 BuildRequires:  perl(File::Spec)
 BuildRequires:  perl(IO::Handle)
 BuildRequires:  perl(IPC::Open3)
@@ -26,22 +29,16 @@ specific implementation.
 %setup -q -n NetPacket-%{version}
 
 %build
-%{__perl} Build.PL installdirs=vendor
-./Build
+perl Makefile.PL INSTALLDIRS=vendor
+make %{?_smp_mflags}
 
 %install
-rm -rf $RPM_BUILD_ROOT
-
-./Build install destdir=$RPM_BUILD_ROOT create_packlist=0
-find $RPM_BUILD_ROOT -depth -type d -exec rmdir {} 2>/dev/null \;
-
+make pure_install DESTDIR=$RPM_BUILD_ROOT
+find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} ';'
 %{_fixperms} $RPM_BUILD_ROOT/*
 
 %check
-./Build test
-
-%clean
-rm -rf $RPM_BUILD_ROOT
+make test
 
 %files
 %defattr(-,root,root,-)
@@ -50,6 +47,9 @@ rm -rf $RPM_BUILD_ROOT
 %{_mandir}/man3/*
 
 %changelog
+* Sat Mar 14 2015 Jose Pedro Oliveira <jose.p.oliveira.oss at gmail.com> - 1.6.0-1
+- Update to 1.6.0
+
 * Wed Aug 27 2014 Jitka Plesnikova <jplesnik@xxxxxxxxxx> - 1.5.0-2
 - Perl 5.20 rebuild
 
diff --git a/sources b/sources
index 195ac6d..cab1c12 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-0edcbcb83c9b314df420b5552a3bb7f5  NetPacket-1.5.0.tar.gz
+17ba0407dada096f046f513387e88818  NetPacket-1.6.0.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