[perl-Template-Plugin-JavaScript] update to 0.02

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



commit 668031f962430cea4aa0a34812581ed9645704b1
Author: Iain Arnell <iarnell@xxxxxxxxx>
Date:   Sat Jan 14 14:19:26 2012 +0100

    update to 0.02

 .gitignore                           |    1 +
 perl-Template-Plugin-JavaScript.spec |   30 +++++++++++++++---------------
 sources                              |    2 +-
 3 files changed, 17 insertions(+), 16 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index d1a3103..4417323 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1 +1,2 @@
 Template-Plugin-JavaScript-0.01.tar.gz
+/Template-Plugin-JavaScript-0.02.tar.gz
diff --git a/perl-Template-Plugin-JavaScript.spec b/perl-Template-Plugin-JavaScript.spec
index 9446ea5..91a6ee4 100644
--- a/perl-Template-Plugin-JavaScript.spec
+++ b/perl-Template-Plugin-JavaScript.spec
@@ -1,13 +1,12 @@
-Name:       perl-Template-Plugin-JavaScript 
-Version:    0.01 
-Release:    9%{?dist}
-# see lib/Template/Plugin/JavaScript.pm 
+Name:       perl-Template-Plugin-JavaScript
+Version:    0.02
+Release:    1%{?dist}
+# see lib/Template/Plugin/JavaScript.pm
 License:    GPL+ or Artistic
 Group:      Development/Libraries
-Summary:    Encodes text to be safe in JavaScript 
-Source:     http://search.cpan.org/CPAN/authors/id/M/MI/MIYAGAWA/Template-Plugin-JavaScript-%{version}.tar.gz 
+Summary:    Encodes text to be safe in JavaScript
+Source:     http://search.cpan.org/CPAN/authors/id/M/MI/MIYAGAWA/Template-Plugin-JavaScript-%{version}.tar.gz
 Url:        http://search.cpan.org/dist/Template-Plugin-JavaScript
-BuildRoot:  %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) 
 Requires:   perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
 BuildArch:  noarch
 
@@ -15,6 +14,8 @@ BuildRequires: perl(ExtUtils::MakeMaker)
 BuildRequires: perl(Template::Plugin)
 BuildRequires: perl(Test::More) >= 0.32
 
+%?perl_default_filter
+
 %description
 Template::Plugin::JavaScript is a TT filter that filters text so it can
 be safely used in JavaScript quotes. e.g:
@@ -34,9 +35,7 @@ will become:
 make %{?_smp_mflags}
 
 %install
-rm -rf %{buildroot}
-
-make pure_install PERL_INSTALL_ROOT=%{buildroot}
+make pure_install DESTDIR=%{buildroot}
 find %{buildroot} -type f -name .packlist -exec rm -f {} ';'
 find %{buildroot} -depth -type d -exec rmdir {} 2>/dev/null ';'
 
@@ -45,16 +44,17 @@ find %{buildroot} -depth -type d -exec rmdir {} 2>/dev/null ';'
 %check
 make test
 
-%clean
-rm -rf %{buildroot} 
-
 %files
-%defattr(-,root,root,-)
-%doc Changes 
+%doc Changes
 %{perl_vendorlib}/*
 %{_mandir}/man3/*.3*
 
 %changelog
+* Sat Jan 14 2012 Iain Arnell <iarnell@xxxxxxxxx> 0.02-1
+- update to latest upstream version
+- clean up spec for modern rpmbuild
+- use perl_default_filter and DESTDIR
+
 * Fri Jan 13 2012 Fedora Release Engineering <rel-eng@xxxxxxxxxxxxxxxxxxxxxxx> - 0.01-9
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
 
diff --git a/sources b/sources
index c5c44c9..130e183 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-c8e648779bfda5b0bdd68eef9729d06c  Template-Plugin-JavaScript-0.01.tar.gz
+1e640dc8829a6026bf674b166855b189  Template-Plugin-JavaScript-0.02.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



[Index of Archives]     [Fedora Announce]     [Fedora Kernel]     [Fedora Testing]     [Fedora Legacy Announce]     [Fedora PHP Devel]     [Kernel Devel]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Big List of Linux Books]     [Gimp]     [Yosemite Information]
  Powered by Linux