[perl-Syntax-Highlight-Perl6] 0.86 bump

Petr Pisar ppisar at fedoraproject.org
Thu Sep 23 08:39:05 UTC 2010


commit a1438a5db33ea7b0c0a6e52f6ccdf04e40d1ef4c
Author: Petr Písař <ppisar at redhat.com>
Date:   Fri Sep 17 10:10:47 2010 +0200

    0.86 bump

 .gitignore                                         |    1 +
 ...ax-Highlight-Perl6-0.78-wrong_interpreter.patch |    8 ---
 ...hlight-Perl6-0.86-Install-script-hilitep6.patch |   24 +++++++++
 perl-Syntax-Highlight-Perl6.spec                   |   52 ++++++++++----------
 sources                                            |    2 +-
 5 files changed, 52 insertions(+), 35 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index 5a0b4dd..ed308e1 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1 +1,2 @@
 Syntax-Highlight-Perl6-0.78.tar.gz
+/Syntax-Highlight-Perl6-0.86.tar.gz
diff --git a/perl-Syntax-Highlight-Perl6-0.86-Install-script-hilitep6.patch b/perl-Syntax-Highlight-Perl6-0.86-Install-script-hilitep6.patch
new file mode 100644
index 0000000..08c639b
--- /dev/null
+++ b/perl-Syntax-Highlight-Perl6-0.86-Install-script-hilitep6.patch
@@ -0,0 +1,24 @@
+From 618d74b2ea103cb08852367eb4747136b53359f7 Mon Sep 17 00:00:00 2001
+From: test <test at fedora-14.(none)>
+Date: Tue, 21 Sep 2010 16:15:55 +0200
+Subject: [PATCH] Install script/hilitep6
+
+---
+ Build.PL |    1 +
+ 1 files changed, 1 insertions(+), 0 deletions(-)
+
+diff --git a/Build.PL b/Build.PL
+index 8a49d92..facd0b5 100644
+--- a/Build.PL
++++ b/Build.PL
+@@ -32,6 +32,7 @@ my $builder = $class->new(
+ 			repository => 'http://svn.perlide.org/padre/trunk/Syntax-Highlight-Perl6/',
+ 		},
+ 	},
++	'script_files' => [ 'script/hilitep6' ],
+ );
+ 
+ $builder->add_build_element('ansi');
+-- 
+1.7.3
+
diff --git a/perl-Syntax-Highlight-Perl6.spec b/perl-Syntax-Highlight-Perl6.spec
index 720cceb..79253cd 100644
--- a/perl-Syntax-Highlight-Perl6.spec
+++ b/perl-Syntax-Highlight-Perl6.spec
@@ -1,31 +1,29 @@
 Name:           perl-Syntax-Highlight-Perl6
-Version:        0.78
-Release:        3%{?dist}
+Version:        0.86
+Release:        1%{?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
-BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
-Patch0:         Syntax-Highlight-Perl6-0.78-wrong_interpreter.patch
+Patch0:         %{name}-0.86-Install-script-hilitep6.patch
 BuildArch:      noarch
-BuildRequires:  perl(ExtUtils::MakeMaker)
-BuildRequires:  perl(Moose) >= 0.89
+# perl(Module::Build) version 0.36 is just autogenerator noise
+BuildRequires:  perl(Module::Build)
+BuildRequires:  perl(STD) >= 32116
+BuildRequires:  perl(Term::ANSIColor) >= 2.00
 BuildRequires:  perl(Test::Exception) >= 0.27
 BuildRequires:  perl(Test::More) >= 0.86
-BuildRequires:  perl(YAML::XS) >= 0.32
-Requires:       perl(Moose) >= 0.89
-Requires:       perl(YAML::XS) >= 0.32
-Provides:       perl(STD) perl(mangle.pl)
+Requires:       perl(STD) >= 32116
 Requires:       perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
 
 %description
 Syntax::Highlight::Perl6 parses Perl 6 source code using an embedded
 STD.pm. It matches parse tree nodes to colors then returns them in
 different output formats. It can be used to create web pages with colorful
-source code samples in its simple and snippet html modes, or it can be used
+source code samples in its simple and snippet HTML modes, or it can be used
 as a learning tool in examining STD.pm's output using the JavaScript node
-viewer in its full html mode. Or you can use its parse tree Perl 5 records
+viewer in its full HTML mode. Or you can use its parse tree Perl 5 records
 to build your next great idea.
 
 %prep
@@ -33,34 +31,36 @@ to build your next great idea.
 %patch0 -p1
 
 %build
-%{__perl} Makefile.PL INSTALLDIRS=vendor
-make %{?_smp_mflags}
+%{__perl} Build.PL installdirs=core
+./Build
 
 %install
-rm -rf $RPM_BUILD_ROOT
-
-make pure_install DESTDIR=$RPM_BUILD_ROOT
-
-find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} \;
+./Build install destdir=$RPM_BUILD_ROOT create_packlist=0
 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
+./Build test
 
 %files
 %defattr(-,root,root,-)
 %doc Changes README
-%{perl_vendorlib}/*
-/usr/bin/hilitep6
-%{_mandir}/man1/hilitep6.*
+%{perl_privlib}/*
+%{_bindir}/*
+%{_mandir}/man1/*
 %{_mandir}/man3/*
 
 %changelog
+* Tue Sep 21 2010 Petr Pisar <ppisar at redhat.com> - 0.86-1
+- 0.86 bump
+- Move from ExtUtils::Maker to Module::Build
+- Remove useless wrong_interpreter patch
+- Move from vendor to core perl paths
+- Remove BuildRoot related code
+- Package not installed hilitep6 (upstream mistake? RT#61522)
+- Correct Summary spelling
+
 * Thu May 06 2010 Marcela Maslanova <mmaslano at redhat.com> - 0.78-3
 - Mass rebuild with perl-5.12.0
 
diff --git a/sources b/sources
index 74764bc..6a2ce41 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-10dec91d5a7bb1f1df32e9a87d31de94  Syntax-Highlight-Perl6-0.78.tar.gz
+3a92c0fc5b15aee4909e8097734330e2  Syntax-Highlight-Perl6-0.86.tar.gz


More information about the scm-commits mailing list