[packages/perltidy] - updated to 20181119
adamg
adamg at pld-linux.org
Mon Nov 19 14:01:37 CET 2018
commit da73987f1eed61f2e1ecd0447fa48a9586e9f809
Author: Adam Gołębiowski <adamg at pld-linux.org>
Date: Mon Nov 19 14:01:29 2018 +0100
- updated to 20181119
perltidy-makefile.patch | 10 ++++++++++
perltidy.spec | 10 +++++++---
2 files changed, 17 insertions(+), 3 deletions(-)
---
diff --git a/perltidy.spec b/perltidy.spec
index c13cff3..55c68cf 100644
--- a/perltidy.spec
+++ b/perltidy.spec
@@ -8,12 +8,13 @@
Summary: Perltidy - a tool to indent and reformat Perl scripts
Summary(pl.UTF-8): Perltidy - narzędzie do reformatowania skryptów Perla
Name: perltidy
-Version: 20180220
+Version: 20181119
Release: 1
License: GPL v2+
Group: Development/Tools
Source0: http://www.cpan.org/modules/by-module/Perl/%{pdir}-%{pnam}-%{version}.tar.gz
-# Source0-md5: 1b2397646622f748b2c533dcac274587
+# Source0-md5: 6503132f8ef74ddf54cbe69e1d9f2f47
+Patch0: %{name}-makefile.patch
URL: http://perltidy.sourceforge.net/
BuildRequires: perl-devel >= 1:5.8.0
BuildRequires: rpm-perlprov >= 4.1-13
@@ -30,6 +31,7 @@ zreformatowanej, z wcięciami.
%prep
%setup -q -n %{pdir}-%{pnam}-%{version}
+%patch0 -p1
%build
%{__perl} Makefile.PL \
@@ -55,11 +57,13 @@ rm -rf $RPM_BUILD_ROOT
%files
%defattr(644,root,root,755)
-%doc BUGS CHANGES README TODO
+%doc BUGS.md CHANGES.md COPYING INSTALL.md README.md
%attr(755,root,root) %{_bindir}/perltidy
%{perl_vendorlib}/Perl/Tidy.pm
%{_mandir}/man1/perltidy.1p*
%{_mandir}/man3/Perl::Tidy.3pm*
+%{_mandir}/man3/Perl::Tidy::Formatter.3pm*
+%{perl_vendorlib}/Perl/Tidy
%dir %{_examplesdir}/%{name}-%{version}
%{_examplesdir}/%{name}-%{version}/README.gz
%{_examplesdir}/%{name}-%{version}/filter_example.in
diff --git a/perltidy-makefile.patch b/perltidy-makefile.patch
new file mode 100644
index 0000000..2df8f60
--- /dev/null
+++ b/perltidy-makefile.patch
@@ -0,0 +1,10 @@
+--- Perl-Tidy-20181119/Makefile.PL~ 2018-03-31 16:23:13.000000000 +0200
++++ Perl-Tidy-20181119/Makefile.PL 2018-11-19 13:48:53.518265642 +0100
+@@ -12,6 +12,6 @@
+ : ()
+ ),
+
+- #EXE_FILES => ['bin/perltidy'],
++ EXE_FILES => ['bin/perltidy'],
+ dist => { COMPRESS => 'gzip', SUFFIX => 'gz' },
+ );
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/perltidy.git/commitdiff/da73987f1eed61f2e1ecd0447fa48a9586e9f809
More information about the pld-cvs-commit
mailing list