Name: perl-Filesys-Df Version: 0.92 Release: 51%{?dist} Summary: Perl extension for filesystem disk space information License: GPL+ or Artistic URL: https://metacpan.org/release/Filesys-Df Source0: https://cpan.metacpan.org/modules/by-module/Filesys/Filesys-Df-%{version}.tar.gz # Fix a test plan, CPAN RT#140742, proposed to the upstream Patch0: Filesys-Df-0.92-Fix-test-plan.patch BuildRequires: coreutils BuildRequires: findutils BuildRequires: gcc BuildRequires: make BuildRequires: perl-devel BuildRequires: perl-generators BuildRequires: perl-interpreter BuildRequires: perl(Config) BuildRequires: perl(ExtUtils::MakeMaker) >= 6.76 # Run-time: BuildRequires: perl(:VERSION) >= 5.6 BuildRequires: perl(Carp) BuildRequires: perl(DynaLoader) BuildRequires: perl(Exporter) BuildRequires: perl(strict) BuildRequires: perl(vars) %description This module provides a way to obtain filesystem disk space information. This is a Unix only distribution. If you want to gather this information for Unix and Windows, use Filesys::DfPortable. The only major benefit of using Filesys::Df over Filesys::DfPortable, is that Filesys::Df supports the use of open file handles as arguments. %package tests Summary: Tests for %{name} BuildArch: noarch Requires: %{name} = %{?epoch:%{epoch}:}%{version}-%{release} Requires: perl-Test-Harness %description tests Tests from %{name}. Execute them with "%{_libexecdir}/%{name}/test". %prep %autosetup -p1 -n Filesys-Df-%{version} #readme is with dos EOL, convert it to unix perl -i -pe 's/\r//' README %build perl Makefile.PL INSTALLDIRS=vendor NO_PACKLIST=1 NO_PERLLOCAL=1 %{make_build} %install %{make_install} find %{buildroot} -type f -name '*.bs' -empty -delete %{_fixperms} %{buildroot}/* # Install tests mkdir -p %{buildroot}%{_libexecdir}/%{name} cp -a test.pl %{buildroot}%{_libexecdir}/%{name} cat > %{buildroot}%{_libexecdir}/%{name}/test << 'EOF' #!/bin/sh cd %{_libexecdir}/%{name} && exec prove -I . test.pl EOF chmod +x %{buildroot}%{_libexecdir}/%{name}/test %check make test %files %doc Changes README %{perl_vendorarch}/* %{_mandir}/man3/* %files tests %{_libexecdir}/%{name} %changelog * Thu Jan 25 2024 Fedora Release Engineering - 0.92-51 - Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild * Sun Jan 21 2024 Fedora Release Engineering - 0.92-50 - Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild * Thu Jul 20 2023 Fedora Release Engineering - 0.92-49 - Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild * Tue Jul 11 2023 Jitka Plesnikova - 0.92-48 - Perl 5.38 rebuild * Fri Jan 20 2023 Fedora Release Engineering - 0.92-47 - Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild * Fri Jul 22 2022 Fedora Release Engineering - 0.92-46 - Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild * Mon May 30 2022 Jitka Plesnikova - 0.92-45 - Perl 5.36 rebuild * Fri Jan 21 2022 Fedora Release Engineering - 0.92-44 - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild * Mon Jan 17 2022 Petr Pisar - 0.92-43 - Package the tests * Thu Jul 22 2021 Fedora Release Engineering - 0.92-42 - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild * Fri May 21 2021 Jitka Plesnikova - 0.92-41 - Perl 5.34 rebuild * Wed Jan 27 2021 Fedora Release Engineering - 0.92-40 - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild * Tue Jul 28 2020 Fedora Release Engineering - 0.92-39 - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild * Mon Jun 22 2020 Jitka Plesnikova - 0.92-38 - Perl 5.32 rebuild * Thu Jan 30 2020 Fedora Release Engineering - 0.92-37 - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild * Mon Jan 06 2020 Petr Pisar - 0.92-36 - Specify all dependencies * Fri Jul 26 2019 Fedora Release Engineering - 0.92-35 - Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild * Thu May 30 2019 Jitka Plesnikova - 0.92-34 - Perl 5.30 rebuild * Fri Feb 01 2019 Fedora Release Engineering - 0.92-33 - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild * Fri Jul 13 2018 Fedora Release Engineering - 0.92-32 - Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild * Wed Jun 27 2018 Jitka Plesnikova - 0.92-31 - Perl 5.28 rebuild * Mon Feb 19 2018 Miroslav Suchy - 0.92-30 - add BR gcc * Thu Feb 08 2018 Fedora Release Engineering - 0.92-29 - Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild * Thu Aug 03 2017 Fedora Release Engineering - 0.92-28 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild * Thu Jul 27 2017 Fedora Release Engineering - 0.92-27 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild * Sun Jun 04 2017 Jitka Plesnikova - 0.92-26 - Perl 5.26 rebuild * Sat Feb 11 2017 Fedora Release Engineering - 0.92-25 - Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild * Sun May 15 2016 Jitka Plesnikova - 0.92-24 - Perl 5.24 rebuild * Thu Feb 04 2016 Fedora Release Engineering - 0.92-23 - Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild * Thu Jun 18 2015 Fedora Release Engineering - 0.92-22 - Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild * Wed Jun 03 2015 Jitka Plesnikova - 0.92-21 - Perl 5.22 rebuild * Thu Feb 19 2015 Miroslav Suchy - 0.92-20 - modernize spec file * Wed Aug 27 2014 Jitka Plesnikova - 0.92-19 - Perl 5.20 rebuild * Sun Aug 17 2014 Fedora Release Engineering - 0.92-18 - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild * Sat Jun 07 2014 Fedora Release Engineering - 0.92-17 - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild * Sat Aug 03 2013 Fedora Release Engineering - 0.92-16 - Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild * Wed Jul 17 2013 Petr Pisar - 0.92-15 - Perl 5.18 rebuild * Thu Feb 14 2013 Fedora Release Engineering - 0.92-14 - Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild * Fri Jul 20 2012 Fedora Release Engineering - 0.92-13 - Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild * Sun Jun 10 2012 Petr Pisar - 0.92-12 - Perl 5.16 rebuild * Fri Jan 13 2012 Fedora Release Engineering - 0.92-11 - Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild * Fri Jun 17 2011 Marcela Mašláňová - 0.92-10 - Perl mass rebuild * Tue Feb 08 2011 Fedora Release Engineering - 0.92-9 - Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild * Thu Dec 16 2010 Marcela Maslanova - 0.92-8 - 661697 rebuild for fixing problems with vendorach/lib * Sat May 01 2010 Marcela Maslanova - 0.92-7 - Mass rebuild with perl-5.12.0 * Mon Dec 7 2009 Stepan Kasal - 0.92-6 - rebuild against perl 5.10.1 * Sat Jul 25 2009 Fedora Release Engineering - 0.92-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild * Thu Feb 26 2009 Fedora Release Engineering - 0.92-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild * Wed Jul 30 2008 Miroslav Suchy 0.92-3 - Add build dependency on MakeMaker * Thu Jul 24 2008 Miroslav Suchy 0.92-2 - fixed README end of lines. - remove zero sized *.bs files. * Tue Jul 15 2008 Miroslav Suchy 0.92-1 - Specfile autogenerated by cpanspec 1.77.