Update to 0.11

f38
Emmanuel Seyman 4 years ago
parent 5f24b6c187
commit a3f1d60a3c

1
.gitignore vendored

@ -2,3 +2,4 @@ CSS-Minifier-XS-0.04.tar.gz
CSS-Minifier-XS-0.07.tar.gz
/CSS-Minifier-XS-0.08.tar.gz
/CSS-Minifier-XS-0.09.tar.gz
/CSS-Minifier-XS-0.11.tar.gz

@ -1,12 +1,12 @@
Name: perl-CSS-Minifier-XS
Version: 0.09
Release: 22%{?dist}
Version: 0.11
Release: 1%{?dist}
# lib/CSS/Minifier/XS.pm -> GPL+ or Artistic
License: GPL+ or Artistic
Summary: XS based CSS minifier
Source: https://cpan.metacpan.org/authors/id/G/GT/GTERMARS/CSS-Minifier-XS-%{version}.tar.gz
Url: https://metacpan.org/release/CSS-Minifier-XS
Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
Requires: perl(:MODULE_COMPAT_%(eval "`/usr/bin/perl -V:version`"; echo $version))
BuildRequires: findutils
BuildRequires: make
@ -14,7 +14,7 @@ BuildRequires: gcc
BuildRequires: perl-devel
BuildRequires: perl-generators
BuildRequires: perl(CSS::Minifier)
BuildRequires: perl(ExtUtils::MakeMaker)
BuildRequires: perl(ExtUtils::MakeMaker) >= 6.76
BuildRequires: perl(Module::Build::Compat)
BuildRequires: perl(Test::More)
BuildRequires: perl(Test::Pod)
@ -34,27 +34,32 @@ in XS and not just pure Perl.
%setup -q -n CSS-Minifier-XS-%{version}
%build
%{__perl} Makefile.PL INSTALLDIRS=vendor OPTIMIZE="%{optflags}"
make %{?_smp_mflags}
/usr/bin/perl Makefile.PL INSTALLDIRS=vendor OPTIMIZE="%{optflags}" NO_PACKLIST=1 NO_PERLLOCAL=1
%{make_build}
%install
make pure_install DESTDIR=%{buildroot}
find %{buildroot} -type f -name .packlist -exec rm -f {} ';'
find %{buildroot} -type f -name '*.bs' -a -size 0 -exec rm -f {} ';'
find %{buildroot} -depth -type d -exec rmdir {} 2>/dev/null ';'
%{make_install}
%{_fixperms} %{buildroot}/*
%check
make test
%{make_build} test
%files
%doc Changes README
%license LICENSE
%{perl_vendorarch}/*
%exclude %dir %{perl_vendorarch}/auto
%{_mandir}/man3/*.3*
%changelog
* Sun Jan 03 2021 Emmanuel Seyman <emmanuel@seyman.fr> - 0.11-1
- Update to 0.11
- Replace calls to %%{__perl} with /usr/bin/perl
- Pass NO_PACKLIST and NO_PERLLOCAL to Makefile.PL
- Use %%{make_install} instead of "make pure_install"
- Use %%{make_install} instead of make
- Add %%license macro
* Tue Jul 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.09-22
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild

@ -1 +1 @@
583722bcd6175fcafaff63c769accc6f CSS-Minifier-XS-0.09.tar.gz
SHA512 (CSS-Minifier-XS-0.11.tar.gz) = deb3cb3b095c4f3266378b165b4879984dbfd3d251730d724e6343347866878884cab4bd16d1234489e8ac12d9dbcc2ed59f4cb7759a7775483f974efac89f99

Loading…
Cancel
Save