forked from pool/perl-NetPacket
1.1.1
OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-NetPacket?expand=0&rev=2
This commit is contained in:
committed by
Git OBS Bridge
parent
1cedf6a5e1
commit
41d038d934
@@ -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}"}
|
||||
|
||||
Reference in New Issue
Block a user