File perl-Net-INET6Glue.spec of Package perl-Net-INET6Glue

Name:           perl-Net-INET6Glue
Version:        0.5
Release:        3%{?dist}
Summary:        Make common modules IPv6 ready by hotpatching
License:        GPL+ or Artistic
Group:          Development/Libraries
URL:            http://search.cpan.org/dist/Net-INET6Glue/
Source0:        http://www.cpan.org/authors/id/S/SU/SULLR/Net-INET6Glue-%{version}.tar.gz
BuildArch:      noarch
BuildRequires:  perl(Carp)
BuildRequires:  perl(ExtUtils::MakeMaker)
BuildRequires:  perl(IO::Socket::INET)
BuildRequires:  perl(IO::Socket::INET6) >= 2.54
BuildRequires:  perl(Net::FTP)
BuildRequires:  perl(Socket)
BuildRequires:  perl(strict)
BuildRequires:  perl(warnings)
Requires:       perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))

%description
Net::INET6Glue is a collection of modules to make common modules IPv6 ready
by hotpatching them.

%prep
%setup -q -n Net-INET6Glue-%{version}

%build
PERL_MM_USE_DEFAULT=1 %{__perl} Makefile.PL INSTALLDIRS=vendor
make %{?_smp_mflags}

%install
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 \;

%{_fixperms} $RPM_BUILD_ROOT/*

%check
make test

%files
%doc Changes COPYRIGHT README
%{perl_vendorlib}/*
%{_mandir}/man3/*

%changelog
* Tue Sep 10 2013 Ken Dreyer <ktdreyer@ktdreyer.com> 0.5-3
- Adjust Requires and BuildRequires per review.

* Sun May 19 2013 Ken Dreyer <ktdreyer@ktdreyer.com> 0.5-2
- Run Makefile.pl with PERL_MM_USE_DEFAULT=1 so that we skip the prompt during
  an interactive rpmbuild session (eg. outside of mock).
- Remove BuildRoot and rm -rf $RPM_BUILD_ROOT. (EL5 compat not required.)

* Thu May 16 2013 Ken Dreyer <ktdreyer@ktdreyer.com> 0.5-1
- Specfile autogenerated by cpanspec 1.78.
openSUSE Build Service is sponsored by