Name: perl-Perl-Tidy-Sweetened Version: 1.07 Release: 1%{?dist} Summary: Tweaks to Perl::Tidy to support some syntactic sugar License: GPL+ or Artistic URL: http://search.cpan.org/dist/Perl-Tidy-Sweetened/ Source0: http://www.cpan.org/authors/id/M/MG/MGRIMES/Perl-Tidy-Sweetened-%{version}.tar.gz BuildArch: noarch BuildRequires: perl BuildRequires: perl(Module::Build) # Run-time BuildRequires: perl(Carp) BuildRequires: perl(Perl::Tidy) BuildRequires: perl(strict) BuildRequires: perl(warnings) # Tests BuildRequires: perl(lib) BuildRequires: perl(Test::Most) Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version)) %description There are a number of modules on CPAN that allow users to write their classes with a more "modern" syntax. These tools eliminate the need to shift off $self, can support type checking and offer other improvements. Unfortunately, they can break the support tools that the Perl community has come to rely on. This module attempts to work around those issues. %prep %setup -q -n Perl-Tidy-Sweetened-%{version} %build perl Build.PL installdirs=vendor ./Build %install ./Build install destdir=$RPM_BUILD_ROOT create_packlist=0 %{_fixperms} $RPM_BUILD_ROOT/* %check ./Build test %files %license LICENSE %doc Changes README TODO %{_bindir}/* %{perl_vendorlib}/* %{_mandir}/man1/* %{_mandir}/man3/* %changelog * Thu Jan 28 2016 Jitka Plesnikova - 1.07-1 - 1.07 bump * Fri Nov 27 2015 Jitka Plesnikova - 1.05-1 - Initial release