|
|
@ -1,5 +1,5 @@
|
|
|
|
Name: perl-Mojolicious-Plugin-AssetPack
|
|
|
|
Name: perl-Mojolicious-Plugin-AssetPack
|
|
|
|
Version: 2.04
|
|
|
|
Version: 2.05
|
|
|
|
Release: 1%{?dist}
|
|
|
|
Release: 1%{?dist}
|
|
|
|
Summary: Compress and convert CSS, Less, Sass, JavaScript and CoffeeScript files
|
|
|
|
Summary: Compress and convert CSS, Less, Sass, JavaScript and CoffeeScript files
|
|
|
|
License: Artistic 2.0
|
|
|
|
License: Artistic 2.0
|
|
|
@ -49,9 +49,6 @@ Requires: perl(Imager::File::PNG)
|
|
|
|
Requires: perl(Mojo::UserAgent)
|
|
|
|
Requires: perl(Mojo::UserAgent)
|
|
|
|
Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
|
|
|
|
Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
|
|
|
|
|
|
|
|
|
|
|
|
# Module no longer works with AssetPack 1.x and is deprecated
|
|
|
|
|
|
|
|
Obsoletes: perl-Mojolicious-Plugin-Bootstrap3 < 3.3602
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%{?perl_default_filter}
|
|
|
|
%{?perl_default_filter}
|
|
|
|
|
|
|
|
|
|
|
|
%description
|
|
|
|
%description
|
|
|
@ -64,7 +61,7 @@ meaning you can save bandwidth and browser parsing time.
|
|
|
|
|
|
|
|
|
|
|
|
%prep
|
|
|
|
%prep
|
|
|
|
%setup -q -n Mojolicious-Plugin-AssetPack-%{version}
|
|
|
|
%setup -q -n Mojolicious-Plugin-AssetPack-%{version}
|
|
|
|
for PL in sprites.pl rollup.pl; do
|
|
|
|
for PL in not-found.pl sprites.pl rollup.pl; do
|
|
|
|
sed -i -e '1s,#!.*perl,#!%{__perl},' examples/"$PL"
|
|
|
|
sed -i -e '1s,#!.*perl,#!%{__perl},' examples/"$PL"
|
|
|
|
done
|
|
|
|
done
|
|
|
|
sed -i -e '1s,#!.*node,,' lib/Mojolicious/Plugin/AssetPack/Pipe/*.js
|
|
|
|
sed -i -e '1s,#!.*node,,' lib/Mojolicious/Plugin/AssetPack/Pipe/*.js
|
|
|
@ -86,6 +83,10 @@ make test
|
|
|
|
%{_mandir}/man3/Mojolicious*
|
|
|
|
%{_mandir}/man3/Mojolicious*
|
|
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
%changelog
|
|
|
|
|
|
|
|
* Sun Aug 05 2018 Emmanuel Seyman <emmanuel@seyman.fr> - 2.05-1
|
|
|
|
|
|
|
|
- Update to 2.05
|
|
|
|
|
|
|
|
- Remove no-longer-needed Obsoletes tag
|
|
|
|
|
|
|
|
|
|
|
|
* Sun Jul 29 2018 Emmanuel Seyman <emmanuel@seyman.fr> - 2.04-1
|
|
|
|
* Sun Jul 29 2018 Emmanuel Seyman <emmanuel@seyman.fr> - 2.04-1
|
|
|
|
- Update to 2.04
|
|
|
|
- Update to 2.04
|
|
|
|
|
|
|
|
|
|
|
|