From ff92c6845b64e4f0f8266fee31f24bc9e4ba82b8 Mon Sep 17 00:00:00 2001 From: Jitka Plesnikova jplesnik@redhat.com Date: Tue, 3 Nov 2015 12:10:45 +0100 Subject: Specify all dependencies; Modernize spec
--- perl-Net-IPv6Addr.spec | 36 ++++++++++++++++++++++-------------- 1 file changed, 22 insertions(+), 14 deletions(-)
diff --git a/perl-Net-IPv6Addr.spec b/perl-Net-IPv6Addr.spec index be4db24..656e2a2 100644 --- a/perl-Net-IPv6Addr.spec +++ b/perl-Net-IPv6Addr.spec @@ -1,18 +1,29 @@ Name: perl-Net-IPv6Addr Version: 0.2 -Release: 17%{?dist} +Release: 18%{?dist} Summary: Perl module to check validity of IPv6 addresses
Group: Development/Libraries License: GPL+ or Artistic URL: http://search.cpan.org/dist/Net-IPv6Addr/ Source0: http://search.cpan.org/CPAN/authors/id/T/TM/TMONROE/Net-IPv6Addr-%%7Bversion... -BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildArch: noarch -BuildRequires: perl(Net::IPv4Addr), perl(Math::Base85) +BuildRequires: coreutils +BuildRequires: findutils +BuildRequires: make +BuildRequires: perl +BuildRequires: perl(Carp) BuildRequires: perl(ExtUtils::MakeMaker) +BuildRequires: perl(Math::Base85) +BuildRequires: perl(Math::BigInt) +BuildRequires: perl(Net::IPv4Addr) +BuildRequires: perl(strict) +BuildRequires: perl(Test) +BuildRequires: perl(vars) +Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) Requires: perl(Math::Base85) +Requires: perl(Math::BigInt)
%description Net::IPv6Addr checks strings for valid IPv6 addresses, as specified in @@ -29,29 +40,24 @@ make %{?_smp_mflags}
%install -rm -rf $RPM_BUILD_ROOT -make pure_install PERL_INSTALL_ROOT=$RPM_BUILD_ROOT +make pure_install DESTDIR=$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 ChangeLog README %{perl_vendorlib}/* %{_mandir}/man?/*
%changelog +* Tue Nov 03 2015 Jitka Plesnikova jplesnik@redhat.com - 0.2-18 +- Specify all dependencies +- Modernize spec + * Thu Jun 18 2015 Fedora Release Engineering rel-eng@lists.fedoraproject.org - 0.2-17 - Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
@@ -98,7 +104,9 @@ rm -rf $RPM_BUILD_ROOT - Fix license - Add explicit Requires on perl(Math::Base85) - Add missing BRs -* Fri May 12 2007 Sindre Pedersen Bjørdal <foolish[AT]guezz.net> - 0.2-2 + +* Fri May 11 2007 Sindre Pedersen Bjørdal <foolish[AT]guezz.net> - 0.2-2 - Add missing perl-Math-Base85 BR + * Sat May 05 2007 Sindre Pedersen Bjørdal <foolish[AT]guezz.net> - 0.2-1 - Initial build
perl-devel@lists.fedoraproject.org