From 1a370bef66ac3358970205aa8624f39bde652ed5 Mon Sep 17 00:00:00 2001 From: CentOS Sources Date: Tue, 17 May 2022 07:00:01 -0400 Subject: [PATCH] import perl-File-chdir-0.1011-16.el9 --- .gitignore | 1 + .perl-File-chdir.metadata | 1 + SPECS/perl-File-chdir.spec | 207 +++++++++++++++++++++++++++++++++++++ 3 files changed, 209 insertions(+) create mode 100644 .gitignore create mode 100644 .perl-File-chdir.metadata create mode 100644 SPECS/perl-File-chdir.spec diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..f9f2e4c --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +SOURCES/File-chdir-0.1011.tar.gz diff --git a/.perl-File-chdir.metadata b/.perl-File-chdir.metadata new file mode 100644 index 0000000..1586fae --- /dev/null +++ b/.perl-File-chdir.metadata @@ -0,0 +1 @@ +5f1a64eda002651ec2e072850ab973d75432b490 SOURCES/File-chdir-0.1011.tar.gz diff --git a/SPECS/perl-File-chdir.spec b/SPECS/perl-File-chdir.spec new file mode 100644 index 0000000..f2c4ef1 --- /dev/null +++ b/SPECS/perl-File-chdir.spec @@ -0,0 +1,207 @@ +Name: perl-File-chdir +Version: 0.1011 +Release: 16%{?dist} +Summary: A more sensible way to change directories +License: GPL+ or Artistic +URL: https://metacpan.org/release/File-chdir +Source0: https://cpan.metacpan.org/authors/id/D/DA/DAGOLDEN/File-chdir-%{version}.tar.gz +BuildArch: noarch +# Module Build +BuildRequires: coreutils +BuildRequires: make +BuildRequires: perl-interpreter +BuildRequires: perl-generators +BuildRequires: perl(ExtUtils::MakeMaker) >= 6.76 +BuildRequires: perl(warnings) +# Module Runtime +BuildRequires: perl(Carp) +BuildRequires: perl(Cwd) >= 3.16 +BuildRequires: perl(Exporter) +BuildRequires: perl(File::Spec::Functions) >= 3.27 +BuildRequires: perl(strict) +BuildRequires: perl(vars) +# Test Suite +BuildRequires: perl(File::Spec) +BuildRequires: perl(Test::More) +# Optional Tests +BuildRequires: perl(CPAN::Meta) >= 2.120900 +# Dependencies +Requires: perl(:MODULE_COMPAT_%(eval "$(perl -V:version)"; echo $version)) + +%description +Perl's chdir() has the unfortunate problem of being very, very, very +global. If any part of your program calls chdir() or if any library you +use calls chdir(), it changes the current working directory for the +whole program. + +This is not good. + +File::chdir gives you an alternative, $CWD and @CWD. These two variables +combine all the power of chdir(), File::Spec and Cwd. + +%prep +%setup -q -n File-chdir-%{version} + +%build +perl Makefile.PL INSTALLDIRS=vendor NO_PACKLIST=1 NO_PERLLOCAL=1 +make %{?_smp_mflags} + +%install +make install DESTDIR=%{buildroot} +%{_fixperms} %{buildroot} + +%check +make test + +%files +%license LICENSE +%doc Changes CONTRIBUTING.mkdn README +%{perl_vendorlib}/File/ +%{_mandir}/man3/File::chdir.3* + +%changelog +* Mon Aug 09 2021 Mohan Boddu - 0.1011-16 +- Rebuilt for IMA sigs, glibc 2.34, aarch64 flags + Related: rhbz#1991688 + +* Fri Apr 16 2021 Mohan Boddu - 0.1011-15 +- Rebuilt for RHEL 9 BETA on Apr 15th 2021. Related: rhbz#1947937 + +* Wed Jan 27 2021 Fedora Release Engineering - 0.1011-14 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild + +* Tue Jul 28 2020 Fedora Release Engineering - 0.1011-13 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild + +* Mon Jun 22 2020 Jitka Plesnikova - 0.1011-12 +- Perl 5.32 rebuild + +* Thu Jan 30 2020 Fedora Release Engineering - 0.1011-11 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild + +* Fri Jul 26 2019 Fedora Release Engineering - 0.1011-10 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild + +* Thu May 30 2019 Jitka Plesnikova - 0.1011-9 +- Perl 5.30 rebuild + +* Fri Feb 01 2019 Fedora Release Engineering - 0.1011-8 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild + +* Fri Jul 13 2018 Fedora Release Engineering - 0.1011-7 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild + +* Thu Jun 28 2018 Jitka Plesnikova - 0.1011-6 +- Perl 5.28 rebuild + +* Thu Feb 08 2018 Fedora Release Engineering - 0.1011-5 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild + +* Thu Jul 27 2017 Fedora Release Engineering - 0.1011-4 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild + +* Sun Jun 04 2017 Jitka Plesnikova - 0.1011-3 +- Perl 5.26 rebuild + +* Sat Feb 11 2017 Fedora Release Engineering - 0.1011-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild + +* Mon Oct 10 2016 Paul Howarth - 0.1011-1 +- Update to 0.1011 + - Fixed POD typos +- Package CONTRIBUTING.mkdn +- Update to working source URL, unfortunately author-specific +- Drop redundant Group: tag +- Expand %%description +- Make %%files list more explicit + +* Sat May 14 2016 Jitka Plesnikova - 0.1010-5 +- Perl 5.24 rebuild + +* Thu Feb 04 2016 Fedora Release Engineering - 0.1010-4 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild + +* Thu Jun 18 2015 Fedora Release Engineering - 0.1010-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild + +* Wed Jun 03 2015 Jitka Plesnikova - 0.1010-2 +- Perl 5.22 rebuild + +* Mon Feb 09 2015 Petr Šabata - 0.1010-1 +- 0.1010 bump, metadata changes only + +* Fri Sep 26 2014 Petr Šabata - 0.1009-1 +- 0.1009 bump, no code changes + +* Wed Aug 27 2014 Jitka Plesnikova - 0.1008-6 +- Perl 5.20 rebuild + +* Sat Jun 07 2014 Fedora Release Engineering - 0.1008-5 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild + +* Sat Aug 03 2013 Fedora Release Engineering - 0.1008-4 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild + +* Thu Jul 18 2013 Petr Pisar - 0.1008-3 +- Perl 5.18 rebuild + +* Thu Feb 14 2013 Fedora Release Engineering - 0.1008-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild + +* Mon Dec 03 2012 Petr Šabata - 0.1008-1 +- 0.1008 bump + +* Wed Sep 19 2012 Petr Pisar - 0.1007-1 +- 0.1007 bump + +* Fri Jul 20 2012 Fedora Release Engineering - 0.1006-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild + +* Mon Jun 11 2012 Petr Pisar - 0.1006-2 +- Perl 5.16 rebuild + +* Wed Jan 11 2012 Petr Šabata - 0.1006-1 +- 0.1006 bump + +* Sat Jun 18 2011 Iain Arnell 0.1003-1 +- update to latest upstream version +- clean up spec for modern rpmbuild + +* Fri Jun 17 2011 Marcela Mašláňová - 0.09-10 +- Perl mass rebuild + +* Tue Feb 08 2011 Fedora Release Engineering - 0.09-9 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild + +* Thu Dec 16 2010 Marcela Maslanova - 0.09-8 +- 661697 rebuild for fixing problems with vendorach/lib + +* Sat May 01 2010 Marcela Maslanova - 0.09-7 +- Mass rebuild with perl-5.12.0 + +* Fri Apr 30 2010 Marcela Maslanova - 0.09-6 +- Mass rebuild with perl-5.12.0 + +* Mon Dec 7 2009 Stepan Kasal - 0.09-5 +- rebuild against perl 5.10.1 + +* Sat Jul 25 2009 Fedora Release Engineering - 0.09-4 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild + +* Thu Feb 26 2009 Fedora Release Engineering - 0.09-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild + +* Wed Mar 5 2008 Tom "spot" Callaway - 0.09-2 +- rebuild for new perl + +* Thu Jan 17 2008 Ian Burrell - 0.09-1 +- Update to 0.09 + +* Thu Aug 16 2007 Ian M. Burrell - 0.06-3 +- Fix BuildRequires + +* Tue Jun 27 2006 Ian M. Burrell - 0.06-2 +- Fix rpmlint warnings + +* Thu Mar 30 2006 Ian Burrell 0.06-1 +- Specfile autogenerated by cpanspec 1.64.