rpms/perl-Net-Write/FC-6 perl-Net-Write-1.00-perlversion.patch, NONE, 1.1 perl-Net-Write.spec, NONE, 1.1 sources, 1.1, 1.2

Sindre Pedersen Bjørdal (sindrepb) fedora-extras-commits at redhat.com
Sat Jun 2 17:27:35 UTC 2007


Author: sindrepb

Update of /cvs/extras/rpms/perl-Net-Write/FC-6
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv18517

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

perl-Net-Write-1.00-perlversion.patch:

--- NEW FILE perl-Net-Write-1.00-perlversion.patch ---
--- Net-Write-1.00/lib/Net/Write.pm.orig	2007-05-05 13:26:32.000000000 +0200
+++ Net-Write-1.00/lib/Net/Write.pm	2007-05-05 13:26:49.000000000 +0200
@@ -5,7 +5,7 @@ package Net::Write;
 use strict;
 use warnings;
 
-require v5.6.1;
+#require v5.6.1;
 
 our $VERSION = '1.00';
 


--- NEW FILE perl-Net-Write.spec ---
Name:           perl-Net-Write
Version:        1.00
Release:        2%{?dist}
Summary:        A portable interface to open and send raw data to network

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

BuildArch:      noarch
BuildRequires:  perl(Net::Pcap), perl(Class::Gomor), perl(Socket6)
BuildRequires:  perl(Test::Pod), perl(Test::Pod::Coverage)

%description
Net::Write provides a portable interface to open a network interface, and be
able to write raw data directly to the network. It juste provides three
methods when a Net::Write object has been created for an interface: open,
send, close.

%prep
%setup -q -n Net-Write-%{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/*


%check
make test


%clean
rm -rf $RPM_BUILD_ROOT


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


%changelog
* Sat May 26 2007 Sindre Pedersen Bjørdal <foolish[AT]guezz.net> - 1.00-2
- Add examples dir as documentation
- Add missing BRs for tests
- Fix licensing
* Sat May 05 2007 Sindre Pedersen Bjørdal <foolish[AT]guezz.net> - 1.00-1
- Initial build


Index: sources
===================================================================
RCS file: /cvs/extras/rpms/perl-Net-Write/FC-6/sources,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- sources	2 Jun 2007 15:57:06 -0000	1.1
+++ sources	2 Jun 2007 17:27:00 -0000	1.2
@@ -0,0 +1 @@
+acf5e1898a85ba124a205ef6d6a40eed  Net-Write-1.00.tar.gz




More information about the fedora-extras-commits mailing list