forked from pool/perl-JavaScript-Minifier-XS
- updated to 0.11
- RT #58416; don't segfault when trying to minify non-javascript 0.10 Mon Jan 26 22:46 PST 2015 - RT #64948; allow builds on older versions of Perl. Thanks to Michael Robinton and Ruslan Zakirov. - Lowered minimum Perl version to v5.6.0, as detected by Perl::MinimumVersion. - RT #51008; allow for minification of JS code that returns regexps from functions. Thanks to James Barton, Robert Krimen, and Randy Stauner. - Added "xt/test-compile.t" to test minification against a wider range of JS. While not a 100% guarantee that the JS still works, it does provide a wider range of JS to test against. OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-JavaScript-Minifier-XS?expand=0&rev=2
This commit is contained in:
committed by
Git OBS Bridge
parent
e5dc4740a7
commit
e8c09532a4
@@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package perl-JavaScript-Minifier-XS (Version 0.09)
|
||||
# spec file for package perl-JavaScript-Minifier-XS
|
||||
#
|
||||
# Copyright (c) 2011 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
||||
# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany.
|
||||
#
|
||||
# All modifications and additions to the file contributed by third parties
|
||||
# remain the property of their copyright owners, unless otherwise agreed
|
||||
@@ -15,19 +15,21 @@
|
||||
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
||||
#
|
||||
|
||||
|
||||
Name: perl-JavaScript-Minifier-XS
|
||||
Version: 0.09
|
||||
Release: 1
|
||||
License: GPL+ or Artistic
|
||||
Version: 0.11
|
||||
Release: 0
|
||||
%define cpan_name JavaScript-Minifier-XS
|
||||
Summary: XS based JavaScript minifier
|
||||
Url: http://search.cpan.org/dist/JavaScript-Minifier-XS/
|
||||
License: Artistic-1.0 or GPL-1.0+
|
||||
Group: Development/Libraries/Perl
|
||||
Url: http://search.cpan.org/dist/JavaScript-Minifier-XS/
|
||||
Source: http://www.cpan.org/authors/id/G/GT/GTERMARS/%{cpan_name}-%{version}.tar.gz
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
BuildRequires: perl
|
||||
BuildRequires: perl-macros
|
||||
BuildRequires: perl(Module::Build)
|
||||
BuildRequires: perl(ExtUtils::CBuilder)
|
||||
BuildRequires: perl(Module::Build) >= 0.42
|
||||
%{perl_requires}
|
||||
|
||||
%description
|
||||
@@ -53,11 +55,8 @@ and not just pure Perl.
|
||||
./Build install destdir=%{buildroot} create_packlist=0
|
||||
%perl_gen_filelist
|
||||
|
||||
%clean
|
||||
%{__rm} -rf %{buildroot}
|
||||
|
||||
%files -f %{name}.files
|
||||
%defattr(-,root,root,755)
|
||||
%doc Changes README
|
||||
%doc Changes README xt
|
||||
|
||||
%changelog
|
||||
|
Reference in New Issue
Block a user