commit 1a6f58bd80cec751eaf7f918366583ecc44eb456 Author: Jitka Plesnikova <jplesnik@xxxxxxxxxx> Date: Tue Nov 25 09:21:15 2014 +0100 0.32 bump; Modernize spec file .gitignore | 1 + perl-Perl-Tags.spec | 54 ++++++++++++++++++++++++++++++++++----------------- sources | 2 +- 3 files changed, 38 insertions(+), 19 deletions(-) --- diff --git a/.gitignore b/.gitignore index 35deedd..39f357b 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1,2 @@ Perl-Tags-0.28.tar.gz +/Perl-Tags-0.32.tar.gz diff --git a/perl-Perl-Tags.spec b/perl-Perl-Tags.spec index cadc211..2d7b40d 100644 --- a/perl-Perl-Tags.spec +++ b/perl-Perl-Tags.spec @@ -1,24 +1,41 @@ Name: perl-Perl-Tags -Version: 0.28 -Release: 14%{?dist} +Version: 0.32 +Release: 1%{?dist} Summary: Generate Ctags style tags for Perl sourcecode License: (GPL+ or Artistic) or Vim Group: Development/Libraries URL: http://search.cpan.org/dist/Perl-Tags/ Source0: http://www.cpan.org/authors/id/O/OS/OSFAMERON/Perl-Tags-%{version}.tar.gz -BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildArch: noarch +BuildRequires: perl(base) +BuildRequires: perl(Capture::Tiny) +BuildRequires: perl(Carp) BuildRequires: perl(Data::Dumper) -BuildRequires: perl(ExtUtils::MakeMaker) -BuildRequires: perl(File::Find) +BuildRequires: perl(File::Copy) +BuildRequires: perl(File::Find::Rule) BuildRequires: perl(File::Spec) +BuildRequires: perl(File::Spec::Functions) BuildRequires: perl(File::Temp) +BuildRequires: perl(FindBin) +BuildRequires: perl(Getopt::Long) +BuildRequires: perl(inc::Module::Install) +BuildRequires: perl(lib) BuildRequires: perl(Module::Locate) +BuildRequires: perl(Moose) +BuildRequires: perl(Moose::Role) +BuildRequires: perl(overload) +BuildRequires: perl(parent) +BuildRequires: perl(Path::Tiny) BuildRequires: perl(PPI) +BuildRequires: perl(strict) +BuildRequires: perl(Test::Builder::Module) +BuildRequires: perl(Test::Exception) +BuildRequires: perl(Test::LongString) BuildRequires: perl(Test::More) >= 0.42 -BuildRequires: perl(Test::Pod) +BuildRequires: perl(Test::Strict) +BuildRequires: perl(warnings) BuildRequires: vim-enhanced -Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) +Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version)) %{?perl_default_filter} @@ -34,36 +51,37 @@ aware that this is alpha software and the internals are subject to change. %prep %setup -q -n Perl-Tags-%{version} +rm -r inc +sed -i -e '/^inc\// d' MANIFEST +find -type f -exec chmod -x {} + + %build -PERL5_CPANPLUS_IS_RUNNING=1 %{__perl} Makefile.PL INSTALLDIRS=vendor +PERL5_CPANPLUS_IS_RUNNING=1 perl Makefile.PL INSTALLDIRS=vendor make %{?_smp_mflags} %install -rm -rf $RPM_BUILD_ROOT - -make pure_install PERL_INSTALL_ROOT=$RPM_BUILD_ROOT - +make pure_install DESTDIR=$RPM_BUILD_ROOT find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} \; -find $RPM_BUILD_ROOT -depth -type d -exec rmdir {} 2>/dev/null \; - %{_fixperms} $RPM_BUILD_ROOT/* %check make test -%clean -rm -rf $RPM_BUILD_ROOT - %files -%defattr(-,root,root,-) %doc Changes README TODO %{perl_vendorlib}/* %{_bindir}/perl-tags +%{_bindir}/require-perl-tags +%{_bindir}/require-perl-tags-packed %{_mandir}/man1/* %{_mandir}/man3/* %changelog +* Mon Nov 24 2014 Jitka Plesnikova <jplesnik@xxxxxxxxxx> - 0.32-1 +- 0.32 bump, Update BRs +- Modernize spec file + * Fri Aug 29 2014 Jitka Plesnikova <jplesnik@xxxxxxxxxx> - 0.28-14 - Perl 5.20 rebuild diff --git a/sources b/sources index 018c584..810f7e5 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -c7db57564db56d3b77488dc0fc0ce7bd Perl-Tags-0.28.tar.gz +932784defc0460075130c42f48e5b198 Perl-Tags-0.32.tar.gz -- Fedora Extras Perl SIG http://www.fedoraproject.org/wiki/Extras/SIGs/Perl perl-devel mailing list perl-devel@xxxxxxxxxxxxxxxxxxxxxxx https://admin.fedoraproject.org/mailman/listinfo/perl-devel