Blame perl-Perl-Tidy-Sweetened.spec

c87c74a
Name:           perl-Perl-Tidy-Sweetened
35c969d
Version:        1.11
1013a3c
Release:        1%{?dist}
c87c74a
Summary:        Tweaks to Perl::Tidy to support some syntactic sugar
c87c74a
License:        GPL+ or Artistic
c87c74a
URL:            http://search.cpan.org/dist/Perl-Tidy-Sweetened/
c87c74a
Source0:        http://www.cpan.org/authors/id/M/MG/MGRIMES/Perl-Tidy-Sweetened-%{version}.tar.gz
c87c74a
BuildArch:      noarch
c87c74a
BuildRequires:  perl
35c969d
BuildRequires:  perl-generators
1013a3c
BuildRequires:  perl(Module::Build::Tiny) >= 0.034
c87c74a
# Run-time
1013a3c
BuildRequires:  perl(base)
c87c74a
BuildRequires:  perl(Carp)
c87c74a
BuildRequires:  perl(Perl::Tidy)
c87c74a
BuildRequires:  perl(strict)
c87c74a
BuildRequires:  perl(warnings)
c87c74a
# Tests
1013a3c
BuildRequires:  perl(Exporter)
c87c74a
BuildRequires:  perl(lib)
1013a3c
BuildRequires:  perl(Test::More)
c87c74a
BuildRequires:  perl(Test::Most)
c87c74a
Requires:       perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
c87c74a
c87c74a
%description
c87c74a
There are a number of modules on CPAN that allow users to write their
c87c74a
classes with a more "modern" syntax. These tools eliminate the need to
c87c74a
shift off $self, can support type checking and offer other improvements.
c87c74a
Unfortunately, they can break the support tools that the Perl community has
c87c74a
come to rely on. This module attempts to work around those issues.
c87c74a
c87c74a
%prep
c87c74a
%setup -q -n Perl-Tidy-Sweetened-%{version}
c87c74a
c87c74a
%build
1013a3c
perl Build.PL --installdirs=vendor
c87c74a
./Build
c87c74a
c87c74a
%install
1013a3c
./Build install --destdir=$RPM_BUILD_ROOT --create_packlist=0
c87c74a
%{_fixperms} $RPM_BUILD_ROOT/*
c87c74a
c87c74a
%check
c87c74a
./Build test
c87c74a
c87c74a
%files
f201659
%license LICENSE
1013a3c
%doc Changes TODO
c87c74a
%{_bindir}/*
c87c74a
%{perl_vendorlib}/*
c87c74a
%{_mandir}/man1/*
c87c74a
%{_mandir}/man3/*
c87c74a
c87c74a
%changelog
35c969d
* Mon Apr 18 2016 Jitka Plesnikova <jplesnik@redhat.com> - 1.11-1
35c969d
- 1.11 bump
35c969d
1013a3c
* Mon Mar 14 2016 Jitka Plesnikova <jplesnik@redhat.com> - 1.10-1
1013a3c
- 1.10 bump
1013a3c
884514c
* Fri Mar 11 2016 Jitka Plesnikova <jplesnik@redhat.com> - 1.07-3
884514c
- Fix test to work against perltidy-20160302 (bug #1314800)
884514c
706a9d1
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 1.07-2
706a9d1
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
706a9d1
f201659
* Thu Jan 28 2016 Jitka Plesnikova <jplesnik@redhat.com> - 1.07-1
f201659
- 1.07 bump
f201659
c87c74a
* Fri Nov 27 2015 Jitka Plesnikova <jplesnik@redhat.com> - 1.05-1
c87c74a
- Initial release