|
|
|
@ -1,11 +1,11 @@
|
|
|
|
|
Name: perl-JavaScript-Minifier-XS
|
|
|
|
|
Version: 0.05
|
|
|
|
|
Release: 3%{?dist}
|
|
|
|
|
Version: 0.06
|
|
|
|
|
Release: 1%{?dist}
|
|
|
|
|
Summary: XS based JavaScript minifier
|
|
|
|
|
License: GPL+ or Artistic
|
|
|
|
|
Group: Development/Libraries
|
|
|
|
|
URL: http://search.cpan.org/dist/JavaScript-Minifier-XS/
|
|
|
|
|
Source0: http://www.cpan.org/authors/id/G/GT/GTERMARS/JavaScript-Minifier-XS-%{version}.tar.gz
|
|
|
|
|
Source0: http://search.cpan.org/CPAN/authors/id/G/GT/GTERMARS/JavaScript-Minifier-XS-%{version}.tar.gz
|
|
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
|
|
|
|
BuildRequires: perl(Module::Build)
|
|
|
|
|
BuildRequires: perl(Test::More)
|
|
|
|
@ -13,14 +13,10 @@ BuildRequires: perl(JavaScript::Minifier)
|
|
|
|
|
BuildRequires: perl(Test::Pod)
|
|
|
|
|
Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
|
|
|
|
|
|
|
|
|
|
# don't "provide" private Perl libs
|
|
|
|
|
%global _use_internal_dependency_generator 0
|
|
|
|
|
%global __deploop() while read FILE; do /usr/lib/rpm/rpmdeps -%{1} ${FILE}; done | /bin/sort -u
|
|
|
|
|
%global __find_provides /bin/sh -c "%{__grep} -v '%{perl_vendorarch}/.*\\.so$' | %{__deploop P}"
|
|
|
|
|
%global __find_requires /bin/sh -c "%{__deploop R}"
|
|
|
|
|
%{?perl_default_filter}
|
|
|
|
|
|
|
|
|
|
%description
|
|
|
|
|
JavaScript::Minifier::XS is a JavaScript "minifier"; its designed
|
|
|
|
|
JavaScript::Minifier::XS is a JavaScript "minifier"; it's designed
|
|
|
|
|
to remove un-necessary whitespace and comments from JavaScript
|
|
|
|
|
files without breaking the JavaScript.
|
|
|
|
|
|
|
|
|
@ -54,6 +50,10 @@ rm -rf $RPM_BUILD_ROOT
|
|
|
|
|
%{_mandir}/man3/*
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
|
* Sun Sep 27 2009 Chris Weyl <cweyl@alumni.drew.edu> 0.06-1
|
|
|
|
|
- update filtering
|
|
|
|
|
- auto-update to 0.06 (by cpan-spec-update 0.01)
|
|
|
|
|
|
|
|
|
|
* Sun Jul 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.05-3
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|