rpms/perl-Net-Packet/EL-4 perl-Net-Packet-3.25-perlversion.patch, NONE, 1.1 perl-Net-Packet.spec, NONE, 1.1 sources, 1.1, 1.2

Sindre Pedersen Bjørdal (sindrepb) fedora-extras-commits at redhat.com
Sun Jul 15 10:13:23 UTC 2007


Author: sindrepb

Update of /cvs/extras/rpms/perl-Net-Packet/EL-4
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv30198

Modified Files:
	sources 
Added Files:
	perl-Net-Packet-3.25-perlversion.patch perl-Net-Packet.spec 
Log Message:
add files to branch

perl-Net-Packet-3.25-perlversion.patch:

--- NEW FILE perl-Net-Packet-3.25-perlversion.patch ---
--- Net-Packet-3.25/lib/Net/Packet.pm.orig	2007-05-05 13:36:39.000000000 +0200
+++ Net-Packet-3.25/lib/Net/Packet.pm	2007-05-05 13:38:48.000000000 +0200
@@ -5,7 +5,7 @@ package Net::Packet;
 use strict;
 use warnings;
 
-require v5.6.1;
+#require v5.6.1;
 
 our $VERSION = '3.25';
 


--- NEW FILE perl-Net-Packet.spec ---
Name:           perl-Net-Packet
Version:        3.25
Release:        2%{?dist}
Summary:        A framework to easily send and receive frames from layer 2 to layer 7

Group:          Development/Libraries
License:        Artistic
URL:            http://search.cpan.org/dist/Net-Packet/
Source0:        http://search.cpan.org/CPAN/authors/id/G/GO/GOMOR/Net-Packet-%{version}.tar.gz 
Patch0:         perl-Net-Packet-3.25-perlversion.patch
BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)

BuildArch:      noarch
BuildRequires:  perl(Net::IPv6Addr), perl(Net::Write)
BuildRequires:  perl(Bit::Vector), perl(Net::Libdnet)
BuildRequires:  perl(ExtUtils::MakeMaker), perl(Test)
BuildRequires:  perl(Test::Pod::Coverage), perl(Test::Pod)
Requires:  perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))

%description
perl-Net-Packet is a unified framework to craft, send and receive packets at
layers 2, 3, 4 and 7.

%prep
%setup -q -n Net-Packet-%{version}
%patch0 -p1

%build
%{__perl} Makefile.PL INSTALLDIRS=vendor
make %{?_smp_mflags}


%install
rm -rf $RPM_BUILD_ROOT
make pure_install PERL_INSTALL_ROOT=$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 ';'
chmod -R u+w $RPM_BUILD_ROOT/*

#Change encoding to UTF-8
for f in `find $RPM_BUILD_ROOT%{_mandir}/man3/` ; do
        iconv -f ISO-8859-15 -t UTF-8 $f > ${f}.tmp && \
                %{__mv} -f ${f}.tmp ${f} || \
                %{__rm} -f ${f}.tmp
done

%check
make test


%clean
rm -rf $RPM_BUILD_ROOT


%files
%defattr(-,root,root,-)
%doc Changes LICENSE LICENSE.Artistic README
%{perl_vendorlib}/*
%{_mandir}/man?/*


%changelog
* Mon Jun 04 2007 Sindre Pedersen Bjørdal <foolish[AT]guezz.net> - 3.25-2
- Add missing BRs
* Sat May 05 2007 Sindre Pedersen Bjørdal <foolish[AT]guezz.net> - 3.25-1
- Initial build


Index: sources
===================================================================
RCS file: /cvs/extras/rpms/perl-Net-Packet/EL-4/sources,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- sources	11 Jun 2007 03:28:59 -0000	1.1
+++ sources	15 Jul 2007 10:12:51 -0000	1.2
@@ -0,0 +1 @@
+2d74638838f02704803b8e2638afc3a5  Net-Packet-3.25.tar.gz




More information about the scm-commits mailing list