Name: perl-Net-DHCP Version: 0.696 Release: 4%{?dist} Summary: Set of classes for basic handling of DHCP packets Group: Development/Libraries License: GPL+ or Artistic URL: http://search.cpan.org/dist/Net-DHCP/ Source0: http://search.cpan.org/CPAN/authors/id/D/DJ/DJZORT/Net-DHCP-%{version}.tar.gz Buildarch: noarch BuildRequires: coreutils BuildRequires: findutils BuildRequires: perl BuildRequires: perl-generators BuildRequires: perl(bytes) BuildRequires: perl(Carp) BuildRequires: perl(constant) BuildRequires: perl(Exporter) BuildRequires: perl(List::Util) BuildRequires: perl(Module::Build) BuildRequires: perl(Scalar::Util) BuildRequires: perl(Socket) BuildRequires: perl(strict) BuildRequires: perl(Test::More) BuildRequires: perl(Test::Warn) BuildRequires: perl(warnings) # Generic Perl Requires Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) %description Net::DHCP is a DHCP set of classes designed to handle basic DHCP handling. It can be used to develop either client, server or relays. %prep %setup -q -n Net-DHCP-%{version} # Fix permissions find examples -type f -exec chmod 644 {} 2>/dev/null \; chmod 644 README chmod 644 Changes %build %{__perl} Build.PL installdirs=vendor ./Build # See README rm -rf docs %install ./Build install destdir=%{buildroot} create_packlist=0 find %{buildroot} -depth -type d -exec rmdir {} 2>/dev/null \; # Permissions find %{buildroot} -type f -exec chmod 644 {} 2>/dev/null \; %check ./Build test %files %license LICENSE %doc README examples/ Changes %{perl_vendorlib}/* %{_mandir}/man3/* %changelog * Sat Feb 11 2017 Fedora Release Engineering - 0.696-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild * Sun May 15 2016 Jitka Plesnikova - 0.696-3 - Perl 5.24 rebuild * Thu Feb 04 2016 Fedora Release Engineering - 0.696-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild * Wed Aug 12 2015 Jitka Plesnikova - 0.696-1 - 0.696 bump * Thu Jun 18 2015 Fedora Release Engineering - 0.693-10 - Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild * Fri Jun 05 2015 Jitka Plesnikova - 0.693-9 - Perl 5.22 rebuild * Thu Aug 28 2014 Jitka Plesnikova - 0.693-8 - Perl 5.20 rebuild * Sat Jun 07 2014 Fedora Release Engineering - 0.693-7 - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild * Sat Aug 03 2013 Fedora Release Engineering - 0.693-6 - Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild * Mon Jul 22 2013 Petr Pisar - 0.693-5 - Perl 5.18 rebuild * Thu Feb 14 2013 Fedora Release Engineering - 0.693-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild * Mon Nov 05 2012 Tomas Hozza - 0.693-3 - Added BuildRequires to prevent problems in test phase (#872597) * Mon Nov 05 2012 Tomas Hozza - 0.693-2 - Removed unnecessary Requires from SPEC file (#872597) * Fri Nov 02 2012 Tomas Hozza - 0.693-1 - Initial package