From a94c96ef69e0bd7464b3f05003d40aa0fecfafc1 Mon Sep 17 00:00:00 2001
From: Jitka Plesnikova <jples...@redhat.com>
Date: Thu, 21 May 2015 11:23:13 +0200
Subject: 0.18 bump


diff --git a/.gitignore b/.gitignore
index 26c9e2b..8b54c0f 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,2 +1,3 @@
 JavaScript-Beautifier-0.13.tar.gz
 /JavaScript-Beautifier-0.17.tar.gz
+/JavaScript-Beautifier-0.18.tar.gz
diff --git a/perl-JavaScript-Beautifier.spec b/perl-JavaScript-Beautifier.spec
index de1f5dd..5931e90 100644
--- a/perl-JavaScript-Beautifier.spec
+++ b/perl-JavaScript-Beautifier.spec
@@ -1,19 +1,22 @@
 Name:           perl-JavaScript-Beautifier
-Version:        0.17
-Release:        13%{?dist}
+Version:        0.18
+Release:        1%{?dist}
 Summary:        Beautify Javascript (beautifier for javascript)
 License:        GPL+ or Artistic
 Group:          Development/Libraries
 URL:            http://search.cpan.org/dist/JavaScript-Beautifier/
 Source0:        
http://www.cpan.org/authors/id/F/FA/FAYLAND/JavaScript-Beautifier-%{version}.tar.gz
-BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 BuildArch:      noarch
-BuildRequires:  perl(IO::File)
+BuildRequires:  perl(base)
+BuildRequires:  perl(Exporter)
 BuildRequires:  perl(Module::Build) >= 0.35
+BuildRequires:  perl(strict)
 BuildRequires:  perl(Test::More) >= 0.88
 BuildRequires:  perl(Test::Pod) >= 1.22
+BuildRequires:  perl(vars)
+BuildRequires:  perl(warnings)
 BuildRequires:  dos2unix
-Requires:       perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo 
$version))
+Requires:       perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
 
 %description
 This module is mostly a Perl-rewrite of
@@ -25,25 +28,17 @@ dos2unix Changes
 dos2unix README
 
 %build
-%{__perl} Build.PL installdirs=vendor
+perl Build.PL installdirs=vendor
 ./Build
 
 %install
-rm -rf $RPM_BUILD_ROOT
-
 ./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
 ./Build test
 
-%clean
-rm -rf $RPM_BUILD_ROOT
-
 %files
-%defattr(-,root,root,-)
 %doc Changes README
 %{perl_vendorlib}/*
 %{_bindir}/js_beautify.pl
@@ -51,6 +46,9 @@ rm -rf $RPM_BUILD_ROOT
 %{_mandir}/man3/*
 
 %changelog
+* Thu May 21 2015 Jitka Plesnikova <jples...@redhat.com> - 0.18-1
+- 0.18 bump
+
 * Wed Aug 27 2014 Jitka Plesnikova <jples...@redhat.com> - 0.17-13
 - Perl 5.20 rebuild
 
diff --git a/sources b/sources
index becd704..e4a3db8 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-41ebb4484d71a1971f0d9f5ac3d9b4ba  JavaScript-Beautifier-0.17.tar.gz
+25f6d767d401036a3cb841b3597fa24d  JavaScript-Beautifier-0.18.tar.gz
-- 
cgit v0.10.2


        
http://pkgs.fedoraproject.org/cgit/perl-JavaScript-Beautifier.git/commit/?h=master&id=a94c96ef69e0bd7464b3f05003d40aa0fecfafc1
--
Fedora Extras Perl SIG
http://www.fedoraproject.org/wiki/Extras/SIGs/Perl
perl-devel mailing list
perl-devel@lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/perl-devel

Reply via email to