Update to 20150815

- New upstream release 20150815 (see CHANGES for details)
- Use %license where possible
This commit is contained in:
Paul Howarth 2015-08-15 19:23:05 +01:00
parent 585008b9cf
commit 8ab018f6ec
3 changed files with 18 additions and 19 deletions

View File

@ -1,15 +0,0 @@
diff -up Perl-Tidy-20130922/bin/perltidy~ Perl-Tidy-20130922/bin/perltidy
--- Perl-Tidy-20130922/bin/perltidy~ 2013-09-22 17:43:35.000000000 +0300
+++ Perl-Tidy-20130922/bin/perltidy 2014-03-12 23:01:08.164606065 +0200
@@ -3060,9 +3060,8 @@ in any way. And, of course, it does not
=item Temporary files
Under the -html option with the default --pod2html flag, a temporary file is
-required to pass text to Pod::Html. Unix systems will try to use the POSIX
-tmpnam() function. Otherwise the file F<perltidy.TMP> will be temporarily
-created in the current working directory.
+required to pass text to Pod::Html. The temporary file is created using
+File::Temp::tempfile().
=item Special files when standard input is used

View File

@ -1,6 +1,6 @@
Name: perltidy
Version: 20140711
Release: 4%{?dist}
Version: 20150815
Release: 1%{?dist}
Summary: Tool for indenting and re-formatting Perl scripts
License: GPLv2+
URL: http://perltidy.sourceforge.net/
@ -8,6 +8,9 @@ Source0: http://www.cpan.org/modules/by-module/Perl/Perl-Tidy-%{version}.tar.gz
Patch0: Perl-Tidy-utf8.patch
BuildArch: noarch
# Module Build
BuildRequires: coreutils
BuildRequires: findutils
BuildRequires: make
BuildRequires: perl
BuildRequires: perl(ExtUtils::MakeMaker)
# Module Runtime
@ -24,7 +27,9 @@ BuildRequires: perl(IO::File)
BuildRequires: perl(strict)
BuildRequires: perl(vars)
# Test Suite
BuildRequires: perl(FindBin)
BuildRequires: perl(Test)
BuildRequires: perl(utf8)
# Runtime
Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
Requires: perl(File::Spec)
@ -66,13 +71,22 @@ find %{buildroot} -type f -name .packlist -exec rm -f {} ';'
make test
%files
%doc BUGS CHANGES COPYING README TODO docs/ examples/
%if 0%{?_licensedir:1}
%license COPYING
%else
%doc COPYING
%endif
%doc BUGS CHANGES README TODO docs/ examples/
%{_bindir}/perltidy
%{perl_vendorlib}/Perl/
%{_mandir}/man1/perltidy.1*
%{_mandir}/man3/Perl::Tidy.3*
%changelog
* Sat Aug 15 2015 Paul Howarth <paul@city-fan.org> - 20150815-1
- Update to 20150815 (see CHANGES for details)
- Use %%license where possible
* Thu Jun 18 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 20140711-4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild

View File

@ -1 +1 @@
b11587646b2252fccec5750ab584036b Perl-Tidy-20140711.tar.gz
2db845ed25151dd86cf45dd7f72a3471 Perl-Tidy-20150815.tar.gz