Name: perl-Sys-Hostname-Long Version: 1.5 Release: 25%{?dist} Summary: Try every conceivable way to get full hostname License: GPL+ or Artistic URL: https://metacpan.org/release/Sys-Hostname-Long Source0: https://cpan.metacpan.org/authors/id/S/SC/SCOTT/Sys-Hostname-Long-%{version}.tar.gz BuildArch: noarch # Module Build BuildRequires: coreutils BuildRequires: make BuildRequires: perl-interpreter BuildRequires: perl-generators BuildRequires: perl(ExtUtils::MakeMaker) > 6.75 # Module Runtime BuildRequires: hostname BuildRequires: perl(Carp) BuildRequires: perl(Exporter) BuildRequires: perl(IO::Socket) BuildRequires: perl(POSIX) BuildRequires: perl(strict) BuildRequires: perl(Sys::Hostname) BuildRequires: perl(vars) # Test Suite BuildRequires: perl(lib) BuildRequires: perl(Test) # Runtime Requires: hostname Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version)) Requires: perl(IO::Socket) # Avoid unwanted dependencies from testall.pl %global __requires_exclude_from ^%{perl_vendorlib}/Sys/Hostname/testall\.pl %description Attempt via many methods to get the system's full name. The Sys::Hostname class is the best and standard way to get the system hostname. However, it is missing the long hostname. %prep %setup -q -n Sys-Hostname-Long-%{version} %build perl Makefile.PL INSTALLDIRS=vendor NO_PACKLIST=1 NO_PERLLOCAL=1 make %{?_smp_mflags} %install make install DESTDIR=%{buildroot} %{_fixperms} -c %{buildroot} %check make test perl testall.pl %files %doc Changes README %{perl_vendorlib}/Sys/ %{_mandir}/man3/Sys::Hostname::Long.3* %changelog * Fri Jul 22 2022 Fedora Release Engineering - 1.5-25 - Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild * Mon May 30 2022 Jitka Plesnikova - 1.5-24 - Perl 5.36 rebuild * Fri Jan 21 2022 Fedora Release Engineering - 1.5-23 - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild * Thu Jul 22 2021 Fedora Release Engineering - 1.5-22 - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild * Fri May 21 2021 Jitka Plesnikova - 1.5-21 - Perl 5.34 rebuild * Wed Jan 27 2021 Fedora Release Engineering - 1.5-20 - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild * Tue Jul 28 2020 Fedora Release Engineering - 1.5-19 - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild * Mon Jun 22 2020 Jitka Plesnikova - 1.5-18 - Perl 5.32 rebuild * Thu Jan 30 2020 Fedora Release Engineering - 1.5-17 - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild * Fri Jul 26 2019 Fedora Release Engineering - 1.5-16 - Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild * Thu May 30 2019 Jitka Plesnikova - 1.5-15 - Perl 5.30 rebuild * Sat Feb 02 2019 Fedora Release Engineering - 1.5-14 - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild * Fri Jul 13 2018 Fedora Release Engineering - 1.5-13 - Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild * Wed Jun 27 2018 Jitka Plesnikova - 1.5-12 - Perl 5.28 rebuild * Fri Feb 09 2018 Fedora Release Engineering - 1.5-11 - Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild * Thu Jul 27 2017 Fedora Release Engineering - 1.5-10 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild * Sun Jun 04 2017 Jitka Plesnikova - 1.5-9 - Perl 5.26 rebuild * Mon May 15 2017 Paul Howarth - 1.5-8 - Avoid unwanted dependencies from testall.pl - Run testall.pl in %%check * Mon May 15 2017 Paul Howarth - 1.5-7 - Add build/runtime dependency on hostname for situations where network is unavailable (#1450746) - Simplify find command using -delete - Drop EPEL support - Drop legacy BuildRoot: and Group: tags - No need to clean buildroot in %%install section - Drop explicit %%clean section - No current EL release has a hostname package - Simplify spec using features from recent ExtUtils::MakeMaker * Sat Feb 11 2017 Fedora Release Engineering - 1.5-6 - Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild * Sat May 14 2016 Jitka Plesnikova - 1.5-5 - Perl 5.24 rebuild * Thu Feb 04 2016 Fedora Release Engineering - 1.5-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild * Thu Jun 18 2015 Fedora Release Engineering - 1.5-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild * Wed Jun 03 2015 Jitka Plesnikova - 1.5-2 - Perl 5.22 rebuild * Tue Jan 13 2015 Paul Howarth - 1.5-1 - Update to 1.5 - Improvements by Michiel Bejen - Classify buildreqs by usage - General spec clean-up * Wed Aug 27 2014 Jitka Plesnikova - 1.4-13 - Perl 5.20 rebuild * Sat Jun 07 2014 Fedora Release Engineering - 1.4-12 - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild * Sun Aug 04 2013 Fedora Release Engineering - 1.4-11 - Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild * Wed Jul 17 2013 Petr Pisar - 1.4-10 - Perl 5.18 rebuild * Thu Feb 14 2013 Fedora Release Engineering - 1.4-9 - Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild * Fri Jul 20 2012 Fedora Release Engineering - 1.4-8 - Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild * Fri Jun 08 2012 Petr Pisar - 1.4-7 - Perl 5.16 rebuild * Fri Jan 13 2012 Fedora Release Engineering - 1.4-6 - Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild * Wed Jun 15 2011 Marcela Mašláňová - 1.4-5 - Perl mass rebuild * Wed Feb 09 2011 Fedora Release Engineering - 1.4-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild * Wed Dec 22 2010 Marcela Maslanova - 1.4-3 - Rebuild to fix problems with vendorarch/lib (#661697) * Thu May 06 2010 Marcela Maslanova - 1.4-2 - Mass rebuild with perl-5.12.0 * Thu Jan 14 2010 Iain Arnell 1.4-1 - Specfile autogenerated by cpanspec 1.78