parent
0892b9cfa1
commit
c87c74a8d4
@ -0,0 +1 @@
|
||||
/Perl-Tidy-Sweetened-1.05.tar.gz
|
@ -0,0 +1,51 @@
|
||||
Name: perl-Perl-Tidy-Sweetened
|
||||
Version: 1.05
|
||||
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
|
||||
%doc Changes README TODO
|
||||
%{_bindir}/*
|
||||
%{perl_vendorlib}/*
|
||||
%{_mandir}/man1/*
|
||||
%{_mandir}/man3/*
|
||||
|
||||
%changelog
|
||||
* Fri Nov 27 2015 Jitka Plesnikova <jplesnik@redhat.com> - 1.05-1
|
||||
- Initial release
|
Loading…
Reference in new issue