Name: perl-Env-C Version: 0.15 Release: 16%{?dist} Summary: Get/set/unset environment variables on the C level License: GPL+ or Artistic URL: https://metacpan.org/release/Env-C Source0: https://cpan.metacpan.org/authors/id/M/MS/MSCHOUT/Env-C-%{version}.tar.gz # Obey to perl's PERL_USE_SAFE_PUTENV default Patch1: Env-C-0.14-Obey-to-perl-s-PERL_USE_SAFE_PUTENV-default.patch # Disable unreliable t/leak.t instead. ppc64 usually fails. # Patch2: Env-C-0.14-Skip-unreliable-t-leat.t-test.patch BuildRequires: findutils BuildRequires: gcc BuildRequires: make BuildRequires: perl-devel BuildRequires: perl-generators BuildRequires: perl-interpreter BuildRequires: perl(ExtUtils::MakeMaker) >= 6.76 BuildRequires: perl(strict) BuildRequires: perl(warnings) # Run-time BuildRequires: perl(DynaLoader) # Tests BuildRequires: perl(Test::More) Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version)) %description This module provides a Perl API for getenv(3), setenv(3) and unsetenv(3). It also can return all the environ variables. %prep %setup -q -n Env-C-%{version} %patch1 -p1 %patch2 -p1 %build perl Makefile.PL INSTALLDIRS=vendor OPTIMIZE="$RPM_OPT_FLAGS" NO_PACKLIST=1 make %{?_smp_mflags} %install make pure_install DESTDIR=$RPM_BUILD_ROOT find $RPM_BUILD_ROOT -type f -name '*.bs' -size 0 -delete %{_fixperms} $RPM_BUILD_ROOT/* %check make test %files %license LICENSE %doc Changes README %{perl_vendorarch}/auto/* %{perl_vendorarch}/Env* %{_mandir}/man3/* %changelog * Fri Jul 22 2022 Fedora Release Engineering - 0.15-16 - Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild * Mon May 30 2022 Jitka Plesnikova - 0.15-15 - Perl 5.36 rebuild * Fri Jan 21 2022 Fedora Release Engineering - 0.15-14 - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild * Thu Jul 22 2021 Fedora Release Engineering - 0.15-13 - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild * Fri May 21 2021 Jitka Plesnikova - 0.15-12 - Perl 5.34 rebuild * Wed Jan 27 2021 Fedora Release Engineering - 0.15-11 - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild * Tue Jul 28 2020 Fedora Release Engineering - 0.15-10 - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild * Mon Jun 22 2020 Jitka Plesnikova - 0.15-9 - Perl 5.32 rebuild * Wed Jan 29 2020 Fedora Release Engineering - 0.15-8 - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild * Fri Jul 26 2019 Fedora Release Engineering - 0.15-7 - Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild * Thu May 30 2019 Jitka Plesnikova - 0.15-6 - Perl 5.30 rebuild * Fri Feb 01 2019 Fedora Release Engineering - 0.15-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild * Fri Jul 13 2018 Fedora Release Engineering - 0.15-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild * Wed Jun 27 2018 Jitka Plesnikova - 0.15-3 - Perl 5.28 rebuild * Thu Feb 08 2018 Fedora Release Engineering - 0.15-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild * Mon Aug 14 2017 Jitka Plesnikova - 0.15-1 - 0.15 bump * Wed Aug 09 2017 Petr Pisar - 0.14-5 - Fix compiler warnings - Obey to perl's PERL_USE_SAFE_PUTENV default (bug #1465738) - Disable unreliable t/leak.t instead (bug #1465738) * Thu Aug 03 2017 Fedora Release Engineering - 0.14-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild * Thu Jul 27 2017 Fedora Release Engineering - 0.14-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild * Sun Jun 04 2017 Jitka Plesnikova - 0.14-2 - Perl 5.26 rebuild * Mon Apr 03 2017 Jitka Plesnikova - 0.14-1 - 0.14 bump * Sat Feb 11 2017 Fedora Release Engineering - 0.13-6 - Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild * Sat May 14 2016 Jitka Plesnikova - 0.13-5 - Perl 5.24 rebuild * Thu Feb 04 2016 Fedora Release Engineering - 0.13-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild * Thu Jun 18 2015 Fedora Release Engineering - 0.13-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild * Wed Jun 03 2015 Jitka Plesnikova - 0.13-2 - Perl 5.22 rebuild * Mon May 04 2015 Jitka Plesnikova - 0.13-1 - 0.13 bump * Tue Apr 21 2015 Jitka Plesnikova - 0.12-1 - Specfile autogenerated by cpanspec 1.78.