jplesnik pushed to perl-Syntax-Highlight-Perl6 (master). "Specified all BRs"

notifications at fedoraproject.org notifications at fedoraproject.org
Tue Jun 23 08:12:06 UTC 2015


From 9c305524a66899e8fd2cbf839af711eefce007e3 Mon Sep 17 00:00:00 2001
From: Jitka Plesnikova <jplesnik at redhat.com>
Date: Tue, 23 Jun 2015 10:11:53 +0200
Subject: Specified all BRs


diff --git a/perl-Syntax-Highlight-Perl6.spec b/perl-Syntax-Highlight-Perl6.spec
index a02cf75..413df92 100644
--- a/perl-Syntax-Highlight-Perl6.spec
+++ b/perl-Syntax-Highlight-Perl6.spec
@@ -1,21 +1,53 @@
 Name:           perl-Syntax-Highlight-Perl6
 Version:        0.88
-Release:        13%{?dist}
+Release:        14%{?dist}
 Summary:        Perl 6 Syntax Highlighter
 License:        (GPL+ or Artistic) and Artistic 2.0 and (MIT or GPLv2) 
 Group:          Development/Libraries
 URL:            http://search.cpan.org/dist/Syntax-Highlight-Perl6/
 Source0:        http://www.cpan.org/authors/id/A/AZ/AZAWAWI/Syntax-Highlight-Perl6-%{version}.tar.gz
 BuildArch:      noarch
-# perl(Module::Build) version 0.36 is just autogenerator noise
-BuildRequires:  perl(ExtUtils::MakeMaker) >= 0.36
+
+BuildRequires:  findutils
+BuildRequires:  make
+BuildRequires:  perl
+BuildRequires:  perl(ExtUtils::MakeMaker) >= 6.31
 BuildRequires:  perl(File::ShareDir::Install) >= 0.03
+BuildRequires:  perl(strict)
+BuildRequires:  perl(warnings)
+# Run-time
+BuildRequires:  perl(Carp)
+BuildRequires:  perl(Cwd)
+BuildRequires:  perl(Encode)
+BuildRequires:  perl(Exporter)
+BuildRequires:  perl(feature)
+BuildRequires:  perl(File::Basename)
+BuildRequires:  perl(File::ShareDir)
+BuildRequires:  perl(File::Spec)
+BuildRequires:  perl(File::Temp)
+BuildRequires:  perl(Getopt::Long)
+BuildRequires:  perl(IO::File)
+BuildRequires:  perl(open)
 BuildRequires:  perl(STD) >= 32116
 BuildRequires:  perl(Term::ANSIColor) >= 2.00
+BuildRequires:  perl(utf8)
+# Tests
+BuildRequires:  perl(Config)
+BuildRequires:  perl(English)
+BuildRequires:  perl(File::Find)
+BuildRequires:  perl(IPC::Open2)
 BuildRequires:  perl(Test::Exception) >= 0.27
 BuildRequires:  perl(Test::More) >= 0.86
+Requires:       perl(Encode)
+Requires:       perl(File::ShareDir)
+Requires:       perl(File::Temp)
+Requires:       perl(Getopt::Long)
+Requires:       perl(IO::File)
 Requires:       perl(STD) >= 32116
-Requires:       perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
+Requires:       perl(Term::ANSIColor)
+Requires:       perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
+
+%global __requires_exclude %{?__requires_exclude:%__requires_exclude|}^perl\\(STD\\)\s*$
 
 %description
 Syntax::Highlight::Perl6 parses Perl 6 source code using an embedded
@@ -30,20 +62,19 @@ to build your next great idea.
 %setup -q -n Syntax-Highlight-Perl6-%{version}
 
 %build
-CFLAGS="$RPM_OPT_FLAGS" %{__perl} Makefile.PL INSTALLDIRS=perl
+CFLAGS="$RPM_OPT_FLAGS" perl Makefile.PL INSTALLDIRS=perl
 make %{?_smp_mflags} OPTIMIZE="$RPM_OPT_FLAGS"
 
 %install
-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
 
 %files
-%defattr(-,root,root,-)
+%license LICENSE
 %doc Changes README
 %{perl_privlib}/*
 %{_bindir}/*
@@ -51,6 +82,9 @@ make test
 %{_mandir}/man3/*
 
 %changelog
+* Tue Jun 23 2015 Jitka Plesnikova <jplesnik at redhat.com> - 0.88-14
+- Specified all build-requires
+
 * Thu Jun 18 2015 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 0.88-13
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
 
-- 
cgit v0.10.2


	http://pkgs.fedoraproject.org/cgit/perl-Syntax-Highlight-Perl6.git/commit/?h=master&id=9c305524a66899e8fd2cbf839af711eefce007e3


More information about the perl-devel mailing list