From 84c8ceda124d64dece0ce6f53dd5c5f55efa3919 Mon Sep 17 00:00:00 2001 From: CentOS Sources Date: Nov 04 2021 09:04:15 +0000 Subject: import perltidy-20210111-4.el9 --- diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..e7d6d6d --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +SOURCES/Perl-Tidy-20210111.tar.gz diff --git a/.perltidy.metadata b/.perltidy.metadata new file mode 100644 index 0000000..b70c402 --- /dev/null +++ b/.perltidy.metadata @@ -0,0 +1 @@ +c4447afab088652f1de3d5b22fd42c16d58f5815 SOURCES/Perl-Tidy-20210111.tar.gz diff --git a/SPECS/perltidy.spec b/SPECS/perltidy.spec new file mode 100644 index 0000000..13e4e20 --- /dev/null +++ b/SPECS/perltidy.spec @@ -0,0 +1,440 @@ +Name: perltidy +Version: 20210111 +Release: 4%{?dist} +Summary: Tool for indenting and re-formatting Perl scripts +License: GPLv2+ +URL: http://perltidy.sourceforge.net/ +Source0: https://cpan.metacpan.org/modules/by-module/Perl/Perl-Tidy-%{version}.tar.gz +BuildArch: noarch +# Module Build +BuildRequires: coreutils +BuildRequires: findutils +BuildRequires: make +BuildRequires: perl-generators +BuildRequires: perl-interpreter +BuildRequires: perl(ExtUtils::MakeMaker) +BuildRequires: sed +# Module Runtime +BuildRequires: perl(Carp) +BuildRequires: perl(constant) +BuildRequires: perl(Cwd) +BuildRequires: perl(Data::Dumper) +BuildRequires: perl(Digest::MD5) +BuildRequires: perl(Encode) +BuildRequires: perl(Exporter) +BuildRequires: perl(File::Basename) +BuildRequires: perl(File::Copy) +BuildRequires: perl(File::Spec) +BuildRequires: perl(File::Temp) +BuildRequires: perl(Getopt::Long) +BuildRequires: perl(HTML::Entities) +BuildRequires: perl(IO::File) +BuildRequires: perl(Pod::Html) +BuildRequires: perl(strict) +BuildRequires: perl(vars) +BuildRequires: perl(warnings) +# Test Suite +BuildRequires: perl(FindBin) +BuildRequires: perl(Test) +BuildRequires: perl(Test::More) +BuildRequires: perl(utf8) +# Runtime +Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version)) +Requires: perl(File::Spec) +Requires: perl(HTML::Entities) +Requires: perl(Pod::Html) +Provides: perl-Perl-Tidy = %{version}-%{release} + +%description +Perltidy is a Perl script that indents and re-formats Perl scripts to +make them easier to read. If you write Perl scripts, or spend much +time reading them, you will probably find it useful. The formatting +can be controlled with command line parameters. The default parameter +settings approximately follow the suggestions in the Perl Style Guide. +Perltidy can also output HTML of both POD and source code. Besides +re-formatting scripts, Perltidy can be a great help in tracking down +errors with missing or extra braces, parentheses, and square brackets +because it is very good at localizing errors. + +%prep +%setup -q -n Perl-Tidy-%{version} + +# Don't need Windows batch file +rm examples/pt.bat + +# Quieten complaints about missing files +sed -i -e '/^examples\/pt\.bat/d' MANIFEST + +# Remove unwanted exec permissions +find examples/ lib/ -type f -perm /a+x -exec chmod -c -x {} \; + +%build +perl Makefile.PL INSTALLDIRS=vendor +make %{?_smp_mflags} + +%install +make pure_install DESTDIR=%{buildroot} +find %{buildroot} -type f -name .packlist -delete +%{_fixperms} -c %{buildroot} + +%check +make test + +%files +%license COPYING +%doc BUGS.md CHANGES.md README.md docs/ examples/ +%{_bindir}/perltidy +%{perl_vendorlib}/Perl/ +%{_mandir}/man1/perltidy.1* +%{_mandir}/man3/Perl::Tidy.3* + +%changelog +* Mon Aug 09 2021 Mohan Boddu - 20210111-4 +- Rebuilt for IMA sigs, glibc 2.34, aarch64 flags + Related: rhbz#1991688 + +* Fri Apr 16 2021 Mohan Boddu - 20210111-3 +- Rebuilt for RHEL 9 BETA on Apr 15th 2021. Related: rhbz#1947937 + +* Wed Jan 27 2021 Fedora Release Engineering - 20210111-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild + +* Mon Jan 11 2021 Paul Howarth - 20210111-1 +- Update to 20210111 (see CHANGES.md for details) +- Use %%license unconditionally + +* Mon Dec 7 2020 Paul Howarth - 20201207-1 +- Update to 20201207 (see CHANGES.md for details) + +* Thu Dec 3 2020 Paul Howarth - 20201202-1 +- Update to 20201202 (see CHANGES.md for details) + +* Tue Sep 29 2020 Paul Howarth - 20201001-1 +- Update to 20201001 (see CHANGES.md for details) + +* Mon Sep 7 2020 Paul Howarth - 20200907-1 +- Update to 20200907 (see CHANGES.md for details) + +* Sat Aug 22 2020 Paul Howarth - 20200822-1 +- Update to 20200822 (see CHANGES.md for details) + +* Tue Jul 28 2020 Fedora Release Engineering - 20200619-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild + +* Tue Jun 23 2020 Jitka Plesnikova - 20200619-2 +- Perl 5.32 rebuild + +* Sat Jun 20 2020 Paul Howarth - 20200619-1 +- Update to 20200619 (see CHANGES.md for details) + +* Thu Jan 30 2020 Fedora Release Engineering - 20200110-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild + +* Fri Jan 10 2020 Paul Howarth - 20200110-1 +- Update to 20200110 (see CHANGES.md for details) + +* Tue Dec 3 2019 Paul Howarth - 20191203-1 +- Update to 20191203 (see CHANGES.md for details) + +* Sun Sep 15 2019 Paul Howarth - 20190915-1 +- Update to 20190915 (see CHANGES.md for details) + +* Fri Jul 26 2019 Fedora Release Engineering - 20190601-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild + +* Tue Jun 04 2019 Jitka Plesnikova - 20190601-2 +- Perl 5.30 re-rebuild updated packages + +* Mon Jun 3 2019 Paul Howarth - 20190601-1 +- Update to 20190601 (see CHANGES.md for details) + +* Fri May 31 2019 Jitka Plesnikova - 20181120-3 +- Perl 5.30 rebuild + +* Sat Feb 02 2019 Fedora Release Engineering - 20181120-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild + +* Mon Nov 19 2018 Paul Howarth - 20181120-1 +- Update to 20181120 (see CHANGES.md for details) +- Drop UTF-8 patch, no longer needed +- Text documentation converted to markdown upstream + +* Fri Jul 13 2018 Fedora Release Engineering - 20180220-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild + +* Thu Jun 28 2018 Jitka Plesnikova - 20180220-2 +- Perl 5.28 rebuild + +* Wed Feb 21 2018 Paul Howarth - 20180220-1 +- Update to 20180220 + - Fix index error causing perltidy to fail, resulting in empty files + (CPAN RT#124469, CPAN RT#124494) + +* Mon Feb 19 2018 Paul Howarth - 20180219-1 +- Update to 20180219 (see CHANGES for details) + +* Fri Feb 09 2018 Fedora Release Engineering - 20180101-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild + +* Mon Jan 1 2018 Paul Howarth - 20180101-1 +- Update to 20180101 (see CHANGES for details) + +* Fri Dec 15 2017 Paul Howarth - 20171214-1 +- Update to 20171214 (see CHANGES for details) + +* Thu Jul 27 2017 Fedora Release Engineering - 20170521-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild + +* Sun Jun 04 2017 Jitka Plesnikova - 20170521-2 +- Perl 5.26 rebuild + +* Mon May 22 2017 Paul Howarth - 20170521-1 +- Update to 20170521 + - Includes fix for CVE-2016-10374: Uses current working directory without + symlink-attack protection + - See CHANGES for details of other bug fixes and enhancements +- Simplify find command using -delete + +* Sat Feb 11 2017 Fedora Release Engineering - 20160302-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild + +* Sun May 15 2016 Jitka Plesnikova - 20160302-2 +- Perl 5.24 rebuild + +* Tue Mar 1 2016 Paul Howarth - 20160302-1 +- Update to 20160302 + - Corrected a minor problem in which an unwanted newline was placed before + the closing brace of an anonymous sub with a signature, if it was in a + list (CPAN RT#112534) + - Corrected a minor problem in which occasional extra indentation was given + to the closing brace of an anonymous sub in a list when the -lp parameter + was set + +* Mon Feb 29 2016 Paul Howarth - 20160301-1 +- Update to 20160301 (see CHANGES for details) + +* Thu Feb 04 2016 Fedora Release Engineering - 20150815-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild + +* Sat Aug 15 2015 Paul Howarth - 20150815-1 +- Update to 20150815 (see CHANGES for details) +- Use %%license where possible + +* Thu Jun 18 2015 Fedora Release Engineering - 20140711-4 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild + +* Wed Jun 03 2015 Jitka Plesnikova - 20140711-3 +- Perl 5.22 rebuild + +* Wed Aug 27 2014 Jitka Plesnikova - 20140711-2 +- Perl 5.20 rebuild + +* Mon Jul 14 2014 Paul Howarth - 20140711-1 +- Update to 20140711 (see CHANGES for details) + +* Sat Jun 07 2014 Fedora Release Engineering - 20140328-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild + +* Fri Mar 28 2014 Paul Howarth - 20140328-1 +- Update to 20140328 + - Fixed CPAN RT#94190 and debian Bug #742004: perltidy.LOG file left behind; + the problem was caused by the memoization speedup patch in version + 20121207: an unwanted flag was being set, which caused a LOG to be written + if perltidy was called multiple times + - New default behavior for LOG files: if the source is from an array or + string (through a call to the perltidy module) then a LOG output is only + possible if a logfile stream is specified; this is to prevent unexpected + perltidy.LOG files + - Fixed debian Bug #740670, insecure temporary file usage; File::Temp is now + used to get a temporary file (CVE-2014-2277) + - Any -b (--backup-and-modify-in-place) flag is silently ignored when a + source stream, destination stream, or standard output is used; this is + because the -b flag may have been in a .perltidyrc file and warnings break + Test::NoWarnings +- Drop upstreamed patch for CVE-2014-2277 +- Classify buildreqs by usage + +* Tue Mar 25 2014 Paul Howarth - 20130922-2 +- Cosmetic spec changes: + - Use tabs + - Comment patch applications + - Don't use macros for commands + - Use %%{buildroot} rather than $RPM_BUILD_ROOT +- Provide perl-Perl-Tidy for benefit of people looking for CPAN module +- Use a patch rather than scripted iconv run to fix character encoding +- BR: perl(Getopt::Long) +- Don't need to remove empty directories from the buildroot +- Use DESTDIR rather than PERL_INSTALL_ROOT + +* Wed Mar 12 2014 Ville Skyttä - 20130922-1 +- Update to 20130922. +- Fix for CVE-2014-2277 from Debian (#1074721) + related man page fix. +- Fix bogus date in %%changelog. + +* Sun Aug 04 2013 Fedora Release Engineering - 20121207-4 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild + +* Wed Jul 17 2013 Petr Pisar - 20121207-3 +- Perl 5.18 rebuild + +* Thu Feb 14 2013 Fedora Release Engineering - 20121207-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild + +* Tue Dec 11 2012 Ville Skyttä - 20121207-1 +- Update to 20121207. + +* Wed Aug 15 2012 Jitka Plesnikova - 20120714-3 +- Specify all dependencies. + +* Fri Jul 20 2012 Fedora Release Engineering - 20120714-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild + +* Mon Jul 16 2012 Ville Skyttä - 20120714-1 +- Update to 20120714. + +* Mon Jul 09 2012 Petr Pisar - 20120701-2 +- Perl 5.16 rebuild + +* Sat Jul 7 2012 Ville Skyttä - 20120701-1 +- Update to 20120701. + +* Thu Jun 28 2012 Petr Pisar - 20120619-2 +- Perl 5.16 rebuild + +* Wed Jun 20 2012 Ville Skyttä - 20120619-1 +- Update to 20120619. +- Clean up specfile constructs no longer needed in Fedora or EL6+. + +* Fri Jun 08 2012 Petr Pisar - 20101217-5 +- Perl 5.16 rebuild + +* Sat Jan 14 2012 Fedora Release Engineering - 20101217-4 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild + +* Fri Jun 17 2011 Marcela Mašláňová - 20101217-3 +- Perl mass rebuild + +* Wed Feb 09 2011 Fedora Release Engineering - 20101217-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild + +* Sun Dec 26 2010 Ville Skyttä - 20101217-1 +- Update to 20101217. + +* Fri May 07 2010 Marcela Maslanova - 20090616-4 +- Mass rebuild with perl-5.12.0 + +* Fri Dec 4 2009 Stepan Kasal - 20090616-3 +- rebuild against perl 5.10.1 + +* Sun Jul 26 2009 Fedora Release Engineering - 20090616-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild + +* Thu Jun 18 2009 Ville Skyttä - 20090616-1 +- Update to 20090616. + +* Thu Feb 26 2009 Fedora Release Engineering - 20071205-4 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild + +* Wed Feb 27 2008 Tom "spot" Callaway - 20071205-3 +- Rebuild for perl 5.10 (again) + +* Sun Jan 13 2008 Tom "spot" Callaway - 20071205-2 +- rebuild for new perl + +* Thu Dec 6 2007 Ville Skyttä - 20071205-1 +- 20071205. +- Convert docs to UTF-8. + +* Wed Aug 1 2007 Ville Skyttä - 20070801-1 +- 20070801. + +* Wed May 9 2007 Ville Skyttä - 20070508-1 +- 20070508. + +* Sat May 5 2007 Ville Skyttä - 20070504-1 +- 20070504. + +* Tue Apr 24 2007 Ville Skyttä - 20070424-1 +- 20070424. + +* Tue Apr 17 2007 Ville Skyttä - 20060719-3 +- BuildRequire perl(ExtUtils::MakeMaker). + +* Fri Sep 15 2006 Ville Skyttä - 20060719-2 +- Rebuild. + +* Thu Jul 20 2006 Ville Skyttä - 20060719-1 +- 20060719. +- Fix order of options to find(1) in %%install. + +* Thu Jun 15 2006 Ville Skyttä - 20060614-1 +- 20060614, specfile cleanups, include examples in docs. + +* Wed Apr 6 2005 Michael Schwendt +- rebuilt + +* Thu Dec 16 2004 Ville Skyttä - 0:20031021-1 +- Sync with fedora-rpmdevtools' Perl spec template to fix x86_64 build. +- Move version to the version field. + +* Wed Oct 22 2003 Ville Skyttä 0:0.0-0.fdr.3.20031021 +- Update to 20031021. + +* Sat Oct 11 2003 Ville Skyttä 0:0.0-0.fdr.3.20030726 +- Install into vendor dirs. +- Spec cleanups. + +* Tue Jul 29 2003 Ville Skyttä 0:0.0-0.fdr.2.20030726 +- Update to 20030726. +- Use fedora-rpm-helper. + +* Mon Jun 23 2003 Ville Skyttä 0:0.0-0.fdr.2.20021130 +- Address issues in #194: +- Patch to get rid of a warning on startup. +- Do defattr before doc. + +* Fri May 30 2003 Ville Skyttä 0:0.0-0.fdr.1.20021130 +- Fix release naming scheme (this is snapshot-only). + +* Wed May 7 2003 Ville Skyttä 0:0.0-0.fdr.0.2.20021130 +- Own dirs. +- Save .spec in UTF-8. + +* Mon Apr 21 2003 Ville Skyttä 0:0.0-0.fdr.0.1.20021130 +- First Fedora release, based on Simon Perreault's work. + +* Mon Mar 10 2003 Simon Perreault 20021130-2 +- Changed architecture from i386 to noarch +- Added my name as packager +- Bumped up release number, which was forgotten by Anthony Rumble + +* Sun Mar 09 2003 Anthony Rumble +- Tidied up RPM Source + +* Sun Dec 1 2002 Simon Perreault +- Update to 20021130 + +* Sat Nov 9 2002 Simon Perreault +- Update to 20021106 + +* Mon Sep 23 2002 Simon Perreault +- Update to 20020922 + +* Wed Aug 28 2002 Simon Perreault +- Update to 20020826 + +* Tue May 7 2002 Simon Perreault +- Require 5.6.1 because Tidy.pm is placed in a directory dependant on perl + version. + +* Sat Apr 27 2002 Simon Perreault +- Update to 20020425. + +* Wed Apr 17 2002 Simon Perreault +- Generalized spec file. Added some documentation. + +* Wed Apr 17 2002 Simon Perreault +- Upgraded to version 20020416 + +* Mon Feb 25 2002 Simon Perreault +- Spec file was created on release of 20020225