commit ba30b7220e34cbdadeb1f236878feffe8f70f7ba Author: Ken Dreyer <ktdreyer@xxxxxxxxxxxx> Date: Tue Sep 10 10:35:01 2013 -0600 Initial import Package review request at https://bugzilla.redhat.com/963903 .gitignore | 1 + perl-Net-INET6Glue.spec | 49 +++++++++++++++++++++++++++++++++++++++++++++++ sources | 1 + 3 files changed, 51 insertions(+), 0 deletions(-) --- diff --git a/.gitignore b/.gitignore index e69de29..c5440b7 100644 --- a/.gitignore +++ b/.gitignore @@ -0,0 +1 @@ +/Net-INET6Glue-0.5.tar.gz diff --git a/perl-Net-INET6Glue.spec b/perl-Net-INET6Glue.spec new file mode 100644 index 0000000..8260aa4 --- /dev/null +++ b/perl-Net-INET6Glue.spec @@ -0,0 +1,49 @@ +Name: perl-Net-INET6Glue +Version: 0.5 +Release: 2%{?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(ExtUtils::MakeMaker) +BuildRequires: perl(IO::Socket::INET6) >= 2.54 +Requires: perl(IO::Socket::INET6) >= 2.54 +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 +* Sun May 19 2013 Ken Dreyer <ktdreyer@xxxxxxxxxxxx> 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@xxxxxxxxxxxx> 0.5-1 +- Specfile autogenerated by cpanspec 1.78. diff --git a/sources b/sources index e69de29..9be8392 100644 --- a/sources +++ b/sources @@ -0,0 +1 @@ +100a4b5550a05925bf7af5acf0597a6a Net-INET6Glue-0.5.tar.gz -- Fedora Extras Perl SIG http://www.fedoraproject.org/wiki/Extras/SIGs/Perl perl-devel mailing list perl-devel@xxxxxxxxxxxxxxxxxxxxxxx https://admin.fedoraproject.org/mailman/listinfo/perl-devel