%define perl_major_ver %(eval `perl -V:version`; echo ${version%*.[0-9]*}.0) Name: perl-IO-Socket-INET6 Version: 2.73 Release: 1mamba Summary: IO::Socket::INET6 - Object interface for AF_INET|AF_INET6 domain sockets Group: System/Libraries/Perl Vendor: openmamba Distribution: openmamba Packager: Silvan Calarco URL: https://www.cpan.org/ Source: https://cpan.metacpan.org/modules/by-module/IO/IO-Socket-INET6-%{version}.tar.gz License: BSD Requires: perl >= %perl_major_ver ## AUTOBUILDREQ-BEGIN BuildRequires: libperl BuildRequires: perl-Socket6 BuildRequires: perl-devel ## AUTOBUILDREQ-END %description IO::Socket::INET6 - Object interface for AF_INET|AF_INET6 domain sockets. %prep %setup -q -n IO-Socket-INET6-%{version} %build perl Makefile.PL PREFIX=%{_prefix} INSTALLDIRS=vendor %make #FIXME: #t/io_sock6..........ok 11/20Died at t/io_sock6.t line 39, line 2. # % make test %install [ "%{buildroot}" != / ] && rm -rf "%{buildroot}" %makeinstall_perl packlist=`find %{buildroot} -name .packlist` [ -z "$packlist" ] && exit 1 || cat $packlist | \ sed "s,%buildroot,,g;s,.*/man/.*,&.gz,g" | \ sort -u > .packlist && rm $packlist strid=`echo $packlist | sed 's,.*auto\(.*\)/.packlist,\1,'` for dir in `find %{buildroot} -type d | grep $strid`; do echo "%dir ${dir#%buildroot}" >> .packlist done %clean [ "%{buildroot}" != / ] && rm -rf "%{buildroot}" rm -f .packlist %files -f .packlist %defattr(-,root,root) %changelog * Sat Dec 11 2021 Automatic Build System 2.73-1mamba - automatic version update by autodist * Wed Feb 19 2014 Automatic Build System 2.72-1mamba - automatic update by autodist * Sun Jun 23 2013 Automatic Build System 2.71-1mamba - automatic version update by autodist * Sun May 26 2013 Automatic Build System 2.70-1mamba - automatic update by autodist * Sat Nov 10 2012 Silvan Calarco 2.69-2mamba - perl 5.16 mass rebuild * Mon Dec 12 2011 Automatic Build System 2.69-1mamba - automatic version update by autodist * Tue Feb 01 2011 Automatic Build System 2.67-1mamba - automatic update by autodist * Sat Jun 26 2010 Automatic Build System 2.65-1mamba - automatic update by autodist * Sat Apr 24 2010 Automatic Build System 2.61-1mamba - automatic update by autodist * Tue Jan 12 2010 Automatic Build System 2.57-1mamba - automatic update by autodist * Wed Nov 05 2008 Silvan Calarco 2.56-2mamba - automatic rebuild by autodist * Mon Oct 20 2008 gil 2.56-1mamba - update to 2.56 * Wed May 09 2007 Silvan Calarco 2.51-1mamba - package created by autospec