[perl-Syntax-Highlight-Perl6] 0.88 bump
Petr Pisar
ppisar at fedoraproject.org
Wed Oct 27 11:50:45 UTC 2010
commit 32fbea0f6fde726d8f3591c256b1cd66a84e5517
Author: Petr Písař <ppisar at redhat.com>
Date: Wed Oct 27 13:50:29 2010 +0200
0.88 bump
.gitignore | 1 +
perl-Syntax-Highlight-Perl6.spec | 19 ++++++++++++-------
sources | 2 +-
3 files changed, 14 insertions(+), 8 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index af72713..df96c9e 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,3 +1,4 @@
Syntax-Highlight-Perl6-0.78.tar.gz
/Syntax-Highlight-Perl6-0.86.tar.gz
/Syntax-Highlight-Perl6-0.87.tar.gz
+/Syntax-Highlight-Perl6-0.88.tar.gz
diff --git a/perl-Syntax-Highlight-Perl6.spec b/perl-Syntax-Highlight-Perl6.spec
index acd3522..6ca1bce 100644
--- a/perl-Syntax-Highlight-Perl6.spec
+++ b/perl-Syntax-Highlight-Perl6.spec
@@ -1,5 +1,5 @@
Name: perl-Syntax-Highlight-Perl6
-Version: 0.87
+Version: 0.88
Release: 1%{?dist}
Summary: Perl 6 Syntax Highlighter
License: (GPL+ or Artistic) and Artistic 2.0 and (MIT or GPLv2)
@@ -8,7 +8,8 @@ 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(Module::Build)
+BuildRequires: perl(ExtUtils::MakeMaker) >= 0.36
+BuildRequires: perl(File::ShareDir::Install) >= 0.03
BuildRequires: perl(STD) >= 32116
BuildRequires: perl(Term::ANSIColor) >= 2.00
BuildRequires: perl(Test::Exception) >= 0.27
@@ -29,17 +30,17 @@ to build your next great idea.
%setup -q -n Syntax-Highlight-Perl6-%{version}
%build
-%{__perl} Build.PL installdirs=core
-./Build
+CFLAGS="$RPM_OPT_FLAGS" %{__perl} Makefile.PL INSTALLDIRS=perl
+make %{?_smp_mflags} OPTIMIZE="$RPM_OPT_FLAGS"
%install
-./Build install destdir=$RPM_BUILD_ROOT create_packlist=0
+make pure_install PERL_INSTALL_ROOT=$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
-./Build test
+make test
%files
%defattr(-,root,root,-)
@@ -50,6 +51,10 @@ find $RPM_BUILD_ROOT -depth -type d -exec rmdir {} 2>/dev/null \;
%{_mandir}/man3/*
%changelog
+* Wed Oct 27 2010 Petr Pisar <ppisar at redhat.com> - 0.88-1
+- 0.88 bump
+- Move to ExtUtils::MakeMaker build system
+
* Mon Sep 27 2010 Petr Pisar <ppisar at redhat.com> - 0.87-1
- 0.87 bump (RT#61522)
diff --git a/sources b/sources
index 63190b7..05009da 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-445373f5805512c1643079ff84fd0fa6 Syntax-Highlight-Perl6-0.87.tar.gz
+26e236b18ab180763f07cb64d8765547 Syntax-Highlight-Perl6-0.88.tar.gz
More information about the scm-commits
mailing list