Compare commits

..

No commits in common. 'f38' and 'i8c' have entirely different histories.
f38 ... i8c

2
.gitignore vendored

@ -1 +1 @@
/*.tar.* SOURCES/Perl-Tidy-20180220.tar.gz

@ -0,0 +1 @@
2c207a76b69cc3ecf73b6e4a9583e3c745585fd3 SOURCES/Perl-Tidy-20180220.tar.gz

@ -0,0 +1,19 @@
--- CHANGES
+++ CHANGES
@@ -1548,14 +1548,14 @@ Perltidy Change Log
closing side comments (-csc) could have incorrect text. This is
annoying but will be correct the next time perltidy is run with -csc.
- -Implemented XHTML patch submitted by Ville Skyttä.
+ -Implemented XHTML patch submitted by Ville Skyttä.
-Fixed bug where whitespace was being removed between 'Bar' and '()'
in a use statement like:
use Foo::Bar ();
- Thanks to Ville Skyttä for reporting this.
+ Thanks to Ville Skyttä for reporting this.
-Whenever possible, if a logical expression is broken with leading
'&&', '||', 'and', or 'or', then the leading line will be padded

@ -1,10 +1,11 @@
Name: perltidy Name: perltidy
Version: 20230309 Version: 20180220
Release: 1%{?dist} Release: 1%{?dist}
Summary: Tool for indenting and re-formatting Perl scripts Summary: Tool for indenting and re-formatting Perl scripts
License: GPL-2.0-or-later License: GPLv2+
URL: http://perltidy.sourceforge.net/ URL: http://perltidy.sourceforge.net/
Source0: https://cpan.metacpan.org/modules/by-module/Perl/Perl-Tidy-%{version}.tar.gz Source0: http://www.cpan.org/modules/by-module/Perl/Perl-Tidy-%{version}.tar.gz
Patch0: Perl-Tidy-utf8.patch
BuildArch: noarch BuildArch: noarch
# Module Build # Module Build
BuildRequires: coreutils BuildRequires: coreutils
@ -19,39 +20,26 @@ BuildRequires: perl(Carp)
BuildRequires: perl(constant) BuildRequires: perl(constant)
BuildRequires: perl(Cwd) BuildRequires: perl(Cwd)
BuildRequires: perl(Data::Dumper) BuildRequires: perl(Data::Dumper)
BuildRequires: perl(Digest::MD5)
BuildRequires: perl(Encode) BuildRequires: perl(Encode)
BuildRequires: perl(English)
BuildRequires: perl(Exporter) BuildRequires: perl(Exporter)
BuildRequires: perl(File::Basename) BuildRequires: perl(File::Basename)
BuildRequires: perl(File::Copy) BuildRequires: perl(File::Copy)
BuildRequires: perl(File::Spec) BuildRequires: perl(File::Spec)
BuildRequires: perl(File::Temp) BuildRequires: perl(File::Temp)
BuildRequires: perl(Getopt::Long) BuildRequires: perl(Getopt::Long)
BuildRequires: perl(HTML::Entities)
BuildRequires: perl(IO::File) BuildRequires: perl(IO::File)
BuildRequires: perl(List::Util)
BuildRequires: perl(Pod::Html)
BuildRequires: perl(strict) BuildRequires: perl(strict)
BuildRequires: perl(vars) BuildRequires: perl(vars)
BuildRequires: perl(warnings) BuildRequires: perl(warnings)
# Test Suite # Test Suite
BuildRequires: perl(FindBin) BuildRequires: perl(FindBin)
BuildRequires: perl(Test) BuildRequires: perl(Test)
BuildRequires: perl(Test::More)
BuildRequires: perl(utf8) BuildRequires: perl(utf8)
# Runtime # Runtime
Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
Requires: perl(File::Spec) Requires: perl(File::Spec)
Requires: perl(HTML::Entities)
Requires: perl(Pod::Html)
Provides: perl-Perl-Tidy = %{version}-%{release} Provides: perl-Perl-Tidy = %{version}-%{release}
# EL-7's dependency generator picks up things from documentation that it shouldn't do,
# though strangely the one in F-19 does not, despite both being rpm 4.11.3
%if 0%{?el7}
%global __requires_exclude ^perl[(]([*]?[{}]|[)])?[)]
%endif
%description %description
Perltidy is a Perl script that indents and re-formats Perl scripts to 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 make them easier to read. If you write Perl scripts, or spend much
@ -66,11 +54,17 @@ because it is very good at localizing errors.
%prep %prep
%setup -q -n Perl-Tidy-%{version} %setup -q -n Perl-Tidy-%{version}
# Re-format documentation as UTF-8
%patch0
# Don't need Windows batch file # Don't need Windows batch file
rm examples/pt.bat rm examples/pt.bat
# We'll ship the perltidy manpage in %%{_mandir} so we don't need another copy
rm docs/perltidy.1
# Quieten complaints about missing files # Quieten complaints about missing files
sed -i -e '/^examples\/pt\.bat/d' MANIFEST sed -i -e '/^examples\/pt\.bat/d; /^docs\/perltidy\.1/d' MANIFEST
# Remove unwanted exec permissions # Remove unwanted exec permissions
find examples/ lib/ -type f -perm /a+x -exec chmod -c -x {} \; find examples/ lib/ -type f -perm /a+x -exec chmod -c -x {} \;
@ -88,133 +82,20 @@ find %{buildroot} -type f -name .packlist -delete
make test make test
%files %files
%if 0%{?_licensedir:1}
%license COPYING %license COPYING
%doc BUGS.md CHANGES.md README.md docs/ examples/ %else
%doc COPYING
%endif
%doc BUGS CHANGES README TODO docs/ examples/
%{_bindir}/perltidy %{_bindir}/perltidy
%{perl_vendorlib}/Perl/ %{perl_vendorlib}/Perl/
%{_mandir}/man1/perltidy.1* %{_mandir}/man1/perltidy.1*
%{_mandir}/man3/Perl::Tidy.3* %{_mandir}/man3/Perl::Tidy.3*
%changelog %changelog
* Thu Mar 9 2023 Paul Howarth <paul@city-fan.org> - 20230309-1 * Thu Dec 07 2023 MSVSphere Packaging Team <packager@msvsphere-os.ru> - 20180220-1
- Update to 20230309 (see CHANGES.md for details) (rhbz#2176557) - Rebuilt for MSVSphere 8.8
* Fri Jan 20 2023 Fedora Release Engineering <releng@fedoraproject.org> - 20221112-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
* Fri Nov 11 2022 Paul Howarth <paul@city-fan.org> - 20221112-1
- Update to 20221112 (rhbz#2142076)
- Fix undef warning in Perl before 5.12 (CPAN RT#145095)
* Thu Nov 10 2022 Paul Howarth <paul@city-fan.org> - 20221111-1
- Update to 20221111 (see CHANGES.md for details) (rhbz#2141765)
- Use SPDX-format license tag
* Fri Jul 22 2022 Fedora Release Engineering <releng@fedoraproject.org> - 20220613-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
* Mon Jun 13 2022 Paul Howarth <paul@city-fan.org> - 20220613-1
- Update to 20220613 (see CHANGES.md for details)
* Tue May 31 2022 Jitka Plesnikova <jplesnik@redhat.com> - 20220217-2
- Perl 5.36 rebuild
* Tue Feb 15 2022 Paul Howarth <paul@city-fan.org> - 20220217-1
- Update to 20220217 (see CHANGES.md for details)
* Tue Feb 15 2022 Paul Howarth <paul@city-fan.org> - 20220215-1
- Update to 20220215 (see CHANGES.md for details)
- Add workaround for bogus dependencies generated on EL-7
* Fri Jan 21 2022 Fedora Release Engineering <releng@fedoraproject.org> - 20211029-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
* Fri Oct 29 2021 Paul Howarth <paul@city-fan.org> - 20211029-1
- Update to 20211029 (see CHANGES.md for details)
* Fri Jul 23 2021 Fedora Release Engineering <releng@fedoraproject.org> - 20210717-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
* Sat Jul 17 2021 Paul Howarth <paul@city-fan.org> - 20210717-1
- Update to 20210717 (see CHANGES.md for details)
* Thu Jun 24 2021 Paul Howarth <paul@city-fan.org> - 20210625-1
- Update to 20210625 (see CHANGES.md for details)
* Fri May 21 2021 Jitka Plesnikova <jplesnik@redhat.com> - 20210402-2
- Perl 5.34 rebuild
* Thu Apr 1 2021 Paul Howarth <paul@city-fan.org> - 20210402-1
- Update to 20210402 (see CHANGES.md for details)
* Wed Jan 27 2021 Fedora Release Engineering <releng@fedoraproject.org> - 20210111-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
* Mon Jan 11 2021 Paul Howarth <paul@city-fan.org> - 20210111-1
- Update to 20210111 (see CHANGES.md for details)
- Use %%license unconditionally
* Mon Dec 7 2020 Paul Howarth <paul@city-fan.org> - 20201207-1
- Update to 20201207 (see CHANGES.md for details)
* Thu Dec 3 2020 Paul Howarth <paul@city-fan.org> - 20201202-1
- Update to 20201202 (see CHANGES.md for details)
* Tue Sep 29 2020 Paul Howarth <paul@city-fan.org> - 20201001-1
- Update to 20201001 (see CHANGES.md for details)
* Mon Sep 7 2020 Paul Howarth <paul@city-fan.org> - 20200907-1
- Update to 20200907 (see CHANGES.md for details)
* Sat Aug 22 2020 Paul Howarth <paul@city-fan.org> - 20200822-1
- Update to 20200822 (see CHANGES.md for details)
* Tue Jul 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 20200619-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
* Tue Jun 23 2020 Jitka Plesnikova <jplesnik@redhat.com> - 20200619-2
- Perl 5.32 rebuild
* Sat Jun 20 2020 Paul Howarth <paul@city-fan.org> - 20200619-1
- Update to 20200619 (see CHANGES.md for details)
* Thu Jan 30 2020 Fedora Release Engineering <releng@fedoraproject.org> - 20200110-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
* Fri Jan 10 2020 Paul Howarth <paul@city-fan.org> - 20200110-1
- Update to 20200110 (see CHANGES.md for details)
* Tue Dec 3 2019 Paul Howarth <paul@city-fan.org> - 20191203-1
- Update to 20191203 (see CHANGES.md for details)
* Sun Sep 15 2019 Paul Howarth <paul@city-fan.org> - 20190915-1
- Update to 20190915 (see CHANGES.md for details)
* Fri Jul 26 2019 Fedora Release Engineering <releng@fedoraproject.org> - 20190601-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
* Tue Jun 04 2019 Jitka Plesnikova <jplesnik@redhat.com> - 20190601-2
- Perl 5.30 re-rebuild updated packages
* Mon Jun 3 2019 Paul Howarth <paul@city-fan.org> - 20190601-1
- Update to 20190601 (see CHANGES.md for details)
* Fri May 31 2019 Jitka Plesnikova <jplesnik@redhat.com> - 20181120-3
- Perl 5.30 rebuild
* Sat Feb 02 2019 Fedora Release Engineering <releng@fedoraproject.org> - 20181120-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
* Mon Nov 19 2018 Paul Howarth <paul@city-fan.org> - 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 <releng@fedoraproject.org> - 20180220-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
* Thu Jun 28 2018 Jitka Plesnikova <jplesnik@redhat.com> - 20180220-2
- Perl 5.28 rebuild
* Wed Feb 21 2018 Paul Howarth <paul@city-fan.org> - 20180220-1 * Wed Feb 21 2018 Paul Howarth <paul@city-fan.org> - 20180220-1
- Update to 20180220 - Update to 20180220

@ -1 +0,0 @@
SHA512 (Perl-Tidy-20230309.tar.gz) = 5b29b10fe758a59e13126b4b050c2f82c82e925cc99f832c47ba6393014d42b10d963630aa98e590dda5cccfaca4810c8244cbb48ddde975a30781061414b034
Loading…
Cancel
Save