Update to 2.13

f38
Emmanuel Seyman 4 years ago
parent 022f6be118
commit d8cef6ac43

1
.gitignore vendored

@ -35,3 +35,4 @@
/Mojolicious-Plugin-AssetPack-2.09.tar.gz
/Mojolicious-Plugin-AssetPack-2.10.tar.gz
/Mojolicious-Plugin-AssetPack-2.11.tar.gz
/Mojolicious-Plugin-AssetPack-2.13.tar.gz

@ -1,15 +1,16 @@
Name: perl-Mojolicious-Plugin-AssetPack
Version: 2.11
Version: 2.13
Release: 1%{?dist}
Summary: Compress and convert CSS, Less, Sass, JavaScript and CoffeeScript files
License: Artistic 2.0
URL: https://metacpan.org/release/Mojolicious-Plugin-AssetPack
Source0: https://cpan.metacpan.org/authors/id/J/JH/JHTHORSEN/Mojolicious-Plugin-AssetPack-%{version}.tar.gz
Source0: https://cpan.metacpan.org/authors/id/S/SR/SRI/Mojolicious-Plugin-AssetPack-%{version}.tar.gz
BuildArch: noarch
BuildRequires: coffee-script
BuildRequires: make
BuildRequires: sed
BuildRequires: perl-interpreter
BuildRequires: perl-generators
BuildRequires: perl(constant)
@ -61,9 +62,9 @@ meaning you can save bandwidth and browser parsing time.
%prep
%setup -q -n Mojolicious-Plugin-AssetPack-%{version}
for PL in not-found.pl sprites.pl rollup.pl; do
sed -i -e '1s,#!.*perl,#!/usr/bin/perl,' examples/"$PL"
/usr/bin/sed -i -e '1s,#!.*perl,#!/usr/bin/perl,' examples/"$PL"
done
sed -i -e '1s,#!.*node,,' lib/Mojolicious/Plugin/AssetPack/Pipe/*.js
/usr/bin/sed -i -e '1s,#!.*node,,' lib/Mojolicious/Plugin/AssetPack/Pipe/*.js
%build
/usr/bin/perl Makefile.PL INSTALLDIRS=vendor NO_PACKLIST=1 NO_PERLLOCAL=1
@ -82,6 +83,9 @@ sed -i -e '1s,#!.*node,,' lib/Mojolicious/Plugin/AssetPack/Pipe/*.js
%{_mandir}/man3/Mojolicious*
%changelog
* Sun Mar 21 2021 Emmanuel Seyman <emmanuel@seyman.fr> - 2.13-1
- Update to 2.13
* Sun Feb 21 2021 Emmanuel Seyman <emmanuel@seyman.fr> - 2.11-1
- Update to 2.11

@ -1 +1 @@
SHA512 (Mojolicious-Plugin-AssetPack-2.11.tar.gz) = 738353141fbc07318318d15f989fb2c4b7a30a8c68955dea5c40dd2b4573aa1aeb5a8efb2141200734a17193e89239f64589ba8a047e2ed4d362f9100725b6ad
SHA512 (Mojolicious-Plugin-AssetPack-2.13.tar.gz) = 454b3e697ef8889b01cdd9225559a8f376ee14bbde130b37b927bb771d2488aa7deeb47bf498d3b7a0d9d8d227f6a522ad1d10d417bdbc3acbcf813052475fb5

Loading…
Cancel
Save