8
0
Pascal Bleser
2011-03-23 00:46:02 +00:00
committed by Git OBS Bridge
parent 1cedf6a5e1
commit 41d038d934
2 changed files with 17 additions and 1 deletions

View File

@@ -5,15 +5,17 @@ Version: 1.1.1
Release: 0
Summary: Assemble/disassemble network packets at the protocol level
Source: http://search.cpan.org/CPAN/authors/id/Y/YA/YANICK/NetPacket-%{version}.tar.gz
Patch1: perl-NetPacket-backport.patch
URL: http://search.cpan.org/dist/NetPacket
Group: Development/Libraries/Perl
License: Perl License
BuildRoot: %{_tmppath}/build-%{name}-%{version}
%{perl_requires}
BuildRequires: perl-macros
%if 0%{?suse_version} > 1120
BuildRequires: perl(Test::More) >= 0.94
%endif
BuildRequires: perl(Scalar::Util)
BuildRequires: perl(Module::Build) >= 0.3601
BuildRequires: perl(Carp)
BuildRequires: perl(Module::Build)
BuildRequires: perl(vars)
@@ -38,6 +40,7 @@ unusual situations difficult.
%prep
%setup -q -n "NetPacket-%{version}"
%patch1
%build
%__perl ./Build.PL
@@ -47,8 +50,10 @@ unusual situations difficult.
./Build pure_install --destdir "%{buildroot}" --installdirs vendor
%perl_process_packlist
%if 0%{?suse_version} > 1120
%check
./Build test
%endif
%clean
%{?buildroot:%__rm -rf "%{buildroot}"}