|
|
|
@ -1,15 +1,15 @@
|
|
|
|
|
Name: perl-CSS-Minifier-XS
|
|
|
|
|
Version: 0.07
|
|
|
|
|
Release: 4%{?dist}
|
|
|
|
|
Version: 0.08
|
|
|
|
|
Release: 1%{?dist}
|
|
|
|
|
# lib/CSS/Minifier/XS.pm -> GPL+ or Artistic
|
|
|
|
|
License: GPL+ or Artistic
|
|
|
|
|
Group: Development/Libraries
|
|
|
|
|
Summary: XS based CSS minifier
|
|
|
|
|
Source: http://search.cpan.org/CPAN/authors/id/G/GT/GTERMARS/CSS-Minifier-XS-%{version}.tar.gz
|
|
|
|
|
Url: http://search.cpan.org/dist/CSS-Minifier-XS
|
|
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
|
|
|
|
Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
|
|
|
|
|
|
|
|
|
|
BuildRequires: perl(CSS::Minifier)
|
|
|
|
|
BuildRequires: perl(ExtUtils::MakeMaker)
|
|
|
|
|
BuildRequires: perl(Module::Build::Compat)
|
|
|
|
|
BuildRequires: perl(Test::More)
|
|
|
|
@ -34,8 +34,6 @@ not just pure Perl.
|
|
|
|
|
make %{?_smp_mflags}
|
|
|
|
|
|
|
|
|
|
%install
|
|
|
|
|
rm -rf %{buildroot}
|
|
|
|
|
|
|
|
|
|
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 {} ';'
|
|
|
|
@ -46,17 +44,17 @@ find %{buildroot} -depth -type d -exec rmdir {} 2>/dev/null ';'
|
|
|
|
|
%check
|
|
|
|
|
make test
|
|
|
|
|
|
|
|
|
|
%clean
|
|
|
|
|
rm -rf %{buildroot}
|
|
|
|
|
|
|
|
|
|
%files
|
|
|
|
|
%defattr(-,root,root,-)
|
|
|
|
|
%doc Changes README
|
|
|
|
|
%{perl_vendorarch}/*
|
|
|
|
|
%exclude %dir %{perl_vendorarch}/auto
|
|
|
|
|
%{_mandir}/man3/*.3*
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
|
* Sun Oct 02 2011 Iain Arnell <iarnell@gmail.com> 0.08-1
|
|
|
|
|
- update to latest upstream version
|
|
|
|
|
- clean up spec for modern rpmbuild
|
|
|
|
|
|
|
|
|
|
* Mon Jun 20 2011 Marcela Mašláňová <mmaslano@redhat.com> - 0.07-4
|
|
|
|
|
- Perl mass rebuild
|
|
|
|
|
|
|
|
|
|