pghmcfc pushed to perltidy (perltidy-20150815-1.fc23). "Update to 20150815 (..more)"

notifications at fedoraproject.org notifications at fedoraproject.org
Sat Aug 15 18:41:01 UTC 2015


From 8ab018f6ecb8303bf80ea8031e2297acfbbcdd7b Mon Sep 17 00:00:00 2001
From: Paul Howarth <paul at city-fan.org>
Date: Sat, 15 Aug 2015 19:23:05 +0100
Subject: Update to 20150815

- New upstream release 20150815 (see CHANGES for details)
- Use %license where possible

diff --git a/perltidy-20130922-tmpnamdoc.patch b/perltidy-20130922-tmpnamdoc.patch
deleted file mode 100644
index 5ecea44..0000000
--- a/perltidy-20130922-tmpnamdoc.patch
+++ /dev/null
@@ -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
- 
diff --git a/perltidy.spec b/perltidy.spec
index b8a2820..b2e36a4 100644
--- a/perltidy.spec
+++ b/perltidy.spec
@@ -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 at 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 at lists.fedoraproject.org> - 20140711-4
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
 
diff --git a/sources b/sources
index 7031740..0a882fd 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-b11587646b2252fccec5750ab584036b  Perl-Tidy-20140711.tar.gz
+2db845ed25151dd86cf45dd7f72a3471  Perl-Tidy-20150815.tar.gz
-- 
cgit v0.10.2


	http://pkgs.fedoraproject.org/cgit/perltidy.git/commit/?h=perltidy-20150815-1.fc23&id=8ab018f6ecb8303bf80ea8031e2297acfbbcdd7b


More information about the perl-devel mailing list